Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
tsniatowski e9ad24f40f Fix a subtle proguard incremental build error
Prevent a confusing incremental build failure where proguard would
read and write to the same file accidentally, failing hard. Can
happen after switching the build from not using proguard, where the
output jar is a gn-copy hardlink to the input jar, to using proguard,
where the output is written to by a script reading from the input jar.

Fix by checking if the output is not a hardlink to the input in the
wrapper script.

NB. The build normally uses proguard on an apk, but makes it possible
to try and only proguard a single jar, and the bug potentially only
happens in this case.

Review-Url: https://codereview.chromium.org/2485663003
Cr-Original-Commit-Position: refs/heads/master@{#430890}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 20b2c575c5ca4b674de21261151af412e9959047
2016-11-09 08:24:48 +00:00
android Fix a subtle proguard incremental build error 2016-11-09 08:24:48 +00:00
args Refactor BlimpConnection to TCPConnection as we move from one TCP-based API to a new Stream-based API 2016-10-28 00:08:13 +00:00
config Remove is_debug from enable_webvr flag (N SDK is now available!) 2016-11-09 03:28:45 +00:00
experimental Linux: Add xcb to install-build-deps 2016-08-05 00:52:16 +00:00
git-hooks Silence git-hooks/pre-commit in the absence of .gitmodules (take 2). 2014-04-05 00:29:14 +00:00
internal Remove GYP files in breakpad, build, and tools. 2016-09-12 19:55:25 +00:00
ios Remove GYP files in breakpad, build, and tools. 2016-09-12 19:55:25 +00:00
linux Add gtk3 dev files to sysroot 2016-10-21 22:26:06 +00:00
mac Turn on hermetic toolchain for all corp machines. 2016-11-09 04:35:45 +00:00
sanitizers Remove GYP files in breakpad, build, and tools. 2016-09-12 19:55:25 +00:00
secondary Update Crashpad to b47bf6c250c6b825dee1c5fbad9152c2c962e828 2016-11-04 19:54:42 +00:00
slave build/slave/OWNERS: remove bevc and ilevy + update stip 2014-10-28 16:44:47 +00:00
toolchain Turn on hermetic toolchain for all corp machines. 2016-11-09 04:35:45 +00:00
util Fix up the Mac installer’s Info.plist, build with branding info 2016-09-22 20:46:03 +00:00
win Remove the syzygy optimization code. 2016-10-17 21:04:02 +00:00
OWNERS Add brucedawson to build\OWNERS 2016-04-04 18:41:29 +00:00
apply_locales.py Move apply_locales.py from src/chrome/tools/build/ to src/build/. 2010-03-09 02:00:21 +00:00
branding_value.sh Adding a general script to fetch values from the BRANDING files. 2009-05-19 14:10:09 +00:00
build-ctags.sh Change build-ctags.sh output file name from ".tags" to "tags" 2014-12-09 20:36:25 +00:00
build_config.h win: Don't define TOOLKIT_VIEWS in build_config.h 2016-11-04 21:18:07 +00:00
buildflag.h Tiny fix in buildflag.h comment 2016-03-31 21:02:11 +00:00
buildflag_header.gni Remove som GYP annotations, remove unused manifest. 2016-09-27 21:20:37 +00:00
check_return_value.py check_return_value.py should drop stderr of the command it runs. 2014-04-03 07:36:32 +00:00
clobber.py Fix clobber.py to restore args.gn on failure 2016-05-20 22:02:33 +00:00
common.croc Remove references to sconsbuild. 2013-10-12 02:38:29 +00:00
common.gypi Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
compiled_action.gni GN: forward_variables_from shouldn't clobber vars. 2016-05-03 01:09:10 +00:00
compiler_version.py Remove gcc_version from gyp and gn files. 2016-01-11 23:13:01 +00:00
copy_test_data_ios.py Fix handling of spaces with paths in copy_test_data.py 2012-11-09 18:04:50 +00:00
cp.py Normalize output path to cp.py 2013-04-30 01:57:11 +00:00
detect_host_arch.py PPC/s390: [sysroot installer] Disable for host arch PPC/s390 2016-09-30 02:15:07 +00:00
dir_exists.py gyp performance: don't invoke python to check dir existance 2014-04-16 21:52:49 +00:00
download_gold_plugin.py Remove stderr redirect hack from build/download_gold_plugin.py. 2016-05-31 21:14:07 +00:00
download_nacl_toolchains.py Early exit in download_nacl_toolchains on Android. 2015-09-03 14:58:42 +00:00
env_dump.py Treat options to the envsetup script as args. 2013-09-23 23:08:09 +00:00
extract_from_cab.py Fix spelling: "supress" -> "suppress" 2013-11-02 02:05:53 +00:00
find_depot_tools.py Move find_depot_tools.py to build/ 2015-10-26 22:08:26 +00:00
find_isolated_tests.py Add a script that can discover *.isolated files in a directory. 2014-02-28 19:46:52 +00:00
gdb-add-index gdb-add-index now removes its temp directory 2016-06-01 20:21:54 +00:00
get_landmines.py Refactor: move components/sync/../signin to components/signin/../ 2016-09-27 01:55:46 +00:00
get_syzygy_binaries.py Automatically copy the DIA DLL in the Syzygy binaries directory. 2016-10-04 18:25:11 +00:00
gn_helpers.py Fix pylint warnings: build/gn_helpers.py 2016-10-07 02:37:56 +00:00
gn_helpers_unittest.py Add FromGNArgs() to gn_helpers. 2016-04-06 00:10:38 +00:00
gn_run_binary.py Add yasm to the GN build. 2014-06-12 19:35:55 +00:00
gyp_chromium Revert of Remove the top-level GYP files (or stub them out). (patchset #2 id:20001 of https://codereview.chromium.org/2299543008/ ) 2016-09-07 16:43:47 +00:00
gyp_chromium.py Gut gyp_chromium, common.gypi. 2016-09-21 22:29:06 +00:00
gyp_environment.py Remove direct references to hermetic mac toolchain. 2016-10-13 21:38:05 +00:00
gyp_helper.py Expose CC.host_wrapper and CXX.host_wrapper. 2015-04-02 20:42:43 +00:00
gypi_to_gn.py Add documentation for exec_script and gypi_to_gn 2016-04-19 22:55:02 +00:00
install-build-deps-android.sh install-build-deps-android.sh support for Ubuntu Xenial 2016-04-28 00:34:59 +00:00
install-build-deps.sh Linux: Add xcb to install-build-deps 2016-08-05 00:52:16 +00:00
install-chroot.sh Fix install-chroot.sh for recent versions of ubuntu 2015-06-29 18:19:53 +00:00
inverse_depth.py Mojo: Include "path/to/foo.mojom.h" 2014-02-27 22:07:43 +00:00
json_schema_api.gni [Extensions] Generate all schema resources 2016-08-19 19:04:32 +00:00
landmine_utils.py Recognize for now NetBSD as a Linux-like variant in landmine_utils.py 2016-08-09 19:39:03 +00:00
landmines.py Simplify landmines code a bit now that all branches of all platforms are on ninja 2016-07-30 00:36:52 +00:00
mac_toolchain.py Turn on hermetic toolchain for all corp machines. 2016-11-09 04:35:45 +00:00
nocompile.gni Fix base_nocompile_tests dependency 2016-02-16 02:36:01 +00:00
package_mac_toolchain.py Scripts to upload and update the mac toolchain. 2016-03-26 21:45:51 +00:00
precompile.cc Use precompiled headers for most large projects where the .gyp file 2011-09-07 14:14:54 +00:00
precompile.h Annotate large GN targets for precompiled headers 2015-07-28 18:25:26 +00:00
print_python_deps.py Reland #2 of Include isolate.py in data for Android unit tests 2016-04-04 14:59:51 +00:00
protoc_java.py Fix android depfiles to always list GN's outputs[0] 2016-09-14 02:06:20 +00:00
redirect_stdout.py [Mac/GN] Add targets to run dump_syms and create the dSYM archive. 2016-06-09 22:59:07 +00:00
rm.py Unbreak mac component build. 2016-09-23 22:48:01 +00:00
sanitize-mac-build-log.sed Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-mac-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-win-build-log.sed Remove removed (and outdated anyway) Perl IDL compiler line from sed script 2014-02-27 15:00:45 +00:00
sanitize-win-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
shim_headers.gni unbundle: add shim_headers.gni and unbundled GN file for zlib 2016-04-15 08:03:33 +00:00
split_static_library.gni Enable header checking for chrome/browser/ui 2016-09-23 19:57:38 +00:00
symlink.gni Revert of Add work-around to symlink.gni to avoid "not up-to-date" ninja errors (patchset #1 id:1 of https://codereview.chromium.org/2344243002/ ) 2016-09-20 22:16:30 +00:00
symlink.py Revert of Add work-around to symlink.gni to avoid "not up-to-date" ninja errors (patchset #1 id:1 of https://codereview.chromium.org/2344243002/ ) 2016-09-20 22:16:30 +00:00
tree_truth.sh Print project path in build/tree_truth.sh (fix typo) 2014-11-11 16:53:33 +00:00
update-linux-sandbox.sh Report better error message on update sandbox for gn builds 2015-08-20 22:39:59 +00:00
vs_toolchain.py Switch to VS 2015 Update 3 2016-09-08 01:54:27 +00:00
whitespace_file.txt cycle bots 2016-09-23 15:42:23 +00:00
win_is_xtree_patched.py Fix xtree patch check, and in turn C4702 disabling 2015-01-07 23:42:34 +00:00
write_build_date_header.py Fix regression in 1c9b02233631b0ba9b096d79bf5b8d71a370dbb0. 2016-04-05 00:18:55 +00:00
write_buildflag_header.py New build flag system, convert Google Now flag 2015-11-26 09:22:27 +00:00