Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
dpranke 5cb2ea1147 Rework the way ChromiumOS toolchains will work in GN.
This CL reworks the way ChromiumOS toolchains work in GN, in such a way
that they might actually have all the flags they need for the
ChromiumOS ebuild files to be able to set all of the flags it needs
(though there are still some missing GN build_args).

Specifically, the ebuild will now need to set the following in args.gn:

  host_toolchain = "//build/toolchain/cros:host"
  v8_snapshot_toolchain = "//build/toolchain/cros:v8_snapshot"

in order to support boards other than the amd64-generic build. The
ebuild should actually set these variables all the time; it just
happens that the amd64-generic build will work at the moment without
the variables, but that will not be guaranteed to remain true in the future.

This CL also adds the following optional build args that do pretty
much what you'd expect them to do:

  cros_target_ld, cros_target_extra_cflags, cros_target_extra_cppflags,
  cros_target_extra_cxx_flags, cros_target_extra_ldflags,
  cros_host_ar, cros_host_cc, cros_host_cxx, cros_host_ld,
  cros_host_is_clang, cros_host_extra_cflags, cros_host_extra_cppflags,
  cros_host_extra_cxx_flags, cros_host_extra_ldflags,
  cros_v8_snapshot_ar, cros_v8_snapshot_cc, cros_v8_snapshot_cxx,
  cros_v8_snapshot_ld, cros_v8_snapshot_extra_cflags,
  cros_v8_snapshot_extra_cppflags, cros_v8_snapshot_extra_cxx_flags,
  cros_v8_snapshot_extra_ldflags

This CL should be backwards-compatible with the existing linux desktop
ChromiumOS builds and the amd64-generic simplechrome/ebuild (i.e., it
can be landed and reverted w/o requiring any other changes to be made).
It is a big hammer intended to un-block the ChromiumOS GN migration
while we continue thinking about how to best support ChromiumOS.

R=stevenjb@chromium.org, brettw@chromium.org
BUG=608596, 595653

