Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
Yun Liu f61399dad6 [code coverage] Only instrument Java class files related to affected source files for per-CL
Right now Java per-CL coverage instrument everything as full code base coverage.
To only instrument class files related to affected files in a CL, we can:
1. Extract class files only related to affected source files in a jar.
2. Instrument these extracted class files.
3. Extract unaffected members from original jar.
4. Zip everything out to output path.

Bug: 1001387
Change-Id: Iaf6a75c7f8005b5d64eee22bc604f25d0c2fcd8c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1797109
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Yun Liu <yliuyliu@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#697661}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c0f2f73bc76d220a37f98c6eb14f849980821842
2019-09-18 17:06:31 +00:00
android [code coverage] Only instrument Java class files related to affected source files for per-CL 2019-09-18 17:06:31 +00:00
args Disable PipeWire for default headless builds 2019-01-08 22:02:10 +00:00
chromeos chromeos: Add a doc for debugging test failures on Chrome OS. 2019-08-30 23:25:10 +00:00
cipd [android] Move CIPD dependencies into DEPS. (RELAND) 2018-03-24 00:23:27 +00:00
config [code coverage] Only instrument Java class files related to affected source files for per-CL 2019-09-18 17:06:31 +00:00
docs writing_gn_templates.md: target_gen_dir vs target_out_dir 2018-11-27 16:07:55 +00:00
fuchsia Roll Fuchsia SDK from 890216577663 to 890213388284 2019-09-16 22:13:27 +00:00
internal
ios
linux fix pylint warning of install-sysroot.py 2019-08-29 01:21:55 +00:00
mac Compile on macOS using binaries from Xcode, rather than a full install. 2019-07-17 21:47:00 +00:00
sanitizers [v8] Remove obsolete TSAN suppression for V8 zones. 2019-08-28 08:01:02 +00:00
toolchain Reland "win: Pass /libpath: on Windows too, and use /lldignoreenv to make lld ignore the %LIB% env var." 2019-09-18 11:08:21 +00:00
util mac: Make "gn gen" work in cross/win builds again after #687792. 2019-09-13 23:30:35 +00:00
win win/mac/ios: Don't copy asan runtime around in non-asan sanitizer builds. 2019-05-30 15:21:40 +00:00
.gitignore Ignore compiled Python files. 2018-08-27 17:55:15 +00:00
BUILD.gn Add BUILDFLAG(GOOGLE_CHROME_BRANDING) and start using it in a few places. 2019-07-29 17:30:40 +00:00
OWNERS Fix typos, clarify comment 2019-02-20 02:07:05 +00:00
OWNERS.status
README.md Clarify where to land //build changes 2019-01-09 02:56:30 +00:00
apply_locales.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
build-ctags.sh
build_config.h Support WebAssembly in build/build_config.h. 2019-08-27 03:36:10 +00:00
buildflag.h
buildflag_header.gni Fix build with BLINK_ANIMATION_USE_TIME_DELTA enabled 2019-08-14 08:02:13 +00:00
check_gn_headers.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
check_gn_headers_unittest.py
check_gn_headers_whitelist.txt service worker: Remove ServiceWorkerNavigationLoader's fallback case. 2019-07-10 00:37:59 +00:00
check_return_value.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
ciopfs.sha1 Download ciopfs from a hook in win/cross builds. 2018-02-01 20:36:45 +00:00
clobber.py Fix src/build/clobber.py 2018-04-09 15:32:48 +00:00
common.croc
compiled_action.gni Add nasm support to Chromium, use it for boringssl. 2018-11-08 01:27:52 +00:00
compute_build_timestamp.py Don't quantize build timestamps on official builds 2019-08-15 18:23:05 +00:00
copy_test_data_ios.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
cp.py
detect_host_arch.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
dir_exists.py
dotfile_settings.gni Move the "atspi2" target to a separate BUILD.gn file 2018-11-30 23:10:19 +00:00
download_nacl_toolchains.py Improve Python 3 support in build scripts 2019-03-19 15:04:20 +00:00
download_translation_unit_tool.py Modify download_translation_unit_tool.py to work on Windows. 2018-05-22 22:53:13 +00:00
env_dump.py
extract_from_cab.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
extract_partition.py Modules: Fix generation of partitioned feature libraries 2019-05-09 15:39:23 +00:00
find_depot_tools.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
find_isolated_tests.py
fix_gn_headers.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
gdb-add-index
get_landmines.py Improve Python 3 support in build scripts 2019-03-19 15:04:20 +00:00
gn_helpers.py Improve Python 3 support in build scripts 2019-03-19 15:04:20 +00:00
gn_helpers_unittest.py Make gn_helpers.py safely ignore comments. 2018-11-06 00:42:09 +00:00
gn_run_binary.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
install-build-deps-android.sh Remove support for Artful+add support for Disco+first code for Java 11 2019-04-24 21:40:17 +00:00
install-build-deps.sh Remove g++ and git-svn from install-build-deps.sh 2019-08-21 18:07:22 +00:00
install-chroot.sh
landmine_utils.py [build] Remove gyp usage from landmines script 2018-02-20 23:27:59 +00:00
landmines.py Make landmines.py Python 3-compatible 2019-08-08 19:58:25 +00:00
locale_tool.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
mac_toolchain.py Roll macOS Toolchain. 2019-09-03 19:30:08 +00:00
nocompile.gni Roll clang 365097:369647. 2019-08-22 19:07:46 +00:00
package_mac_toolchain.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
partitioned_shared_library.gni Roll clang 370156:371202. 2019-09-06 22:28:01 +00:00
precompile.cc
precompile.h
print_python_deps.py Reland "Allow .pydeps files to detect use of vpython" 2019-03-26 15:08:10 +00:00
protoc_java.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
protoc_java.pydeps android: build: Use .pydeps file to store Python dependencies. 2018-08-07 07:12:36 +00:00
redirect_stdout.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
rm.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
run_swarming_xcode_install.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
sample_arg_file.gn
sanitize-mac-build-log.sed
sanitize-mac-build-log.sh
sanitize-win-build-log.sed
sanitize-win-build-log.sh
shim_headers.gni
split_static_library.gni Don't use split_static_library when lld is used 2018-07-18 15:27:42 +00:00
swarming_xcode_install.py //build: Convert print statements to Python 3 style 2019-05-12 06:11:07 +00:00
symlink.gni
symlink.py Add Windows support to build/symlink.py 2019-02-06 22:57:24 +00:00
timestamp.gni Add arg to change script for computing build timestamp 2019-03-26 01:05:23 +00:00
tree_truth.sh
update-linux-sandbox.sh Fix build/update-linux-sandbox.sh with POSIX sh 2018-08-28 04:54:31 +00:00
vs_toolchain.py Start A List of Areas to Consider when Updating the Windows SDK 2019-08-14 16:48:41 +00:00
whitespace_file.txt First commit to test how it works 2019-07-24 10:26:55 +00:00
write_build_date_header.py Revert "win: Make chrome.7z generation more deterministic." 2018-11-05 12:14:55 +00:00
write_buildflag_header.py
xcode_binaries.yaml build: use copy mode for xcode_binaries cipd package 2019-08-30 14:45:54 +00:00

README.md

About

//build contains:

  • Core GN templates and configuration
  • Core Python build scripts

Since this directory is DEPS'ed in by some other repositories (webrtc, pdfium, v8, etc), it should be kept as self-contained as possible by not referring to files outside of it. Some exceptions exist (//testing, select //third_party subdirectories), but new dependencies tend to break these other projects, and so should be avoided.

Changes to //build should be landed in the Chromium repo. They will then be replicated to the stand-alone build repo by the gsubtreed tool.

Contents

  • //build/config - Common templates via .gni files.
  • //build/toolchain - GN toolchain definitions.
  • Other .py files - Some are used by GN/Ninja. Some by gclient hooks, some are just random utilities.

Files referenced by //.gn:

  • //build/BUILDCONFIG.gn - Included by all BUILD.gn files.
  • //build/secondary - An overlay for BUILD.gn files. Enables adding BUILD.gn to directories that live in sub-repositories.
  • //build_overrides - Refer to //build_overrides/README.md.

Docs