Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Install CIPD ninja using DEPS #37375

Merged
merged 3 commits into from
Nov 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ docs/doxygen/
xcuserdata

third_party/gn/
third_party/ninja/ninja*

# Miscellaneous
*.class
Expand Down
9 changes: 9 additions & 0 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,15 @@ deps = {
],
'dep_type': 'cipd',
},
'src/flutter/third_party/ninja': {
'packages': [
{
'package': 'infra/3pp/tools/ninja/${{platform}}',
'version': 'version:[email protected]',
}
],
'dep_type': 'cipd',
},

'src/buildtools/emsdk': {
'url': Var('skia_git') + '/external/github.com/emscripten-core/emsdk.git' + '@' + 'fc645b7626ebf86530dbd82fbece74d457e7ae07',
Expand Down
2 changes: 1 addition & 1 deletion ci/licenses_golden/tool_signature
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Signature: fd17294a410a1a503ab9aa72a0797dbe
Signature: ae1981a94872d143d802356ab0f1a35e

17 changes: 17 additions & 0 deletions third_party/ninja/README.flutter
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Name: ninja
Short Name: ninja
URL: https://github.com/ninja-build/ninja
Revision: See the CIPD version in DEPS
License: Apache License 2.0
License File: https://github.com/ninja-build/ninja/blob/master/COPYING
Security Critical: no

Description:
Ninja is a small build system with a focus on speed, and is used to build
this project.

The CIPD packages are built using the 3pp pipeline.
https://chromium.googlesource.com/infra/infra/+/refs/heads/main/3pp/ninja/

Local Modifications:
None
5 changes: 3 additions & 2 deletions tools/licenses/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1021,9 +1021,10 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
return !entry.fullName.endsWith('third_party/gn') &&
!entry.fullName.endsWith('third_party/gradle') &&
!entry.fullName.endsWith('third_party/imgui') &&
!entry.fullName.endsWith('third_party/tinygltf') &&
!entry.fullName.endsWith('third_party/json/docs') &&
!entry.fullName.endsWith('third_party/json/LICENSES') &&
!entry.fullName.endsWith('third_party/json/docs') &&
!entry.fullName.endsWith('third_party/ninja') &&
!entry.fullName.endsWith('third_party/tinygltf') &&
entry.name != '.ccls-cache' &&
entry.name != '.cipd' &&
entry.name != '.git' &&
Expand Down