Review-Url: https://codereview.chromium.org/1983613002
Cr-Original-Commit-Position: refs/heads/master@{#394534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8ad2f49335feaddddbd3f318fc6f4d13eb52760b
2016-05-18 20:34:27 +00:00
android Add directory option for JUnit coverage files. 2016-05-18 18:11:29 +00:00
args Add an action to create a symbol file for the Blimp engine 2016-05-17 19:41:12 +00:00
config [Mac/GN] Set up Keystone for official Chrome builds. 2016-05-18 19:51:10 +00:00
experimental Reland: Media Galleries Partial Deprecation: Remove image metadata & libexif. 2016-03-14 23:58:38 +00:00
git-hooks
internal
ios Define OS=mac in gyp when building mac tools on iOS 2016-03-15 17:50:06 +00:00
linux Fix some TODOs in the yasm build. 2016-05-13 16:34:36 +00:00
mac [Mac/GN] Port tweak_info_plist.py and run it on //content targets. 2016-05-03 17:35:26 +00:00
sanitizers Making CSSValue Pool thread local 2016-04-21 18:17:37 +00:00
secondary [Mac/GN] Change two ldflags to libs. 2016-05-17 19:09:19 +00:00
slave
toolchain Rework the way ChromiumOS toolchains will work in GN. 2016-05-18 20:34:27 +00:00
util [Mac/GN] Move the bundle ID and creator code into the BRANDING file, and use it. 2016-05-04 15:59:52 +00:00
win Add x86 to copy_cdb_to_output Allowed Architectures 2016-04-18 20:04:25 +00:00
OWNERS Add brucedawson to build\OWNERS 2016-04-04 18:41:29 +00:00
PRESUBMIT.py
README.chromium
all.gyp Prepare for building with enable_app_list=0 on Desktop 2016-05-13 08:27:56 +00:00
apk_browsertest.gypi [Android] Rework multidex and enable multidex for unit_tests_apk. (RELAND 2) 2016-01-16 01:23:53 +00:00
apk_fake_jar.gypi
apk_test.gypi [Android] Rework multidex and enable multidex for unit_tests_apk. (RELAND 2) 2016-01-16 01:23:53 +00:00
apply_locales.py
branding_value.sh
build-ctags.sh
build_config.h MIPS64: Fix ChromePublic compile error for mips64el 2016-04-27 09:18:26 +00:00
buildflag.h Tiny fix in buildflag.h comment 2016-03-31 21:02:11 +00:00
buildflag_header.gni Add chrome crash service to GN build on Windows. 2015-12-03 00:10:47 +00:00
buildflag_header.gypi Move ENABLE_PROFILING to build flags system. 2015-12-05 00:45:52 +00:00
check_return_value.py
chrome_settings.gypi
clobber.py Use rmdir /s/q instead of flaky shutil.rmtree on Windows 2016-03-19 00:33:11 +00:00
common.croc
common.gypi Enable XFA forms in the PDF plugin. 2016-05-16 18:24:40 +00:00
common_untrusted.gypi
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.gypi
copy_test_data_ios.py
cp.py
detect_host_arch.py
dir_exists.py
download_gold_plugin.py
download_nacl_toolchains.py
env_dump.py
extract_from_cab.py
filename_rules.gypi Support building ash targets with use_ash=0 and use_aura=1. 2016-02-10 00:27:47 +00:00
find_depot_tools.py
find_isolated_tests.py
gdb-add-index gdb-add-index: accept a list of files to index 2015-11-24 00:31:22 +00:00
get_landmines.py VS 2015 Update 2 RTW (final) 2016-04-01 04:11:28 +00:00
get_syzygy_binaries.py
gn_helpers.py Switch MB to write the GN args to args.gn. 2016-04-14 01:44:13 +00:00
gn_helpers_unittest.py Add FromGNArgs() to gn_helpers. 2016-04-06 00:10:38 +00:00
gn_migration.gypi Prepare for building with enable_app_list=0 on Desktop 2016-05-13 08:27:56 +00:00
gn_run_binary.py
grit_action.gypi
grit_target.gypi
gyp_chromium
gyp_chromium.py Set toolchain directory in gyp_chromium. 2016-05-11 02:12:26 +00:00
gyp_chromium_test.py
gyp_environment.py Add mac toolchain script support to find_sdk script. 2016-03-30 22:10:35 +00:00
gyp_helper.py
gypi_to_gn.py Add documentation for exec_script and gypi_to_gn 2016-04-19 22:55:02 +00:00
host_jar.gypi Pass build scripts .interface.jar directly rather than --use-ijars 2016-04-05 03:05:29 +00:00
host_prebuilt_jar.gypi
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 build/install-build-deps.sh: support Ubuntu 16.04 (xenial). 2016-04-22 00:53:34 +00:00
install-chroot.sh
inverse_depth.py
isolate.gypi This removes most of the NSS files and both the use_openssl build argument and 2016-04-20 16:36:24 +00:00
jar_file_jni_generator.gypi
java.gypi [Android] Run lint using a cache in the output directory. 2016-03-21 16:44:33 +00:00
java_aidl.gypi
java_apk.gypi [Android] Run lint using a cache in the output directory. 2016-03-21 16:44:33 +00:00
java_prebuilt.gypi
java_strings_grd.gypi
jni_generator.gypi Remove passing of --jarjar to jni_generator.py 2016-05-13 17:22:05 +00:00
json_schema_api.gni
json_schema_bundle_compile.gypi
json_schema_bundle_registration_compile.gypi
json_schema_compile.gypi
json_to_struct.gypi
landmine_utils.py
landmines.py Let landmines print something when run as part of `gclient sync`. 2016-05-03 18:02:00 +00:00
mac_toolchain.py Fix build/mac_toolchain.py for pylint warning. 2016-05-16 02:30:24 +00:00
nocompile.gni Fix base_nocompile_tests dependency 2016-02-16 02:36:01 +00:00
nocompile.gypi Fix base_nocompile_tests dependency 2016-02-16 02:36:01 +00:00
output_dll_copy.rules
package_mac_toolchain.py Scripts to upload and update the mac toolchain. 2016-03-26 21:45:51 +00:00
precompile.cc
precompile.h
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.gypi
protoc_java.gypi
protoc_java.py
release.gypi
repack_action.gypi
rmdir_and_stamp.py [mojo] Delete third_party/mojo 2016-02-10 09:58:42 +00:00
sanitize-mac-build-log.sed
sanitize-mac-build-log.sh
sanitize-win-build-log.sed
sanitize-win-build-log.sh
set_clang_warning_flags.gypi
shim_headers.gni unbundle: add shim_headers.gni and unbundled GN file for zlib 2016-04-15 08:03:33 +00:00
shim_headers.gypi
some.gyp
symlink.gni Fix GN deps needed by third_party/WebKit/Tools/Scripts/run-webkit-tests 2016-04-13 00:07:09 +00:00
symlink.py Expand the ~ character in link_names of symlink.py 2016-03-21 17:54:51 +00:00
tree_truth.sh
update-linux-sandbox.sh
vs_toolchain.py Allow building with VS 2015 Update 3 pre-release 2016-05-17 02:45:31 +00:00
whitespace_file.txt Make a whitespace change to trigger some builds. 2016-04-02 23:35:54 +00:00
win_is_xtree_patched.py
win_precompile.gypi Revert of clang/win: Disable precompiled headers. (patchset #1 id:1 of https://codereview.chromium.org/1904193002/ ) 2016-04-22 19:43:44 +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

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.