• Home
  • Raw
  • Download

Lines Matching +full:linux +full:- +full:format

8 #      http://www.apache.org/licenses/LICENSE-2.0
33 # The format for the deps below is the following:
40 # root (to avoid ending up with buildtools/protobuf/protobuf-1.2.3/... and have
42 # |target_os| is either 'darwin', 'linux', 'windows' or 'all'
66 'buildtools/mac/clang-format',
69 'buildtools/linux64/clang-format',
72 'buildtools/win/clang-format.exe',
79 # GN. From https://chrome-infra-packages.appspot.com/dl/gn/gn/.
83 'https://storage.googleapis.com/perfetto/gn-mac-1968-0725d782',
88 'https://storage.googleapis.com/perfetto/gn-mac-arm64-1968-0725d782',
93 'https://storage.googleapis.com/perfetto/gn-linux64-1968-0725d782',
95 'linux', 'x64'),
98 'https://storage.googleapis.com/perfetto/gn-win-1968-0725d782',
102 # clang-format
103 …https://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/mac/clang-format.sha1
105 'third_party/clang-format/clang-format',
106 … 'https://storage.googleapis.com/chromium-clang-format/62bde1baa7196ad9df969fc1f06b66360b1a927b',
109 …s://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/linux64/clang-format.sha1
111 'third_party/clang-format/clang-format',
112 … 'https://storage.googleapis.com/chromium-clang-format/1baf0089e895c989a311b6a38ed94d0e8be4c0a7',
114 'linux', 'x64'),
115 …s://chromium.googlesource.com/chromium/src/buildtools/+/refs/heads/master/win/clang-format.exe.sha1
117 'third_party/clang-format/clang-format.exe',
118 … 'https://storage.googleapis.com/chromium-clang-format/d4afd4eba27022f5f6d518133aebde57281677c9',
125 'https://chromium.googlesource.com/chromium/llvm-project/cfe/tools/clang-format.git',
131 'https://storage.googleapis.com/perfetto/ninja-mac-x64_and_arm64-182',
136 'https://storage.googleapis.com/perfetto/ninja-linux64-182',
138 'linux', 'x64'),
141 'https://storage.googleapis.com/perfetto/ninja-win-182',
149 …s://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-llvmorg-16-init-8697-g…
151 'linux', 'x64'),
154 …ttps://commondatastorage.googleapis.com/chromium-browser-clang/Win/clang-llvmorg-16-init-8697-g608…
174 # libc++, libc++abi and libunwind for Linux where we need to rebuild the C++
178 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git',
182 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git',
186 'https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libunwind.git',
192 'https://chromium.googlesource.com/chromium/llvm-project/compiler-rt/lib/fuzzer.git',
193 'debe7d2d1982e540fbd6bd78604bf001753f9e74', 'linux', 'all'),
201 # Libbacktrace, for stacktraces in Linux/Android debug builds.
205 …'https://storage.googleapis.com/perfetto/libbacktrace-177940370e4a6b2509e92a0aaa9749184e64af43.zip…
216 'https://storage.googleapis.com/perfetto/sqlite-amalgamation-3390200.zip',
222 '202b2a7b54ea2dd13a8a5adfd75523abe4dcf17f', # refs/tags/version-3.39.2.
231 'https://chromium.googlesource.com/external/github.com/open-source-parsers/jsoncpp.git',
236 # Archive with only the demangling sources from llvm-project.
239 # sources, as hosted on https://llvm.googlesource.com/llvm-project.
242 'buildtools/llvm-project.tgz',
243 …'https://storage.googleapis.com/perfetto/llvm-project-3b4c59c156919902c785ce3cbae0eee2ee53064d.tgz…
248 Dependency('buildtools/android-core',
252 'buildtools/android-unwinding',
255 Dependency('buildtools/android-logging',
258 Dependency('buildtools/android-libbase',
262 'buildtools/android-libprocinfo',
288 …'https://storage.googleapis.com/perfetto/bloaty-1.1-b3b829de35babc2fe831b9488ad2e50bca939412-mac.z…
295 # - https://dl.google.com/android/repository/repository-11.xml
296 # - https://dl.google.com/android/repository/sys-img/android/sys-img.xml
301 'https://dl.google.com/android/repository/android-ndk-r21e-darwin-x86_64.zip',
306 'https://dl.google.com/android/repository/android-ndk-r21e-linux-x86_64.zip',
308 'linux', 'x64'),
315 'buildtools/aosp-arm.zip',
316 'https://storage.googleapis.com/perfetto/aosp-02022018-arm.zip',
320 # platform-tools.zip contains adb binaries.
322 'buildtools/android_sdk/platform-tools.zip',
323 'https://dl.google.com/android/repository/platform-tools_r26.0.0-darwin.zip',
327 'buildtools/android_sdk/platform-tools.zip',
328 'https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip',
330 'linux', 'x64'),
335 'https://android.googlesource.com/platform/prebuilts/android-emulator.git',
339 # This variable is updated by tools/roll-catapult-trace-viewer.
347 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/31859fc1fa0994a95f44f09c367d6ff63607cfde',
352 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/16dfd094763b71988933a31735f9dea966f9abd6',
357 … 'https://storage.googleapis.com/chromium-nodejs/16.13.0/ab9544e24e752d3d17f335fb7b2055062e582d11',
359 'linux', 'x64'),
362 'https://storage.googleapis.com/perfetto/emscripten-2.0.12-mac.tgz',
367 'https://storage.googleapis.com/perfetto/emscripten-2.0.12-linux.tgz',
369 'linux', 'x64'),
372 'https://storage.googleapis.com/perfetto/catapult_trace_viewer-%s.tar.gz'
376 'https://storage.googleapis.com/perfetto/typefaces-%s.tar.gz' %
388 # Sysroots required to cross-compile Linux targets (linux-arm{,64}).
389 # These are taken from Chromium's build/linux/sysroot_scripts/sysroots.json.
392 'buildtools/debian_sid_arm-sysroot.tgz',
393 …'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/11d6f690ca49e8ba01a1d8c53…
395 'linux', 'all'),
397 'buildtools/debian_sid_arm64-sysroot.tgz',
398 …'https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/2befe8ce3e88be6080e4fb7e6…
400 'linux', 'all'),
429 CheckCallRetry(['curl', '-L', '-#', '-o', out_file, url])
478 # Git creates read-only files on windows, which cause failures with rmtree.
494 # rm -rf / or similar.
516 CheckCallRetry(['git', 'fetch', '--quiet', '--depth', '1', git_url, revision],
518 subprocess.check_call(['git', 'checkout', revision, '--quiet'], cwd=path)
520 ['git', 'submodule', 'update', '--init', '--recursive', '--quiet'],
530 subprocess.check_call(['git', 'clean', '-qxffd', node_modules],
532 logging.info("Running `npm ci` in {0}".format(UI_DIR))
533 # `npm ci` is like `npm install` but respects package-lock.json.
538 pbjs = [node_bin, 'node_modules/.bin/pbjs', '/dev/null', '-o', '/dev/null']
541 f.write(HashLocalFile(os.path.join(UI_DIR, 'package-lock.json')))
545 """Returns True if the modules are up-to-date.
548 just check if package-lock.json changed since the last `npm install` call.
554 expected = HashLocalFile(os.path.join(UI_DIR, 'package-lock.json'))
562 logging.info('Downloading %s for %s-%s', dep.source_url, dep.target_os,
570 logging.fatal('SHA-256 mismatch for {} expected {} was {}'.format(
579 cmd = ['git', '-C', dt_dir, 'merge-base', '--is-ancestor', 'a0cf4321', 'HEAD']
584 print('git -C %s fetch origin && git -C %s checkout -B main -t origin/main' %
592 '--android',
596 '--linux-arm',
598 help='Debian sysroots for target_os="linux" target_cpu="arm|arm64"')
600 '--ui',
602 help='Node and NPM packages to Build the Web-based UI via ./ui/build')
604 '--grpc', action='store_true', help='Packages to build gRPC')
605 parser.add_argument('--check-only')
606 parser.add_argument('--filter', action='append')
607 parser.add_argument('--verify', help='Check all URLs', action='store_true')
609 '--no-toolchain', help='Do not download toolchain', action='store_true')
654 zip_target_dir = local_path[:-4] if is_zip else None
672 logging.fatal('SHA-256 mismatch for {} expected {} was {}'.format(
689 subprocess.check_call(['tar', '-oxf', local_path], cwd=zip_target_dir)
719 cur_python_interpreter, TEST_DATA_SCRIPT, 'status', '--quiet',
720 '--ignore-new'
728 [x for x in sys.argv[1:] if not x.startswith('--check-only')])
730 'Please run tools/install-build-deps %s\033[0m' % argz)
736 cmd = [cur_python_interpreter, TEST_DATA_SCRIPT, 'download', '--overwrite']
738 cmd += ['--verbose'] # For CI bots