Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
brettw dd1df9c7d8 Move GN obj files to target-specific dirs
Previously GN would put object files in a similar place to GYP. They would go in a corresponding directory as the source file and would be prefixed with the target name for uniqueness.

Since GN target names are not unique, this doesn't work as well. Instead use a simpler scheme and put all the object files in a directory for each target.

This causes a few object file name collisions which this patch fixes in various ways:

- Renamed chrome/browser/ui/views/find_bar_host_interactive_uitest.cc to have "views" in the name (collided with chrome/browser/ui/find_bar/find_bar_host_interactive_uitest.cc)

- Renamed chrome/browser/apps/speech_recognition_browsertest.cc to have "app" in the name (collided with chrome/browser/speech/speech_recognition_browsertest.cc).

- Renamed chrome/common/extensions/api/extension_api_unittest.cc to have "common" in the name (collided with chrome/browser/extensions/extension_api_unittest.cc which is actually a test harness with that name).

- Moved the extensions files that were in the chrome interactive UI tests and browser tests to source sets in the extensions directory. These are things that should be cleaned up and moved there anyway.

- Net has some messy duplication in quic files. I made a dummy target for them. Apparently each copy of this file (same code, different namespace) is supposed to match something different upstream and this should be fixed.

- Moved chrome/browser/chromeos unit tests to its own target.

- Renamed chrome/browser/favicon/favicon_helper to favicon_utils. It conflicted with chrome/browser/android/favicon_helper which has an actual class named "FaviconHelper.

- Renamed service.* and service_factory.* in chrome/browser/chromeos/launcher_search_provider to have a launcher_search_provider prefix to avoid collisions with the file_system_provider one.

- Added a "chromeos" prefix to chrome/browser/chromeos/first_run/first_run_browsertest.cc to avoid collisions with the one in browser/first_run.

- Added "chromeos" to chrome/browser/chromeos/preferences_browsertest.cc to avoid collision with browser/ui/webui/options.

- Rename "chrome/browser/chromeos/drive/test_util.*" to "drive_test_util.*". Update includes. Rename chrome/browser/chromeos/file_manager/drive_test_util* to mount_test_util to avoid colliding with above new file.

The deps->public_deps changes in components/policy and content/test is because those targets were used externally in a way that this patch uncovered.

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

Cr-Original-Commit-Position: refs/heads/master@{#338408}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39355da5ab86e662d701fcba8fef4e20921b38f0
2015-07-11 00:21:39 +00:00
android [Android] Add optional per-test charging wait for perf tests. 2015-07-09 20:31:48 +00:00
config Revert of Revert of Clang on Windows: Remove -Wno-unused-variable. (patchset #1 id:1 of https://codereview.chromium.org/1228093005/) 2015-07-10 23:31:15 +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 Remove no-longer-used autofill card unmask strings from grit whitelist. 2015-07-10 22:31:39 +00:00
linux Move linux sysroots from chrome/installer/linux to build/linux 2015-06-30 19:15:31 +00:00
mac Fix tweak_info_plist's TOP path to be found relative to itself rather than the includer's SRCROOT. 2014-11-06 18:25:27 +00:00
module_args Add a nacl module args file. 2015-06-19 22:27:23 +00:00
sanitizers Add a leak sanitizer suppression for blink::ResourceFetcher::garbageCollectDocumentResources 2015-07-06 08:34:08 +00:00
secondary Move GN build files for cacheinvalidation into the main tree. 2015-07-09 21:45:31 +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 Move GN obj files to target-specific dirs 2015-07-11 00:21:39 +00:00
util Android test runner: support negative gtest filter syntax. 2015-07-10 23:37:39 +00:00
win clang/win: Make diagnostics colored if ansicon is around at runhooks time. 2015-06-19 23:44:00 +00:00
OWNERS Add dpranke as an OWNER to the top-level GN and GYP files for the GN migration. 2015-03-10 21:37:56 +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 Expose custom tab client gyp target in chromium 2015-07-10 23:51:30 +00:00
android_sdk_extras.json Add script to validate installed Android SDK packages 2015-06-26 10:30:40 +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 Revert of Revert of Clang on Windows: Remove -Wno-unused-variable. (patchset #1 id:1 of https://codereview.chromium.org/1228093005/) 2015-07-10 23:31:15 +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 Update Chomium's build files to work w/ latest GN binaries. 2015-02-20 02:56:07 +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 Use Clang's update.py --print-revision everywhere. 2015-05-07 03:49:47 +00:00
download_nacl_toolchains.py Increase flexibility for NaCl toolchain download script. 2015-01-05 22:05:10 +00:00
download_sdk_extras.py download_sdk_extras: Catch the correct error. 2015-02-23 18:22:40 +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 Prepare for VS2015 toolchain 2015-06-02 01:16:21 +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 Fetch Kasko crash reporter for use with SyzyASAN. 2015-01-22 20:20:52 +00:00
gn_helpers.py Add support for reading .gypi files. 2014-04-06 04:35:10 +00:00
gn_migration.gypi Convert display_unittests to run exclusively on Swarming 2015-07-10 21:43:58 +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 [iOS] Add a repack steps to iOS upstream for unit tests 2015-06-07 08:58:41 +00:00
gyp_chromium.py Make gyp_chromium.py work with Python 2.7. 2013-05-28 16:02:13 +00:00
gyp_chromium_test.py gyp_chromium: Better parsing of -G command line flag. 2015-02-03 19:26:17 +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 Add the Errorprone Java Compiler 2015-06-22 16:17:59 +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 Split installation of system packages and user SDKs. 2015-02-10 21:40:06 +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 test_isolation_outdir references. 2015-06-09 18:18:17 +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 Expose custom tab client gyp target in chromium 2015-07-10 23:51:30 +00:00
java_aidl.gypi Make aapt and aidl paths flexible. 2015-06-04 23:29:15 +00:00
java_apk.gypi Add -bootclasspath argument to javac. 2015-07-08 13:09:48 +00:00
java_prebuilt.gypi Fix "Class resolved by unexpected DEX" in uiautomator tests 2014-12-02 01:32:45 +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 Fix missing GN dependencies. 2015-05-27 19:43:24 +00:00
json_schema_bundle_compile.gypi - Add support for references in different paths in apis. 2014-08-29 03:58:01 +00:00
json_schema_bundle_registration_compile.gypi Move json schema compiler target into build/ to match gyp 2014-09-30 22:27:41 +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 Add search_engines and precache components to GN build. 2014-07-16 17:50:51 +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 Remove wincrypt.h from precompiled headers. 2014-11-19 20:35:30 +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 Teach build/symlink.py --force to delete directories. 2015-07-01 19:10:18 +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 The sandbox setup script now uses CHROMIUM_OUT_DIR when defined. 2014-07-24 16:37:20 +00:00
vs_toolchain.py win vs2015: rev toolchain package again 2015-06-04 00:40:25 +00:00
whitespace_file.txt Whitespace change to test masters. 2015-03-17 16:51:45 +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.