Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
brettw@chromium.org f902545676 Work on GN iOS build.
Separates out some "SDK" related setup on Mac land Linux like we do on Windows. I'm trying to make the "compiler" BUILD file just compiler warnings and CPU options, and have system library stuff on the platform directories.

This adds the capability for GN to produce GYP files on Mac that vary according
to the GYP generator as well as target-vs-host. I added a bunch of logic to the
GN iOS build to set up stuff accordingly based on my current knowledge of
what's required.

Sadly, this means we now have an 8-way GN build (all combinations of
debug/release, host/target, and xcode/ninja). I did some refactoring of the GYP
code in GN to make this less unreasonable.

I checked that the GYP files look the way I want, but I didn't actually test
the resulting builds yet. There is still likely to be some conditions wrong or
things not being set properly. I'm going to follow up with a second pass based on actual testing.

I believe, however, that with this new GYP generator code in GN, we can express
in the .gn files what we need to do the iOS build.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@248476 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-03 12:04:33 +00:00
android Revert "Add blink_heap_unittests to android recipe." 2014-02-03 10:00:38 +00:00
config Work on GN iOS build. 2014-02-03 12:04:33 +00:00
git-hooks Use sh instead of bash for the pre-commit hook. 2013-07-30 20:23:41 +00:00
internal Disable fpo one more time, this time for non-official (canary) builds. 2012-02-09 21:04:32 +00:00
ios Added support for signed policy blobs on desktop. 2014-02-02 17:28:39 +00:00
linux Make gyp autodetection of host_arch work for 64-bit kernel and 32-bit userland 2014-01-31 17:23:56 +00:00
mac Get the proper Mac SDK path for the GN build. 2014-01-17 01:05:20 +00:00
slave Add src/build/slave directory. 2013-08-22 08:25:34 +00:00
temp_gyp Time to kill googleurl.gyp 2013-06-22 14:20:10 +00:00
toolchain Pull new GN binary @ r247206 2014-01-28 06:03:11 +00:00
util Move files from the secondary GN directory to build. 2013-11-20 22:21:03 +00:00
win Delete some msvs_cygwin_shell:0 2014-01-25 00:45:40 +00:00
OWNERS Add wildcard OWNERS files for directories where anyone can approve commits. 2012-03-12 20:56:41 +00:00
README.chromium TBR:nsylvain 2009-09-14 07:41:01 +00:00
all.gyp Move the rest of webkit/glue into content/child 2014-02-01 14:47:55 +00:00
all_android.gyp Revert of Fixed the bracket and the missing type, introduced by https://codereview.chromium.org/139743016 (https://codereview.chromium.org/144063007/) 2014-01-24 16:38:50 +00:00
apk_fake_jar.gypi Predex java libraries 2013-03-27 23:31:27 +00:00
apk_test.gypi Disable incognito if parental controls are enabled on android. 2014-01-17 00:18:11 +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
asan.saves Revert ___asan_set_death_callback and ___asan_set_error_report_callback until the new Clang arrives. 2012-03-12 12:50:25 +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 Add a simple script for building a ctags DB in a Chromium checkout. 2013-10-09 05:40:40 +00:00
build_config.h Revert of https://chromiumcodereview.appspot.com/103293003/ 2013-12-06 08:56:45 +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
common.croc Remove references to sconsbuild. 2013-10-12 02:38:29 +00:00
common.gypi android envsetup: Don't set mips_arch_variant. 2014-02-02 16:10:28 +00:00
common_untrusted.gypi Change NaCl IPC PPAPI proxy startup to support a NaCl-Browser process 2012-08-30 19:47:38 +00:00
compiler_version.py Removed CXX_target for Android 2012-10-18 22:08:06 +00:00
copy_test_data_ios.gypi Fix handling of spaces with paths in copy_test_data.py 2012-11-09 18:04:50 +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
dir_exists.py Fix python scripts in src/build/ 2011-11-23 19:13:44 +00:00
download_nacl_toolchains.py Revert 242405 "Skip downloading of nacl toolchain for android. " 2013-12-24 23:58:42 +00:00
env_dump.py Treat options to the envsetup script as args. 2013-09-23 23:08:09 +00:00
escape_unicode.py Fix python scripts in src/build/ 2011-11-23 19:13:44 +00:00
extract_from_cab.py Fix spelling: "supress" -> "suppress" 2013-11-02 02:05:53 +00:00
filename_rules.gypi [win8] Force browsers created while Chrome is in Metro mode to be on the Ash desktop. 2013-11-19 04:00:41 +00:00
gdb-add-index Make gdb-add-index index concurrently. 2013-08-15 18:03:03 +00:00
get_landmines.py Fix get_landmines builder() 2014-01-18 16:21:14 +00:00
grit_action.gypi Delete some msvs_cygwin_shell:0 2014-01-25 00:45:40 +00:00
grit_target.gypi run cygwin mount setup in runhooks, and remove some references to it 2012-01-30 19:35:17 +00:00
gyp_chromium Work on GN iOS build. 2014-02-03 12:04:33 +00:00
gyp_chromium.py Make gyp_chromium.py work with Python 2.7. 2013-05-28 16:02:13 +00:00
gyp_helper.py Fix chromium.gyp_env to see GYP_MSVS_VERSION. 2014-01-13 21:29:34 +00:00
install-build-deps-android.sh Revert of https://codereview.chromium.org/106173002/ 2014-01-08 00:05:19 +00:00
install-build-deps.sh Default to --nacl --arm in install-build-deps.sh 2014-01-17 23:59:01 +00:00
install-chroot.sh We sometimes erroneously detected processes in other sessions 2013-07-23 05:36:07 +00:00
intsafe_workaround.h reland of intsafe precompiled header fix from https://codereview.chromium.org/14201003/ 2013-04-17 17:25:34 +00:00
isolate.gypi Only include chromevox_test_data in isolated swarming tests for chromeos builds. 2014-01-30 23:20:25 +00:00
jar_file_jni_generator.gypi Android: sync up latest JNI generator changes from downstream. 2014-01-08 14:41:13 +00:00
java.gypi Revert of https://codereview.chromium.org/106173002/ 2014-01-08 00:05:19 +00:00
java_aidl.gypi Use _target_name instead of package_name for java*.gypi 2013-02-20 22:39:17 +00:00
java_apk.gypi Remove trailing periods from rule messages. 2014-01-09 06:50:54 +00:00
java_prebuilt.gypi [Android] Extend proguard preprocessing to prebuilt Java libraries. 2013-08-19 22:45:34 +00:00
jni_generator.gypi Android: sync up latest JNI generator changes from downstream. 2014-01-08 14:41:13 +00:00
json_schema_bundle_compile.gypi non_compiled_schema_files should trigger genapi_bundle. 2013-11-04 20:31:29 +00:00
json_schema_compile.gypi Initial commit of the Dart Chrome Extension APIs generators 2013-02-06 01:29:31 +00:00
json_to_struct.gypi Moving prepopulated search engines to a JSON file. 2012-11-17 14:20:29 +00:00
landmine_utils.py win: Use ninja by default 2014-01-09 05:08:41 +00:00
landmines.py Remove references to sconsbuild. 2013-10-12 02:38:29 +00:00
nocompile.gypi Disable No-compile tests. They are flaky on the tree. 2011-11-29 08:19:02 +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 reland of intsafe precompiled header fix from https://codereview.chromium.org/14201003/ 2013-04-17 17:25:34 +00:00
protoc.gypi Delete some msvs_cygwin_shell:0 2014-01-25 00:45:40 +00:00
protoc_java.gypi Use _target_name instead of package_name for java*.gypi 2013-02-20 22:39:17 +00:00
protoc_java.py Add support for generating jars from protos and add cacheinvalidation_java. 2012-11-14 21:20:47 +00:00
release.gypi Remove Purify and Quantify.Doing so will reduce substantially the size of the project files. 2011-08-17 17:41:02 +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 Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +00:00
sanitize-win-build-log.sh Cleanup sanitize build sed and sh scripts. 2013-10-31 04:21:14 +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 Skip argv[0] when processing command line options in symlink.py 2013-05-28 21:49:11 +00:00
tree_truth.sh Add a script which prints recent changes in a set of repos. 2013-09-13 19:11:35 +00:00
uiautomator_test.gypi Some of the build tools have moved in the SDK (e.g. aapt, aidl) from 2013-08-09 06:48:18 +00:00
update-linux-sandbox.sh Add update-linux-sandbox.sh to build/ 2012-06-06 20:12:46 +00:00
whitespace_file.txt whitespace trigger, TBR=thakis 2014-01-30 05:30:15 +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.