Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
brettw c1b2bea949 Improve mini installer and official build GN flags
I went through and did some flag auditing to try to get GN's official build mini_installer target as small as GYP's. It's still 512 bytes too large.

Adds the custom mini_installer flags to the "lib" target as well as the main mini_installer target. This removes some imports around exception handling.

Sync some official build flags: LTCG should go on all optimized targets in official builds, not just "optimize max" ones. Doing this on optimize max has no effect because we only set optimize_max on individual libraries that need to be fast, rather than anything that gets linked.

Convert /OPT:REF to /OPT:ICF. GYP specifies both, but ICF seems to imply REF according to MSDN.

Added some missing release mode flags "/d2Zi+", "/Zc:inline", and "/cgthreads:8", which I found missing from GN.

Removed a dependency on "setup" from mini installer, this is captured by the dependency on ":archive" (which already includes the setup dependency).

Review URL: https://codereview.chromium.org/1329833002

Cr-Original-Commit-Position: refs/heads/master@{#347447}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7cb45ce734f09f358e62fd982c8fa288673b2ab5
2015-09-04 18:03:14 +00:00
android GN: Make the wrapper script generated for junit work without extra args 2015-09-04 15:40:59 +00:00
config Improve mini installer and official build GN flags 2015-09-04 18:03:14 +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 Revert of Revert of Sync Windows build flags between GYP and GN (patchset #1 id:1 of https://codereview.chromium.org/1185963004/) 2015-06-17 09:09:26 +00:00
ios [Eraser strings] Remove flag to disable WebRTC on Android. 2015-08-22 00:30:13 +00:00
linux Make gtk2/gtk3 compile time switchable. 2015-09-01 21:39:48 +00:00
mac Remove the unused helper apps on OS X. 2015-09-03 20:53:47 +00:00
module_args Update mojo sdk to rev c02a28868825edfa57ab77947b8cb15e741c5598 2015-08-24 17:24:56 +00:00
sanitizers Re-enable memcmp interceptor for TSan. 2015-08-27 21:19:02 +00:00
secondary Un-nest configs in GN files. 2015-09-02 17:57:52 +00:00
slave build/slave/OWNERS: remove bevc and ilevy + update stip 2014-10-28 16:44:47 +00:00
temp_gyp Time to kill googleurl.gyp 2013-06-22 14:20:10 +00:00
toolchain Fix more aspects of the NaCl build configs. 2015-09-03 22:18:39 +00:00
util Hook up chrome.exe manifest in the Windows GN build. 2015-07-22 04:27:41 +00:00
win Preliminary support for Windows manifests in the GN build. 2015-07-21 18:57:19 +00:00
OWNERS Add self to build/OWNERS. 2015-08-17 17:53:18 +00:00
PRESUBMIT.py Remove unused constant in build/PRESUBMIT.py 2015-04-21 18:12:46 +00:00
README.chromium TBR:nsylvain 2009-09-14 07:41:01 +00:00
all.gyp Remove all traces of ChromeShell from src/build. 2015-09-02 19:41:57 +00:00
android_sdk_extras.json [Android] Start requiring Google Play services 7.8 2015-08-18 09:00:14 +00:00
apk_browsertest.gypi [Android] Refactor the native test wrappers. (RELAND) 2015-05-22 02:55:28 +00:00
apk_fake_jar.gypi Convert apk obfuscation to python 2014-06-11 13:19:47 +00:00
apk_test.gypi [Android] Refactor browser test execution. (RELAND) 2015-06-12 23:54:06 +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 Initial support for using BoringSSL with NSS certificates. 2015-04-22 02:36:54 +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
check_sdk_extras_version.py Skip Android SDK extras version check on bots 2015-07-10 08:49:49 +00:00
chrome_settings.gypi Move mac_bundle_id and other variables from chrome.gyp to build/chrome_settings.gypi. 2013-12-12 18:34:38 +00:00
clobber.py Factor clobber out of build/landmines.py 2015-06-22 12:42:23 +00:00
common.croc Remove references to sconsbuild. 2013-10-12 02:38:29 +00:00
common.gypi Update Android to use Compact Language Detector v2. 2015-09-04 16:18:25 +00:00
common_untrusted.gypi Build only the appropriate x86 arches for nacl (chrome side). 2014-09-16 02:33:15 +00:00
compiled_action.gni GN: Respect testonly in compiled_action and compiled_action_foreach 2015-09-03 15:59:32 +00:00
compiler_version.py Linux: Detect host g++ version as well as target g++ version. 2014-04-23 08:20:16 +00:00
copy_test_data_ios.gypi Fix test data copying on iOS 2014-05-02 21:16:10 +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 Revert 281999 "Revert 281831 "Fix nacl_integration to run 32bit ..." 2014-07-09 12:06:21 +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 download_gold_plugin.py: Redirect stderr to /dev/null when calling gsutil. 2015-07-20 22:40:23 +00:00
download_nacl_toolchains.py Early exit in download_nacl_toolchains on Android. 2015-09-03 14:58:42 +00:00
download_sdk_extras.py Implemented retries in download_sdk_extras.py 2015-07-31 01:08:44 +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
filename_rules.gypi Remove unneeded filename rules for "ozone" and "evdev" 2015-06-08 20:18:45 +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 Made gdb-add-index respect TOOLCHAIN_PREFIX settings. 2015-01-09 00:38:14 +00:00
get_landmines.py Add landmine for libsqlite3.dylib 2015-09-02 00:20:32 +00:00
get_sdk_extras_packages.py Add script to validate installed Android SDK packages 2015-06-26 10:30:40 +00:00
get_syzygy_binaries.py Don't launch sub-process through shell. 2015-07-16 18:45:37 +00:00
gn_helpers.py Add support for reading .gypi files. 2014-04-06 04:35:10 +00:00
gn_migration.gypi Remove all traces of ChromeShell from src/build. 2015-09-02 19:41:57 +00:00
gn_run_binary.py Add yasm to the GN build. 2014-06-12 19:35:55 +00:00
grit_action.gypi Restore whitelist flag in grit input/output 2015-04-13 09:43:32 +00:00
grit_target.gypi Use a qualified path for grit/net_resources.h 2014-08-18 22:36:01 +00:00
gyp_chromium Move logic of gyp_chromium into gyp_chromium.py 2015-08-11 21:02:19 +00:00
gyp_chromium.py Move logic of gyp_chromium into gyp_chromium.py 2015-08-11 21:02:19 +00:00
gyp_chromium_test.py Move logic of gyp_chromium into gyp_chromium.py 2015-08-11 21:02:19 +00:00
gyp_environment.py Make landmines work on local builds too 2014-08-14 14:03:30 +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 Work toward a chrome/common GN target. 2014-06-20 04:26:55 +00:00
host_jar.gypi Never run errorprone on non-Chromium code. 2015-08-27 19:15:44 +00:00
host_prebuilt_jar.gypi Revert of Revert of [Android] JUnit runner + gyp changes. (patchset #1 id:1 of https://codereview.chromium.org/597123002/) 2014-09-24 14:02:15 +00:00
install-android-sdks.sh Add script to validate installed Android SDK packages 2015-06-26 10:30:40 +00:00
install-build-deps-android.sh Revert of Add apktool and apktool.jar to install-build-deps-android.sh (patchset #4 id:60001 of https://codereview.chromium.org/1287133002/ ) 2015-08-31 21:45:59 +00:00
install-build-deps.py First steps for creating build/install-build-deps.py 2015-07-13 09:53:10 +00:00
install-build-deps.sh Add python-yaml to install-build-deps 2015-06-30 23:25:17 +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
isolate.gypi Remove references to an old gyp variable that's no longer supported. 2015-08-26 08:46:16 +00:00
jar_file_jni_generator.gypi Remove most android_webview_build conditions from build. 2015-03-31 11:51:32 +00:00
java.gypi Update usage of Proguard in clank after moving Proguard to third_party. 2015-08-27 22:23:44 +00:00
java_aidl.gypi Make aapt and aidl paths flexible. 2015-06-04 23:29:15 +00:00
java_apk.gypi Update usage of Proguard in clank after moving Proguard to third_party. 2015-08-27 22:23:44 +00:00
java_prebuilt.gypi Store proguarded jar in product out under lib.java. 2015-08-28 14:03:03 +00:00
java_strings_grd.gypi Pass resources to dependents as zip files instead of directories 2014-06-11 01:20:55 +00:00
jni_generator.gypi Remove most android_webview_build conditions from build. 2015-03-31 11:51:32 +00:00
json_schema_api.gni Annotate large GN targets for precompiled headers 2015-07-28 18:25:26 +00:00
json_schema_bundle_compile.gypi Generate all extension schema namespaces as "api" and instead vary the generated bundle names. 2015-07-23 18:28:16 +00:00
json_schema_bundle_registration_compile.gypi Generate all extension schema namespaces as "api" and instead vary the generated bundle names. 2015-07-23 18:28:16 +00:00
json_schema_compile.gypi Move json schema compiler target into build/ to match gyp 2014-09-30 22:27:41 +00:00
json_to_struct.gypi Generate a static struct from fieldtrial_testing_config 2015-07-11 01:05:09 +00:00
landmine_utils.py match openbsd as well in landmine_utils and breakpad 2014-11-25 20:25:13 +00:00
landmines.py Factor clobber out of build/landmines.py 2015-06-22 12:42:23 +00:00
nocompile.gypi Switch to clang for nocompile tests and rebaseline existing results. 2014-11-03 21:29:44 +00:00
output_dll_copy.rules Add the build directory to the repository. 2008-07-26 20:52:30 +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
protoc.gypi Delete some msvs_cygwin_shell:0 2014-01-25 00:45:40 +00:00
protoc_java.gypi [Android] Incorporate findbugs into android builds. 2015-03-24 03:15:40 +00:00
protoc_java.py Add proto_java_library to gn 2014-10-01 23:49:49 +00:00
release.gypi Allow incrementally linked release builds on windows. 2014-05-14 17:22:59 +00:00
repack_action.gypi Work on GN build, mostly in //ui 2014-07-02 20:39:12 +00:00
rmdir_and_stamp.py Fix stale mojom-generated Java problems with gyp builds 2015-02-26 05:20:56 +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
set_clang_warning_flags.gypi Use clang as default host compiler when cross-compiling 2014-08-04 19:05:02 +00:00
shim_headers.gypi Remove trailing "." from message lines. 2013-10-31 18:08:28 +00:00
some.gyp Revert 180433 because build\some.gyp was added to the CL by mistake. 2013-02-04 17:18:03 +00:00
symlink.py GN (android): Fix md5sum_bin_host not working for component builds 2015-07-15 20:13:54 +00:00
tree_truth.sh Print project path in build/tree_truth.sh (fix typo) 2014-11-11 16:53:33 +00:00
uiautomator_test.gypi [Android] Don't use zip pushing if not built or on user builds. 2014-10-15 08:24:53 +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 Fix DEPOT_TOOLS_WIN_TOOLCHAIN=0 being ignored 2015-08-25 23:04:39 +00:00
whitespace_file.txt cycle bots 2015-07-30 03:48:07 +00:00
win_is_xtree_patched.py Fix xtree patch check, and in turn C4702 disabling 2015-01-07 23:42:34 +00:00
win_precompile.gypi Use precompiled headers on Windows only when a flag is set. 2011-09-27 00:15:16 +00:00

README.chromium

List of property sheets to be included by projects:
  common.vsprops
    Not used anymore. No-op. Kept for compatibility with current projects.

  debug.vsprops
    Enables debug settings. Must be included directly in Debug configuration. Includes internal\essential.vsprops.

  external_code.vsprops
    Contains settings made to simplify usage of external (non-Google) code. It relaxes the warning levels. Should be included after debug.vsprops or release.vsprops to override their settings.

  output_dll_copy.rules
    Run to enable automatic copy of DLL when they are as an input file in a vcproj project.

  release.vsprops
    Enables release settings. Must be included directly in Release configuration. Includes internal\essential.vsprops. Also includes "internal\release_impl$(CHROME_BUILD_TYPE).vsprops". So the behavior is dependant on the CHROME_BUILD_TYPE environment variable.