Lines Matching +full:dependency +full:- +full:check
8 # http://www.apache.org/licenses/LICENSE-2.0
41 # root (to avoid ending up with buildtools/protobuf/protobuf-1.2.3/... and have
49 class Dependency: class
67 'buildtools/mac/clang-format',
70 'buildtools/linux64/clang-format',
73 'buildtools/win/clang-format.exe',
80 # GN. From https://chrome-infra-packages.appspot.com/dl/gn/gn/.
82 Dependency(
84 'https://storage.googleapis.com/perfetto/gn-mac-1968-0725d782',
87 Dependency(
89 'https://storage.googleapis.com/perfetto/gn-mac-arm64-1968-0725d782',
92 Dependency(
94 'https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782',
97 Dependency(
99 'https://storage.googleapis.com/perfetto/gn-linux-arm64-1968-0725d782',
102 Dependency(
104 'https://storage.googleapis.com/perfetto/gn-win-1968-0725d782',
108 # clang-format
110 …# https://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/mac/clang-format.a…
111 Dependency(
112 'third_party/clang-format/clang-format',
113 … 'https://storage.googleapis.com/chromium-clang-format/5553d7a3d912b7d49381ad68c9a56740601a57a0',
117 …# https://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/mac/clang-format.x…
118 Dependency(
119 'third_party/clang-format/clang-format',
120 … 'https://storage.googleapis.com/chromium-clang-format/87d69aeff220c916b85b5d6d162fa5668aa9d64f',
123 …s://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/linux64/clang-format.sha1
124 Dependency(
125 'third_party/clang-format/clang-format',
126 … 'https://storage.googleapis.com/chromium-clang-format/1facab3101fc6da6b9467543f27f0622b966bc19',
129 …# From https://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/win/clang-for…
130 Dependency(
131 'third_party/clang-format/clang-format.exe',
132 … 'https://storage.googleapis.com/chromium-clang-format/2e569921b9884daf157021d6ae9e21991cd6cf81',
137 Dependency(
139 …'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.…
143 Dependency(
145 'https://storage.googleapis.com/perfetto/ninja-mac-x64_and_arm64-182',
148 Dependency(
150 'https://storage.googleapis.com/perfetto/ninja-linux64-182',
153 Dependency(
155 'https://storage.googleapis.com/perfetto/ninja-win-182',
158 Dependency(
160 'https://storage.googleapis.com/perfetto/ninja-linux-arm64-1111',
166 Dependency(
168 …s://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-llvmorg-19-init-2941-g…
171 Dependency(
173 …ttps://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-19-init-2941-ga0b…
180 Dependency(
186 Dependency(
200 Dependency(
202 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git',
204 Dependency(
206 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git',
208 Dependency(
210 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git',
214 Dependency(
216 'https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git',
220 Dependency(
227 Dependency(
229 …'https://storage.googleapis.com/perfetto/libbacktrace-14818b7783eeb9a56c3f0fca78cefd3143f8c5f6.zip…
238 Dependency(
240 'https://storage.googleapis.com/perfetto/sqlite-amalgamation-3440200.zip',
243 Dependency(
246 'c8f9803dc32bfee78a9ca2b1abbe39499729219b', # refs/tags/version-3.44.2.
253 Dependency(
255 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git',
260 # Archive with only the demangling sources from llvm-project.
263 # sources, as hosted on https://llvm.googlesource.com/llvm-project.
265 Dependency(
266 'buildtools/llvm-project.tgz',
267 …'https://storage.googleapis.com/perfetto/llvm-project-617a15a9eac96088ae5e9134248d8236e34b91b1.tgz…
272 Dependency('buildtools/android-core',
275 Dependency(
276 'buildtools/android-unwinding',
279 Dependency('buildtools/android-logging',
282 Dependency('buildtools/android-libbase',
285 Dependency(
286 'buildtools/android-libprocinfo',
289 Dependency('buildtools/lzma',
292 Dependency('buildtools/zstd',
295 Dependency('buildtools/bionic',
302 Dependency('buildtools/zlib',
308 Dependency('buildtools/linenoise',
313 Dependency(
315 …'https://storage.googleapis.com/perfetto/bloaty-1.1-b3b829de35babc2fe831b9488ad2e50bca939412-mac.z…
322 # - https://dl.google.com/android/repository/repository-11.xml
323 # - https://dl.google.com/android/repository/sys-img/android/sys-img.xml
326 Dependency(
328 'https://dl.google.com/android/repository/android-ndk-r26c-darwin.zip',
331 Dependency(
333 'https://dl.google.com/android/repository/android-ndk-r26c-linux.zip',
341 Dependency(
342 'buildtools/aosp-arm.zip',
343 'https://storage.googleapis.com/perfetto/aosp-02022018-arm.zip',
347 # platform-tools.zip contains adb binaries.
348 Dependency(
349 'buildtools/android_sdk/platform-tools.zip',
350 'https://dl.google.com/android/repository/platform-tools_r26.0.0-darwin.zip',
353 Dependency(
354 'buildtools/android_sdk/platform-tools.zip',
355 'https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip',
360 Dependency(
362 'https://android.googlesource.com/platform/prebuilts/android-emulator.git',
366 # This variable is updated by tools/roll-catapult-trace-viewer.
372 Dependency(
374 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/31859fc1fa0994a95f44f09c367d6ff63607cfde',
377 Dependency(
379 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/16dfd094763b71988933a31735f9dea966f9abd6',
382 Dependency(
384 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/ab9544e24e752d3d17f335fb7b2055062e582d11',
387 Dependency(
389 'https://storage.googleapis.com/perfetto/emscripten-2.0.12-mac.tgz',
392 Dependency(
394 'https://storage.googleapis.com/perfetto/emscripten-2.0.12-linux.tgz',
397 Dependency(
399 'https://storage.googleapis.com/perfetto/catapult_trace_viewer-%s.tar.gz'
401 Dependency(
403 'https://storage.googleapis.com/perfetto/typefaces-%s.tar.gz' %
406 Dependency(
408 'https://storage.googleapis.com/perfetto/pnpm-linux-arm64-8.6.3',
411 Dependency(
413 'https://storage.googleapis.com/perfetto/pnpm-linux-x64-8.6.3',
416 Dependency(
418 'https://storage.googleapis.com/perfetto/pnpm-macos-arm64-8.6.3',
421 Dependency(
423 'https://storage.googleapis.com/perfetto/pnpm-macos-x64-8.6.3',
430 Dependency(
436 # Sysroots required to cross-compile Linux targets (linux-arm{,64}).
439 Dependency(
440 'buildtools/debian_sid_arm-sysroot.tgz',
441 …'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/11d6f690ca49e8ba01a1d8c53…
444 Dependency(
445 'buildtools/debian_sid_arm64-sysroot.tgz',
446 …'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/2befe8ce3e88be6080e4fb7e6…
477 CheckCallRetry(['curl', '-L', '-#', '-o', out_file, url])
534 # Git creates read-only files on windows, which cause failures with rmtree.
549 # Safety check to prevent that some merge confilct ends up doing some
550 # rm -rf / or similar.
572 CheckCallRetry(['git', 'fetch', '--quiet', '--depth', '1', git_url, revision],
574 subprocess.check_call(['git', 'checkout', revision, '--quiet'], cwd=path)
576 ['git', 'submodule', 'update', '--init', '--recursive', '--quiet'],
586 subprocess.check_call(['git', 'clean', '-qxffd', node_modules],
588 logging.info("Running `pnpm install --shamefully-hoist --frozen-lockfile` in {0}".format(UI_DIR))
600 '--shamefully-hoist',
601 '--frozen-lockfile'],
606 pbjs = ['node_modules/.bin/pbjs', '/dev/null', '-o', '/dev/null']
609 f.write(HashLocalFile(os.path.join(UI_DIR, 'pnpm-lock.yaml')))
613 """Returns True if the modules are up-to-date.
615 There doesn't seem to be an easy way to check node modules versions. Instead
616 just check if pnpm-lock.json changed since the last `pnpm install` call.
622 expected = HashLocalFile(os.path.join(UI_DIR, 'pnpm-lock.yaml'))
630 logging.info('Downloading %s for %s-%s', dep.source_url, dep.target_os,
638 logging.fatal('SHA-256 mismatch for {} expected {} was {}'.format(
647 cmd = ['git', '-C', dt_dir, 'merge-base', '--is-ancestor', 'a0cf4321', 'HEAD']
652 print('git -C %s fetch origin && git -C %s checkout -B main -t origin/main' %
660 '--android',
664 '--linux-arm',
668 '--ui',
670 help='Node and NPM packages to Build the Web-based UI via ./ui/build')
672 '--grpc', action='store_true', help='Packages to build gRPC')
673 parser.add_argument('--check-only')
674 parser.add_argument('--filter', action='append')
675 parser.add_argument('--verify', help='Check all URLs', action='store_true')
677 '--no-toolchain', help='Do not download toolchain', action='store_true')
679 '--build-os',
684 '--build-arch',
750 logging.fatal('SHA-256 mismatch for {} expected {} was {}'.format(
767 subprocess.check_call(['tar', '-oxf', local_path], cwd=compressed_target_dir)
778 subprocess.check_call(['tar', '-oxf', tar_path], cwd=compressed_target_dir)
804 cur_python_interpreter, TEST_DATA_SCRIPT, 'status', '--quiet',
805 '--ignore-new'
813 [x for x in sys.argv[1:] if not x.startswith('--check-only')])
815 'Please run tools/install-build-deps %s\033[0m' % argz)
821 cmd = [cur_python_interpreter, TEST_DATA_SCRIPT, 'download', '--overwrite']
823 cmd += ['--verbose'] # For CI bots