| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # IMPORTANT: | 5 # IMPORTANT: |
| 6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
| 7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
| 8 { | 8 { |
| 9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
| 10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 # currently only works on Linux. | 364 # currently only works on Linux. |
| 365 'use_third_party_translations%': 0, | 365 'use_third_party_translations%': 0, |
| 366 | 366 |
| 367 # Remoting compilation is enabled by default. Set to 0 to disable. | 367 # Remoting compilation is enabled by default. Set to 0 to disable. |
| 368 'remoting%': 1, | 368 'remoting%': 1, |
| 369 | 369 |
| 370 # Configuration policy is enabled by default. Set to 0 to disable. | 370 # Configuration policy is enabled by default. Set to 0 to disable. |
| 371 'configuration_policy%': 1, | 371 'configuration_policy%': 1, |
| 372 | 372 |
| 373 # Variable safe_browsing is used to control the build time configuration | 373 # Variable safe_browsing is used to control the build time configuration |
| 374 # for safe browsing feature. Safe browsing can be compiled in 3 different | 374 # for safe browsing feature. Safe browsing can be compiled in 4 different |
| 375 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and | 375 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and |
| 376 # reporting features without enabling phishing and malware detection. This | 376 # reporting features for use with Data Saver on Mobile, and 3 enables |
| 377 # is useful to integrate a third party phishing/malware detection to | 377 # extended mobile protection via an external API. When 3 is fully |
| 378 # existing safe browsing logic. | 378 # deployed, it will replace 2. |
| 379 'safe_browsing%': 1, | 379 'safe_browsing%': 1, |
| 380 | 380 |
| 381 # Web speech is enabled by default. Set to 0 to disable. | 381 # Web speech is enabled by default. Set to 0 to disable. |
| 382 'enable_web_speech%': 1, | 382 'enable_web_speech%': 1, |
| 383 | 383 |
| 384 # Notifications are compiled in by default. Set to 0 to disable. | 384 # Notifications are compiled in by default. Set to 0 to disable. |
| 385 'notifications%' : 1, | 385 'notifications%' : 1, |
| 386 | 386 |
| 387 # Use dsymutil to generate real .dSYM files on Mac. The default is 0 for | 387 # Use dsymutil to generate real .dSYM files on Mac. The default is 0 for |
| 388 # regular builds and 1 for ASan builds. | 388 # regular builds and 1 for ASan builds. |
| (...skipping 21 matching lines...) Expand all Loading... |
| 410 'asan_field_padding%': 0, | 410 'asan_field_padding%': 0, |
| 411 | 411 |
| 412 # Enable Chromium overrides of the default configurations for various | 412 # Enable Chromium overrides of the default configurations for various |
| 413 # dynamic tools (like ASan). | 413 # dynamic tools (like ASan). |
| 414 'use_sanitizer_options%': 0, | 414 'use_sanitizer_options%': 0, |
| 415 | 415 |
| 416 # Enable building with SyzyAsan. | 416 # Enable building with SyzyAsan. |
| 417 # See https://code.google.com/p/sawbuck/wiki/SyzyASanHowTo | 417 # See https://code.google.com/p/sawbuck/wiki/SyzyASanHowTo |
| 418 'syzyasan%': 0, | 418 'syzyasan%': 0, |
| 419 | 419 |
| 420 # Enable crash reporting via Kasko. |
| 421 'kasko%': 0, |
| 422 |
| 420 # Enable building with LSan (Clang's -fsanitize=leak option). | 423 # Enable building with LSan (Clang's -fsanitize=leak option). |
| 421 # -fsanitize=leak only works with clang, but lsan=1 implies clang=1 | 424 # -fsanitize=leak only works with clang, but lsan=1 implies clang=1 |
| 422 # See https://sites.google.com/a/chromium.org/dev/developers/testing/leaks
anitizer | 425 # See https://sites.google.com/a/chromium.org/dev/developers/testing/leaks
anitizer |
| 423 'lsan%': 0, | 426 'lsan%': 0, |
| 424 | 427 |
| 425 # Enable building with TSan (Clang's -fsanitize=thread option). | 428 # Enable building with TSan (Clang's -fsanitize=thread option). |
| 426 # -fsanitize=thread only works with clang, but tsan=1 implies clang=1 | 429 # -fsanitize=thread only works with clang, but tsan=1 implies clang=1 |
| 427 # See http://clang.llvm.org/docs/ThreadSanitizer.html | 430 # See http://clang.llvm.org/docs/ThreadSanitizer.html |
| 428 'tsan%': 0, | 431 'tsan%': 0, |
| 429 'tsan_blacklist%': '<(PRODUCT_DIR)/../../tools/memory/tsan_v2/ignores.txt'
, | 432 'tsan_blacklist%': '<(PRODUCT_DIR)/../../tools/memory/tsan_v2/ignores.txt'
, |
| (...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 # | 916 # |
| 914 # On Aura, this allows per-tile painting to be used in the browser | 917 # On Aura, this allows per-tile painting to be used in the browser |
| 915 # compositor. | 918 # compositor. |
| 916 ['OS!="android" and OS!="ios"', { | 919 ['OS!="android" and OS!="ios"', { |
| 917 'use_canvas_skia%': 1, | 920 'use_canvas_skia%': 1, |
| 918 }], | 921 }], |
| 919 | 922 |
| 920 ['chromeos==1', { | 923 ['chromeos==1', { |
| 921 'enable_basic_printing%': 0, | 924 'enable_basic_printing%': 0, |
| 922 'enable_print_preview%': 1, | 925 'enable_print_preview%': 1, |
| 923 # When building for ChromeOS we dont want Chromium to use libjpeg_turb
o. | |
| 924 'use_libjpeg_turbo%': 0, | |
| 925 }], | 926 }], |
| 926 | 927 |
| 927 # Do not enable the Settings App on ChromeOS. | 928 # Do not enable the Settings App on ChromeOS. |
| 928 ['enable_app_list==1 and chromeos==0', { | 929 ['enable_app_list==1 and chromeos==0', { |
| 929 'enable_settings_app%': 1, | 930 'enable_settings_app%': 1, |
| 930 }, { | 931 }, { |
| 931 'enable_settings_app%': 0, | 932 'enable_settings_app%': 0, |
| 932 }], | 933 }], |
| 933 | 934 |
| 934 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 935 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1002 'enable_wifi_bootstrapping%' : 1, | 1003 'enable_wifi_bootstrapping%' : 1, |
| 1003 }], | 1004 }], |
| 1004 | 1005 |
| 1005 # Path to sas.dll, which provides the SendSAS function. | 1006 # Path to sas.dll, which provides the SendSAS function. |
| 1006 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs.
85).aspx | 1007 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs.
85).aspx |
| 1007 ['target_arch=="x64"', { | 1008 ['target_arch=="x64"', { |
| 1008 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a
md64', | 1009 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a
md64', |
| 1009 }, { | 1010 }, { |
| 1010 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x
86', | 1011 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x
86', |
| 1011 }], | 1012 }], |
| 1012 | |
| 1013 # Enable crash reporting via Kasko. | |
| 1014 ['OS=="win" and target_arch=="ia32"', { | |
| 1015 # TODO(erikwright): This should be disabled after a single ship on Can
ary channel. | |
| 1016 'kasko%': 1, | |
| 1017 }, { | |
| 1018 'kasko%': 0, | |
| 1019 }], | |
| 1020 | |
| 1021 ], | 1013 ], |
| 1022 | 1014 |
| 1023 # Setting this to '0' will cause V8's startup snapshot to be | 1015 # Setting this to '0' will cause V8's startup snapshot to be |
| 1024 # embedded in the binary instead of being a external files. | 1016 # embedded in the binary instead of being a external files. |
| 1025 'v8_use_external_startup_data%': 1, | 1017 'v8_use_external_startup_data%': 1, |
| 1026 | 1018 |
| 1027 # Set this to 1 to enable use of concatenated impulse responses | 1019 # Set this to 1 to enable use of concatenated impulse responses |
| 1028 # for the HRTF panner in WebAudio. | 1020 # for the HRTF panner in WebAudio. |
| 1029 'use_concatenated_impulse_responses': 1, | 1021 'use_concatenated_impulse_responses': 1, |
| 1030 | 1022 |
| (...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 'ozone_platform_dri%': 0, | 1505 'ozone_platform_dri%': 0, |
| 1514 'ozone_platform_drm%': 0, | 1506 'ozone_platform_drm%': 0, |
| 1515 'ozone_platform_egltest%': 0, | 1507 'ozone_platform_egltest%': 0, |
| 1516 'ozone_platform_gbm%': 0, | 1508 'ozone_platform_gbm%': 0, |
| 1517 'ozone_platform_ozonex%': 0, | 1509 'ozone_platform_ozonex%': 0, |
| 1518 'ozone_platform_test%': 0, | 1510 'ozone_platform_test%': 0, |
| 1519 | 1511 |
| 1520 # Experiment: http://crbug.com/426914 | 1512 # Experiment: http://crbug.com/426914 |
| 1521 'envoy%': 0, | 1513 'envoy%': 0, |
| 1522 | 1514 |
| 1515 # Used to set libjpeg_gyp_path. Chrome OS ui/gfx/gfx.gyp uses the IJG path |
| 1516 # for robust login screen decoding. |
| 1517 'libjpeg_ijg_gyp_path': '<(DEPTH)/third_party/libjpeg/libjpeg.gyp', |
| 1518 'libjpeg_turbo_gyp_path': '<(DEPTH)/third_party/libjpeg_turbo/libjpeg.gyp', |
| 1519 |
| 1523 'conditions': [ | 1520 'conditions': [ |
| 1524 ['buildtype=="Official"', { | 1521 ['buildtype=="Official"', { |
| 1525 # Continue to embed build meta data in Official builds, basically the | 1522 # Continue to embed build meta data in Official builds, basically the |
| 1526 # time it was built. | 1523 # time it was built. |
| 1527 # TODO(maruel): This decision should be revisited because having an | 1524 # TODO(maruel): This decision should be revisited because having an |
| 1528 # official deterministic build has high value too but MSVC toolset can't | 1525 # official deterministic build has high value too but MSVC toolset can't |
| 1529 # generate anything deterministic with WPO enabled AFAIK. | 1526 # generate anything deterministic with WPO enabled AFAIK. |
| 1530 'dont_embed_build_metadata%': 0, | 1527 'dont_embed_build_metadata%': 0, |
| 1531 }], | 1528 }], |
| 1532 # Enable the Syzygy optimization step for the official builds. | 1529 # Enable the Syzygy optimization step for the official builds. |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1807 | 1804 |
| 1808 # Android does not support background apps. | 1805 # Android does not support background apps. |
| 1809 'enable_background%': 0, | 1806 'enable_background%': 0, |
| 1810 | 1807 |
| 1811 # Sessions are store separately in the Java side. | 1808 # Sessions are store separately in the Java side. |
| 1812 'enable_session_service%': 0, | 1809 'enable_session_service%': 0, |
| 1813 | 1810 |
| 1814 'p2p_apis%' : 0, | 1811 'p2p_apis%' : 0, |
| 1815 | 1812 |
| 1816 'gtest_target_type%': 'shared_library', | 1813 'gtest_target_type%': 'shared_library', |
| 1817 | |
| 1818 # Uses system APIs for decoding audio and video. | |
| 1819 'use_libffmpeg%': '0', | |
| 1820 }], # OS=="android" | 1814 }], # OS=="android" |
| 1821 ['embedded==1', { | 1815 ['embedded==1', { |
| 1822 'use_system_fontconfig%': 0, | 1816 'use_system_fontconfig%': 0, |
| 1823 }, { | 1817 }, { |
| 1824 'use_system_fontconfig%': 1, | 1818 'use_system_fontconfig%': 1, |
| 1825 }], | 1819 }], |
| 1826 ['chromecast==1', { | 1820 ['chromecast==1', { |
| 1827 'enable_mpeg2ts_stream_parser%': 1, | 1821 'enable_mpeg2ts_stream_parser%': 1, |
| 1828 'ffmpeg_branding%': 'ChromeOS', | 1822 'ffmpeg_branding%': 'ChromeOS', |
| 1829 'ozone_platform_ozonex%': 1, | 1823 'ozone_platform_ozonex%': 1, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2001 ['target_arch=="arm" or target_arch=="mipsel" or target_arch=="mips64el"',
{ | 1995 ['target_arch=="arm" or target_arch=="mipsel" or target_arch=="mips64el"',
{ |
| 2002 'disable_glibc%': 1, | 1996 'disable_glibc%': 1, |
| 2003 }, { | 1997 }, { |
| 2004 'disable_glibc%': 0, | 1998 'disable_glibc%': 0, |
| 2005 }], | 1999 }], |
| 2006 | 2000 |
| 2007 # Set the relative path from this file to the GYP file of the JPEG | 2001 # Set the relative path from this file to the GYP file of the JPEG |
| 2008 # library used by Chromium. | 2002 # library used by Chromium. |
| 2009 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', { | 2003 ['use_system_libjpeg==1 or use_libjpeg_turbo==0', { |
| 2010 # Configuration for using the system libjeg is here. | 2004 # Configuration for using the system libjeg is here. |
| 2011 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', | 2005 'libjpeg_gyp_path': '<(libjpeg_ijg_gyp_path)', |
| 2012 }, { | 2006 }, { |
| 2013 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', | 2007 'libjpeg_gyp_path': '<(libjpeg_turbo_gyp_path)', |
| 2014 }], | 2008 }], |
| 2015 | 2009 |
| 2016 # Options controlling the use of GConf (the classic GNOME configuration | 2010 # Options controlling the use of GConf (the classic GNOME configuration |
| 2017 # system) and GIO, which contains GSettings (the new GNOME config system). | 2011 # system) and GIO, which contains GSettings (the new GNOME config system). |
| 2018 ['chromeos==1 or embedded==1', { | 2012 ['chromeos==1 or embedded==1', { |
| 2019 'use_gconf%': 0, | 2013 'use_gconf%': 0, |
| 2020 'use_gio%': 0, | 2014 'use_gio%': 0, |
| 2021 }, { | 2015 }, { |
| 2022 'use_gconf%': 1, | 2016 'use_gconf%': 1, |
| 2023 'use_gio%': 1, | 2017 'use_gio%': 1, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2173 'variables': { | 2167 'variables': { |
| 2174 'conditions': [ | 2168 'conditions': [ |
| 2175 ['OS=="mac" or OS=="ios"', { | 2169 ['OS=="mac" or OS=="ios"', { |
| 2176 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll
vm-build/Release+Asserts/lib/libFindBadConstructs.dylib', | 2170 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll
vm-build/Release+Asserts/lib/libFindBadConstructs.dylib', |
| 2177 }, { # OS != "mac" or OS != "ios" | 2171 }, { # OS != "mac" or OS != "ios" |
| 2178 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll
vm-build/Release+Asserts/lib/libFindBadConstructs.so', | 2172 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll
vm-build/Release+Asserts/lib/libFindBadConstructs.so', |
| 2179 }], | 2173 }], |
| 2180 ], | 2174 ], |
| 2181 }, | 2175 }, |
| 2182 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', | 2176 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', |
| 2183 'clang_plugin_args%': '', | |
| 2184 }, { # OS == "win" | 2177 }, { # OS == "win" |
| 2185 # On Windows, the plugin is built directly into clang, so there's | 2178 # On Windows, the plugin is built directly into clang, so there's |
| 2186 # no need to load it dynamically. | 2179 # no need to load it dynamically. |
| 2187 'clang_dynlib_flags%': '', | 2180 'clang_dynlib_flags%': '', |
| 2188 | |
| 2189 # Don't error on plugin warnings on Windows until pre-existing war
nings | |
| 2190 # are cleaned up. https://crbug.com/467287 | |
| 2191 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xc
lang warn-only', | |
| 2192 }] | 2181 }] |
| 2193 ], | 2182 ], |
| 2194 }, | 2183 }, |
| 2195 # If you change these, also change build/config/clang/BUILD.gn. | 2184 # If you change these, also change build/config/clang/BUILD.gn. |
| 2196 'clang_chrome_plugins_flags%': | 2185 'clang_chrome_plugins_flags%': |
| 2197 '<(clang_dynlib_flags)' | 2186 '<(clang_dynlib_flags)' |
| 2198 '-Xclang -add-plugin -Xclang find-bad-constructs ' | 2187 '-Xclang -add-plugin -Xclang find-bad-constructs ', |
| 2199 '<(clang_plugin_args)', | |
| 2200 }], | 2188 }], |
| 2201 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2189 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
| 2202 'clang%': 1, | 2190 'clang%': 1, |
| 2203 'use_allocator%': 'none', | 2191 'use_allocator%': 'none', |
| 2204 'use_sanitizer_options%': 1, | 2192 'use_sanitizer_options%': 1, |
| 2205 # Disable ICF in the linker to avoid debug info loss. | 2193 # Disable ICF in the linker to avoid debug info loss. |
| 2206 'gold_icf_level%': 'none', | 2194 'gold_icf_level%': 'none', |
| 2207 }], | 2195 }], |
| 2208 ['asan==1 and OS=="linux" and chromeos==0', { | 2196 ['asan==1 and OS=="linux" and chromeos==0', { |
| 2209 'use_custom_libcxx%': 1, | 2197 'use_custom_libcxx%': 1, |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2241 ['host_arch=="ia32"', { | 2229 ['host_arch=="ia32"', { |
| 2242 # 32-bit Clang is unsupported. It may not build. Put your 32-bit | 2230 # 32-bit Clang is unsupported. It may not build. Put your 32-bit |
| 2243 # Clang in this directory at your own risk if needed for some | 2231 # Clang in this directory at your own risk if needed for some |
| 2244 # purpose (e.g. to compare 32-bit and 64-bit behavior like memory | 2232 # purpose (e.g. to compare 32-bit and 64-bit behavior like memory |
| 2245 # usage). Any failure by this compiler should not close the tree. | 2233 # usage). Any failure by this compiler should not close the tree. |
| 2246 'make_clang_dir%': 'third_party/llvm-allocated-type/Linux_ia32', | 2234 'make_clang_dir%': 'third_party/llvm-allocated-type/Linux_ia32', |
| 2247 }], | 2235 }], |
| 2248 ], | 2236 ], |
| 2249 }], | 2237 }], |
| 2250 | 2238 |
| 2251 ['OS=="win"', { | 2239 ['OS=="win" and target_arch=="x64"', { |
| 2252 # The Blink GC plugin doesn't currently work on Windows. | 2240 # TODO(thakis): Enable on x64 once all warnings are fixed. |
| 2253 # TODO(hans): One day, this will work. (crbug.com/82385) | 2241 # http://crbug.com/486571 |
| 2254 'blink_gc_plugin%': 0, | 2242 'blink_gc_plugin%': 0, |
| 2255 }], | 2243 }], |
| 2256 | 2244 |
| 2257 # On valgrind bots, override the optimizer settings so we don't inline too | 2245 # On valgrind bots, override the optimizer settings so we don't inline too |
| 2258 # much and make the stacks harder to figure out. | 2246 # much and make the stacks harder to figure out. |
| 2259 # | 2247 # |
| 2260 # TODO(rnk): Kill off variables that no one else uses and just implement | 2248 # TODO(rnk): Kill off variables that no one else uses and just implement |
| 2261 # them under a build_for_tool== condition. | 2249 # them under a build_for_tool== condition. |
| 2262 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { | 2250 ['build_for_tool=="memcheck" or build_for_tool=="tsan"', { |
| 2263 # gcc flags | 2251 # gcc flags |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2624 'xcode_settings': { | 2612 'xcode_settings': { |
| 2625 'DYLIB_INSTALL_NAME_BASE': '@rpath', | 2613 'DYLIB_INSTALL_NAME_BASE': '@rpath', |
| 2626 'LD_RUNPATH_SEARCH_PATHS': [ | 2614 'LD_RUNPATH_SEARCH_PATHS': [ |
| 2627 # For unbundled binaries. | 2615 # For unbundled binaries. |
| 2628 '@loader_path/.', | 2616 '@loader_path/.', |
| 2629 # For bundled binaries, to get back from Binary.app/Contents/MacOS. | 2617 # For bundled binaries, to get back from Binary.app/Contents/MacOS. |
| 2630 '@loader_path/../../..', | 2618 '@loader_path/../../..', |
| 2631 ], | 2619 ], |
| 2632 }, | 2620 }, |
| 2633 }], | 2621 }], |
| 2634 ['(clang==1 or host_clang==1) and OS!="win"', { | 2622 ['clang==1 or host_clang==1', { |
| 2635 # This is here so that all files get recompiled after a clang roll and | 2623 # This is here so that all files get recompiled after a clang roll and |
| 2636 # when turning clang on or off. | 2624 # when turning clang on or off. |
| 2637 # (defines are passed via the command line, and build systems rebuild | 2625 # (defines are passed via the command line, and build systems rebuild |
| 2638 # things when their commandline changes). Nothing should ever read this | 2626 # things when their commandline changes). Nothing should ever read this |
| 2639 # define. | 2627 # define. |
| 2640 'defines': ['CR_CLANG_REVISION=<!(<(DEPTH)/tools/clang/scripts/update.sh
--print-revision)'], | 2628 'defines': ['CR_CLANG_REVISION=<!(python <(DEPTH)/tools/clang/scripts/up
date.py --print-revision)'], |
| 2641 }], | 2629 }], |
| 2642 ['enable_rlz==1', { | 2630 ['enable_rlz==1', { |
| 2643 'defines': ['ENABLE_RLZ'], | 2631 'defines': ['ENABLE_RLZ'], |
| 2644 }], | 2632 }], |
| 2645 ['component=="shared_library"', { | 2633 ['component=="shared_library"', { |
| 2646 'defines': ['COMPONENT_BUILD'], | 2634 'defines': ['COMPONENT_BUILD'], |
| 2647 }], | 2635 }], |
| 2648 ['toolkit_views==1', { | 2636 ['toolkit_views==1', { |
| 2649 'defines': ['TOOLKIT_VIEWS=1'], | 2637 'defines': ['TOOLKIT_VIEWS=1'], |
| 2650 }], | 2638 }], |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2933 ['enable_session_service==1', { | 2921 ['enable_session_service==1', { |
| 2934 'defines': ['ENABLE_SESSION_SERVICE=1'], | 2922 'defines': ['ENABLE_SESSION_SERVICE=1'], |
| 2935 }], | 2923 }], |
| 2936 ['enable_themes==1', { | 2924 ['enable_themes==1', { |
| 2937 'defines': ['ENABLE_THEMES=1'], | 2925 'defines': ['ENABLE_THEMES=1'], |
| 2938 }], | 2926 }], |
| 2939 ['enable_autofill_dialog==1', { | 2927 ['enable_autofill_dialog==1', { |
| 2940 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], | 2928 'defines': ['ENABLE_AUTOFILL_DIALOG=1'], |
| 2941 }], | 2929 }], |
| 2942 ['enable_prod_wallet_service==1', { | 2930 ['enable_prod_wallet_service==1', { |
| 2931 # In GN, this is set on the autofill tagets only. See |
| 2932 # //components/autofill/core/browser:wallet_service |
| 2943 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], | 2933 'defines': ['ENABLE_PROD_WALLET_SERVICE=1'], |
| 2944 }], | 2934 }], |
| 2945 ['enable_background==1', { | 2935 ['enable_background==1', { |
| 2946 'defines': ['ENABLE_BACKGROUND=1'], | 2936 'defines': ['ENABLE_BACKGROUND=1'], |
| 2947 }], | 2937 }], |
| 2948 ['enable_google_now==1', { | 2938 ['enable_google_now==1', { |
| 2949 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2939 'defines': ['ENABLE_GOOGLE_NOW=1'], |
| 2950 }], | 2940 }], |
| 2951 ['cld_version!=0', { | 2941 ['cld_version!=0', { |
| 2952 'defines': ['CLD_VERSION=<(cld_version)'], | 2942 'defines': ['CLD_VERSION=<(cld_version)'], |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3011 }], | 3001 }], |
| 3012 ['v8_use_external_startup_data==1', { | 3002 ['v8_use_external_startup_data==1', { |
| 3013 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], | 3003 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], |
| 3014 }], | 3004 }], |
| 3015 | 3005 |
| 3016 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service. | 3006 # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service. |
| 3017 # SAFE_BROWSING_DB_LOCAL - service manages a local database. | 3007 # SAFE_BROWSING_DB_LOCAL - service manages a local database. |
| 3018 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database | 3008 # SAFE_BROWSING_DB_REMOTE - service talks via API to a database |
| 3019 # SAFE_BROWSING_CSD - enable client-side phishing detection. | 3009 # SAFE_BROWSING_CSD - enable client-side phishing detection. |
| 3020 ['safe_browsing==1', { | 3010 ['safe_browsing==1', { |
| 3021 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING | |
| 3022 'defines': [ | 3011 'defines': [ |
| 3012 # TODO(nparker): Remove existing uses of FULL_SAFE_BROWSING |
| 3023 'FULL_SAFE_BROWSING', | 3013 'FULL_SAFE_BROWSING', |
| 3024 'SAFE_BROWSING_CSD', | 3014 'SAFE_BROWSING_CSD', |
| 3025 'SAFE_BROWSING_DB_LOCAL', | 3015 'SAFE_BROWSING_DB_LOCAL', |
| 3026 'SAFE_BROWSING_SERVICE', | 3016 'SAFE_BROWSING_SERVICE', |
| 3027 ], | 3017 ], |
| 3028 }], | 3018 }], |
| 3029 ['safe_browsing==2', { | 3019 ['safe_browsing==2', { |
| 3030 'defines': [ | 3020 'defines': [ |
| 3031 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING | 3021 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING |
| 3032 'MOBILE_SAFE_BROWSING', | 3022 'MOBILE_SAFE_BROWSING', |
| 3033 'SAFE_BROWSING_SERVICE', | 3023 'SAFE_BROWSING_SERVICE', |
| 3034 ], | 3024 ], |
| 3035 }], | 3025 }], |
| 3026 ['safe_browsing==3', { |
| 3027 'defines': [ |
| 3028 # TODO(nparker): Remove existing uses of MOBILE_SAFE_BROWSING |
| 3029 'MOBILE_SAFE_BROWSING', |
| 3030 'SAFE_BROWSING_DB_REMOTE', |
| 3031 'SAFE_BROWSING_SERVICE', |
| 3032 ], |
| 3033 }], |
| 3036 ], # conditions for 'target_defaults' | 3034 ], # conditions for 'target_defaults' |
| 3037 'target_conditions': [ | 3035 'target_conditions': [ |
| 3038 ['<(use_libpci)==1', { | 3036 ['<(use_libpci)==1', { |
| 3039 'defines': ['USE_LIBPCI=1'], | 3037 'defines': ['USE_LIBPCI=1'], |
| 3040 }], | 3038 }], |
| 3041 ['<(use_openssl)==1', { | 3039 ['<(use_openssl)==1', { |
| 3042 'defines': ['USE_OPENSSL=1'], | 3040 'defines': ['USE_OPENSSL=1'], |
| 3043 }], | 3041 }], |
| 3044 ['<(use_openssl_certs)==1', { | 3042 ['<(use_openssl_certs)==1', { |
| 3045 'defines': ['USE_OPENSSL_CERTS=1'], | 3043 'defines': ['USE_OPENSSL_CERTS=1'], |
| (...skipping 3144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6190 # settings in target dicts. SYMROOT is a special case, because many other | 6188 # settings in target dicts. SYMROOT is a special case, because many other |
| 6191 # Xcode variables depend on it, including variables such as | 6189 # Xcode variables depend on it, including variables such as |
| 6192 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6190 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6193 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6191 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6194 # files to appear (when present) in the UI as actual files and not red | 6192 # files to appear (when present) in the UI as actual files and not red |
| 6195 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6193 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6196 # and therefore SYMROOT, needs to be set at the project level. | 6194 # and therefore SYMROOT, needs to be set at the project level. |
| 6197 'SYMROOT': '<(DEPTH)/xcodebuild', | 6195 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6198 }, | 6196 }, |
| 6199 } | 6197 } |
| OLD | NEW |