Clone of https://chromium.googlesource.com/chromium/src/build with Mozilla's local modifications
Перейти к файлу
jamesr@chromium.org 0603299dc4 GN: Only define UNIT_TEST in direct gtest deps
This matches the gyp build and is important for parts of the code that
guard their API with UNIT_TEST. For instance,
chrome/browser/ui/views/omnibox/omnibox_view_views.h has a GetRenderText
function guarded by #if UNIT_TEST that shadows a protected function
GetRenderText from its parent class views::Textfield, but with different
const-ness. If c/b/u/v/o/omnibox_view_views.cc is compiled with UNIT_TEST
set, it attempts to use the guarded member function instead of the base
class which fails to compile.

R=brettw@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@288988 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-08-12 15:45:19 +00:00
android Update lint and findbugs to use jars instead of class files 2014-08-12 15:10:38 +00:00
config Run pkg-config for Udev only if use_udev==1 2014-08-11 19:49:30 +00:00
git-hooks
internal
ios
linux Run pkg-config for Udev only if use_udev==1 2014-08-11 19:49:30 +00:00
mac
secondary GN: Only define UNIT_TEST in direct gtest deps 2014-08-12 15:45:19 +00:00
slave
temp_gyp
toolchain Remove unused gn tool script. 2014-08-11 16:44:40 +00:00
util
win
OWNERS
README.chromium
all.gyp Move WebViewShell from Android to Chromium 2014-08-11 13:41:23 +00:00
apk_fake_jar.gypi
apk_test.gypi
apply_locales.py
asan.saves
branding_value.sh
build-ctags.sh
build_config.h
check_return_value.py
chrome_settings.gypi
common.croc
common.gypi Put GPU isolate targets under archive_gpu_tests=1 GYP variable. 2014-08-11 20:36:04 +00:00
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_nacl_toolchains.py
env_dump.py
escape_unicode.py
extract_from_cab.py
filename_rules.gypi
find_isolated_tests.py
gdb-add-index
get_landmines.py Update lint and findbugs to use jars instead of class files 2014-08-12 15:10:38 +00:00
get_syzygy_binaries.py
gn_helpers.py
gn_run_binary.py
grit_action.gypi
grit_target.gypi
gyp_chromium Makes --analyzer behave same as --analyzer2 2014-08-08 14:43:40 +00:00
gyp_chromium.py
gyp_helper.py
gypi_to_gn.py
install-build-deps-android.sh
install-build-deps.sh
install-chroot.sh
inverse_depth.py
isolate.gypi
jar_file_jni_generator.gypi Don't register JNI methods for the android_webview. 2014-08-11 11:27:12 +00:00
java.gypi Update lint and findbugs to use jars instead of class files 2014-08-12 15:10:38 +00:00
java_aidl.gypi
java_apk.gypi Update lint and findbugs to use jars instead of class files 2014-08-12 15:10:38 +00:00
java_prebuilt.gypi
java_strings_grd.gypi
jni_generator.gypi Don't register JNI methods for the android_webview. 2014-08-11 11:27:12 +00:00
json_schema_bundle_compile.gypi
json_schema_compile.gypi
json_to_struct.gypi
landmine_utils.py
landmines.py
linker_script_copy.gyp Don't register JNI methods for the android_webview. 2014-08-11 11:27:12 +00:00
nocompile.gypi
output_dll_copy.rules
precompile.cc
precompile.h
protoc.gypi
protoc_java.gypi
protoc_java.py
release.gypi
repack_action.gypi
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 Use toolchain hash that's in buildtools 2014-08-09 00:27:26 +00:00
whitespace_file.txt Whitespace change to kick off bots. 2014-08-12 11:04:25 +00:00
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.