Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
dd1df9c7d8
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 |
||
---|---|---|
android | ||
config | ||
git-hooks | ||
internal | ||
ios | ||
linux | ||
mac | ||
module_args | ||
sanitizers | ||
secondary | ||
slave | ||
temp_gyp | ||
toolchain | ||
util | ||
win | ||
OWNERS | ||
PRESUBMIT.py | ||
README.chromium | ||
all.gyp | ||
android_sdk_extras.json | ||
apk_browsertest.gypi | ||
apk_fake_jar.gypi | ||
apk_test.gypi | ||
apply_locales.py | ||
branding_value.sh | ||
build-ctags.sh | ||
build_config.h | ||
check_return_value.py | ||
check_sdk_extras_version.py | ||
chrome_settings.gypi | ||
clobber.py | ||
common.croc | ||
common.gypi | ||
common_untrusted.gypi | ||
compiled_action.gni | ||
compiler_version.py | ||
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 | ||
download_sdk_extras.py | ||
env_dump.py | ||
extract_from_cab.py | ||
filename_rules.gypi | ||
find_isolated_tests.py | ||
gdb-add-index | ||
get_landmines.py | ||
get_sdk_extras_packages.py | ||
get_syzygy_binaries.py | ||
gn_helpers.py | ||
gn_migration.gypi | ||
gn_run_binary.py | ||
grit_action.gypi | ||
grit_target.gypi | ||
gyp_chromium | ||
gyp_chromium.py | ||
gyp_chromium_test.py | ||
gyp_environment.py | ||
gyp_helper.py | ||
gypi_to_gn.py | ||
host_jar.gypi | ||
host_prebuilt_jar.gypi | ||
install-android-sdks.sh | ||
install-build-deps-android.sh | ||
install-build-deps.sh | ||
install-chroot.sh | ||
inverse_depth.py | ||
isolate.gypi | ||
jar_file_jni_generator.gypi | ||
java.gypi | ||
java_aidl.gypi | ||
java_apk.gypi | ||
java_prebuilt.gypi | ||
java_strings_grd.gypi | ||
jni_generator.gypi | ||
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 | ||
nocompile.gypi | ||
output_dll_copy.rules | ||
precompile.cc | ||
precompile.h | ||
protoc.gypi | ||
protoc_java.gypi | ||
protoc_java.py | ||
release.gypi | ||
repack_action.gypi | ||
rmdir_and_stamp.py | ||
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.gypi | ||
some.gyp | ||
symlink.py | ||
tree_truth.sh | ||
uiautomator_test.gypi | ||
update-linux-sandbox.sh | ||
vs_toolchain.py | ||
whitespace_file.txt | ||
win_is_xtree_patched.py | ||
win_precompile.gypi |
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.