Lines Matching +full:linux +full:- +full:format
8 # http://www.apache.org/licenses/LICENSE-2.0
34 # The format for the deps below is the following:
41 # root (to avoid ending up with buildtools/protobuf/protobuf-1.2.3/... and have
43 # |target_os| is either 'darwin', 'linux', 'windows' or 'all'
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/.
84 'https://storage.googleapis.com/perfetto/gn-mac-1968-0725d782',
89 'https://storage.googleapis.com/perfetto/gn-mac-arm64-1968-0725d782',
94 'https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782',
96 'linux', 'x64'),
99 'https://storage.googleapis.com/perfetto/gn-linux-arm64-1968-0725d782',
101 'linux', 'arm64'),
104 'https://storage.googleapis.com/perfetto/gn-win-1968-0725d782',
108 # clang-format
110 …//chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/mac/clang-format.arm64.sha1
112 'third_party/clang-format/clang-format',
113 … 'https://storage.googleapis.com/chromium-clang-format/5553d7a3d912b7d49381ad68c9a56740601a57a0',
117 …s://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/mac/clang-format.x64.sha1
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
125 'third_party/clang-format/clang-format',
126 … 'https://storage.googleapis.com/chromium-clang-format/1facab3101fc6da6b9467543f27f0622b966bc19',
128 'linux', 'x64'),
129 …s://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/win/clang-format.exe.sha1
131 'third_party/clang-format/clang-format.exe',
132 … 'https://storage.googleapis.com/chromium-clang-format/2e569921b9884daf157021d6ae9e21991cd6cf81',
139 …ps://chromium.googlesource.com/external/github.com/llvm/llvm-project/clang/tools/clang-format.git',
145 'https://storage.googleapis.com/perfetto/ninja-mac-x64_and_arm64-182',
150 'https://storage.googleapis.com/perfetto/ninja-linux64-182',
152 'linux', 'x64'),
155 'https://storage.googleapis.com/perfetto/ninja-win-182',
160 'https://storage.googleapis.com/perfetto/ninja-linux-arm64-1111',
162 'linux', 'arm64'),
168 …s://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-llvmorg-19-init-2941-g…
170 'linux', 'x64'),
173 …ttps://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-19-init-2941-ga0b…
198 # libc++, libc++abi and libunwind for Linux where we need to rebuild the C++
202 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git',
206 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git',
210 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git',
216 'https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git',
217 'debe7d2d1982e540fbd6bd78604bf001753f9e74', 'linux', 'all'),
225 # Libbacktrace, for stacktraces in Linux/Android debug builds.
229 …'https://storage.googleapis.com/perfetto/libbacktrace-14818b7783eeb9a56c3f0fca78cefd3143f8c5f6.zip…
240 'https://storage.googleapis.com/perfetto/sqlite-amalgamation-3440200.zip',
246 'c8f9803dc32bfee78a9ca2b1abbe39499729219b', # refs/tags/version-3.44.2.
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.
266 'buildtools/llvm-project.tgz',
267 …'https://storage.googleapis.com/perfetto/llvm-project-617a15a9eac96088ae5e9134248d8236e34b91b1.tgz…
272 Dependency('buildtools/android-core',
276 'buildtools/android-unwinding',
279 Dependency('buildtools/android-logging',
282 Dependency('buildtools/android-libbase',
286 'buildtools/android-libprocinfo',
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
328 'https://dl.google.com/android/repository/android-ndk-r26c-darwin.zip',
333 'https://dl.google.com/android/repository/android-ndk-r26c-linux.zip',
335 'linux', 'x64'),
342 'buildtools/aosp-arm.zip',
343 'https://storage.googleapis.com/perfetto/aosp-02022018-arm.zip',
347 # platform-tools.zip contains adb binaries.
349 'buildtools/android_sdk/platform-tools.zip',
350 'https://dl.google.com/android/repository/platform-tools_r26.0.0-darwin.zip',
354 'buildtools/android_sdk/platform-tools.zip',
355 'https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip',
357 'linux', 'x64'),
362 'https://android.googlesource.com/platform/prebuilts/android-emulator.git',
366 # This variable is updated by tools/roll-catapult-trace-viewer.
374 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/31859fc1fa0994a95f44f09c367d6ff63607cfde',
379 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/16dfd094763b71988933a31735f9dea966f9abd6',
384 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/ab9544e24e752d3d17f335fb7b2055062e582d11',
386 'linux', 'x64'),
389 'https://storage.googleapis.com/perfetto/emscripten-2.0.12-mac.tgz',
394 'https://storage.googleapis.com/perfetto/emscripten-2.0.12-linux.tgz',
396 'linux', 'x64'),
399 'https://storage.googleapis.com/perfetto/catapult_trace_viewer-%s.tar.gz'
403 'https://storage.googleapis.com/perfetto/typefaces-%s.tar.gz' %
408 'https://storage.googleapis.com/perfetto/pnpm-linux-arm64-8.6.3',
410 'linux', 'arm64'),
413 'https://storage.googleapis.com/perfetto/pnpm-linux-x64-8.6.3',
415 'linux', 'x64'),
418 'https://storage.googleapis.com/perfetto/pnpm-macos-arm64-8.6.3',
423 'https://storage.googleapis.com/perfetto/pnpm-macos-x64-8.6.3',
436 # Sysroots required to cross-compile Linux targets (linux-arm{,64}).
437 # These are taken from Chromium's build/linux/sysroot_scripts/sysroots.json.
440 'buildtools/debian_sid_arm-sysroot.tgz',
441 …'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/11d6f690ca49e8ba01a1d8c53…
443 'linux', 'all'),
445 'buildtools/debian_sid_arm64-sysroot.tgz',
446 …'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/2befe8ce3e88be6080e4fb7e6…
448 'linux', 'all'),
477 CheckCallRetry(['curl', '-L', '-#', '-o', out_file, url])
534 # Git creates read-only files on windows, which cause failures with rmtree.
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.
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',
666 help='Debian sysroots for target_os="linux" target_cpu="arm|arm64"')
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',
681 choices=['windows', 'darwin', 'linux'],
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)
773 tar_path = '{}.tar.tmp'.format(local_path)
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