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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
820 'v8_optimized_debug%': 1, | 820 'v8_optimized_debug%': 1, |
821 }, { | 821 }, { |
822 'v8_optimized_debug%': 2, | 822 'v8_optimized_debug%': 2, |
823 }], | 823 }], |
824 | 824 |
825 # Disable various features by default on embedded. | 825 # Disable various features by default on embedded. |
826 ['embedded==1', { | 826 ['embedded==1', { |
827 'remoting%': 0, | 827 'remoting%': 0, |
828 'enable_printing%': 0, | 828 'enable_printing%': 0, |
829 }], | 829 }], |
| 830 |
| 831 # By default, use ICU data file (icudtl.dat) on all platforms |
| 832 # except when building Android WebView. |
| 833 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). |
| 834 ['android_webview_build==0', { |
| 835 'icu_use_data_file_flag%' : 1, |
| 836 }, { |
| 837 'icu_use_data_file_flag%' : 0, |
| 838 }], |
830 ], | 839 ], |
831 | 840 |
832 # Set this to 1 to enable use of concatenated impulse responses | 841 # Set this to 1 to enable use of concatenated impulse responses |
833 # for the HRTF panner in WebAudio. | 842 # for the HRTF panner in WebAudio. |
834 'use_concatenated_impulse_responses': 1, | 843 'use_concatenated_impulse_responses': 1, |
835 | 844 |
836 # You can set the variable 'use_official_google_api_keys' to 1 | 845 # You can set the variable 'use_official_google_api_keys' to 1 |
837 # to use the Google-internal file containing official API keys | 846 # to use the Google-internal file containing official API keys |
838 # for Google Chrome even in a developer build. Setting this | 847 # for Google Chrome even in a developer build. Setting this |
839 # variable explicitly to 1 will cause your build to fail if the | 848 # variable explicitly to 1 will cause your build to fail if the |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 'enable_google_now%': '<(enable_google_now)', | 978 'enable_google_now%': '<(enable_google_now)', |
970 'cld_version%': '<(cld_version)', | 979 'cld_version%': '<(cld_version)', |
971 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 980 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
972 'disable_ftp_support%': '<(disable_ftp_support)', | 981 'disable_ftp_support%': '<(disable_ftp_support)', |
973 'enable_task_manager%': '<(enable_task_manager)', | 982 'enable_task_manager%': '<(enable_task_manager)', |
974 'sas_dll_path%': '<(sas_dll_path)', | 983 'sas_dll_path%': '<(sas_dll_path)', |
975 'wix_path%': '<(wix_path)', | 984 'wix_path%': '<(wix_path)', |
976 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 985 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
977 'use_system_libjpeg%': '<(use_system_libjpeg)', | 986 'use_system_libjpeg%': '<(use_system_libjpeg)', |
978 'android_webview_build%': '<(android_webview_build)', | 987 'android_webview_build%': '<(android_webview_build)', |
| 988 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', |
979 'gyp_managed_install%': 0, | 989 'gyp_managed_install%': 0, |
980 'create_standalone_apk%': 1, | 990 'create_standalone_apk%': 1, |
981 'enable_app_list%': '<(enable_app_list)', | 991 'enable_app_list%': '<(enable_app_list)', |
982 'use_default_render_theme%': '<(use_default_render_theme)', | 992 'use_default_render_theme%': '<(use_default_render_theme)', |
983 'enable_settings_app%': '<(enable_settings_app)', | 993 'enable_settings_app%': '<(enable_settings_app)', |
984 'google_api_key%': '<(google_api_key)', | 994 'google_api_key%': '<(google_api_key)', |
985 'google_default_client_id%': '<(google_default_client_id)', | 995 'google_default_client_id%': '<(google_default_client_id)', |
986 'google_default_client_secret%': '<(google_default_client_secret)', | 996 'google_default_client_secret%': '<(google_default_client_secret)', |
987 'enable_managed_users%': '<(enable_managed_users)', | 997 'enable_managed_users%': '<(enable_managed_users)', |
988 'native_discardable_memory%': '<(native_discardable_memory)', | 998 'native_discardable_memory%': '<(native_discardable_memory)', |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 | 1274 |
1265 # Use brlapi from brltty for braille display support. | 1275 # Use brlapi from brltty for braille display support. |
1266 'use_brlapi%': 0, | 1276 'use_brlapi%': 0, |
1267 | 1277 |
1268 # Relative path to icu.gyp from this file. | 1278 # Relative path to icu.gyp from this file. |
1269 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1279 'icu_gyp_path': '../third_party/icu/icu.gyp', |
1270 | 1280 |
1271 # IPC fuzzer is disabled by default. | 1281 # IPC fuzzer is disabled by default. |
1272 'enable_ipc_fuzzer%': 0, | 1282 'enable_ipc_fuzzer%': 0, |
1273 | 1283 |
1274 # Whether or not to use "icu*.dat" file for ICU data. | |
1275 # Do not use it by default. | |
1276 'icu_use_data_file_flag%': 0, | |
1277 | 1284 |
1278 # Force disable libstdc++ debug mode. | 1285 # Force disable libstdc++ debug mode. |
1279 'disable_glibcxx_debug%': 0, | 1286 'disable_glibcxx_debug%': 0, |
1280 | 1287 |
1281 'conditions': [ | 1288 'conditions': [ |
1282 # The version of GCC in use, set later in platforms that use GCC and have | 1289 # The version of GCC in use, set later in platforms that use GCC and have |
1283 # not explicitly chosen to build with clang. Currently, this means all | 1290 # not explicitly chosen to build with clang. Currently, this means all |
1284 # platforms except Windows, Mac and iOS. | 1291 # platforms except Windows, Mac and iOS. |
1285 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1292 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1286 # it takes effect here. | 1293 # it takes effect here. |
(...skipping 14 matching lines...) Expand all Loading... |
1301 }, { | 1308 }, { |
1302 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1309 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
1303 }], | 1310 }], |
1304 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { | 1311 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { |
1305 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1312 'directx_sdk_path%': '<(directx_sdk_default_path)', |
1306 }, { | 1313 }, { |
1307 'directx_sdk_path%': '$(DXSDK_DIR)', | 1314 'directx_sdk_path%': '$(DXSDK_DIR)', |
1308 }], | 1315 }], |
1309 ['OS=="win"', { | 1316 ['OS=="win"', { |
1310 'windows_driver_kit_path%': '$(WDK_DIR)', | 1317 'windows_driver_kit_path%': '$(WDK_DIR)', |
1311 'icu_use_data_file_flag%': 1, | |
1312 }], | 1318 }], |
1313 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1319 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1314 'conditions': [ | 1320 'conditions': [ |
1315 ['target_arch=="mipsel"', { | 1321 ['target_arch=="mipsel"', { |
1316 'werror%': '', | 1322 'werror%': '', |
1317 'disable_nacl%': 1, | 1323 'disable_nacl%': 1, |
1318 'nacl_untrusted_build%': 0, | 1324 'nacl_untrusted_build%': 0, |
1319 'linux_use_tcmalloc%': 0, | 1325 'linux_use_tcmalloc%': 0, |
1320 }], | 1326 }], |
1321 ['OS=="linux" and target_arch=="mipsel"', { | 1327 ['OS=="linux" and target_arch=="mipsel"', { |
1322 'sysroot%': '<(sysroot)', | 1328 'sysroot%': '<(sysroot)', |
1323 'CXX%': '<(CXX)', | 1329 'CXX%': '<(CXX)', |
1324 }], | 1330 }], |
1325 # All Chrome builds have breakpad symbols, but only process the | 1331 # All Chrome builds have breakpad symbols, but only process the |
1326 # symbols from official builds. | 1332 # symbols from official builds. |
1327 ['(branding=="Chrome" and buildtype=="Official")', { | 1333 ['(branding=="Chrome" and buildtype=="Official")', { |
1328 'linux_dump_symbols%': 1, | 1334 'linux_dump_symbols%': 1, |
1329 | 1335 |
1330 # Omit unwind support in official release builds to save space. We | 1336 # Omit unwind support in official release builds to save space. We |
1331 # can use breakpad for these builds. | 1337 # can use breakpad for these builds. |
1332 'release_unwind_tables%': 0, | 1338 'release_unwind_tables%': 0, |
1333 }], | 1339 }], |
1334 # TODO(jungshik): Turn this on on Android. | |
1335 # For ChromeOS, this should be turned on in chromeos-chrome.ebuild | |
1336 # file as well by adding icu_use_data_file_flag=1 to BUILD_DEFINES. | |
1337 ['OS!="android"', { | |
1338 'icu_use_data_file_flag%': 1, | |
1339 }], | |
1340 ], | 1340 ], |
1341 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1341 }], # os_posix==1 and OS!="mac" and OS!="ios" |
1342 ['OS=="mac"', { | |
1343 'icu_use_data_file_flag%': 1, | |
1344 }], # os=="mac" | |
1345 ['OS=="ios"', { | 1342 ['OS=="ios"', { |
1346 'disable_nacl%': 1, | 1343 'disable_nacl%': 1, |
1347 'enable_background%': 0, | 1344 'enable_background%': 0, |
1348 'icu_use_data_file_flag%': 1, | |
1349 'use_system_libxml%': 1, | 1345 'use_system_libxml%': 1, |
1350 'use_system_sqlite%': 1, | 1346 'use_system_sqlite%': 1, |
1351 'locales==': [ | 1347 'locales==': [ |
1352 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1348 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', |
1353 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', | 1349 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
1354 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', | 1350 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', |
1355 'vi', 'zh-CN', 'zh-TW', | 1351 'vi', 'zh-CN', 'zh-TW', |
1356 ], | 1352 ], |
1357 | 1353 |
1358 # The Mac SDK is set for iOS builds and passed through to Mac | 1354 # The Mac SDK is set for iOS builds and passed through to Mac |
(...skipping 3640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4999 # settings in target dicts. SYMROOT is a special case, because many other | 4995 # settings in target dicts. SYMROOT is a special case, because many other |
5000 # Xcode variables depend on it, including variables such as | 4996 # Xcode variables depend on it, including variables such as |
5001 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4997 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5002 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4998 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5003 # files to appear (when present) in the UI as actual files and not red | 4999 # files to appear (when present) in the UI as actual files and not red |
5004 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5000 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5005 # and therefore SYMROOT, needs to be set at the project level. | 5001 # and therefore SYMROOT, needs to be set at the project level. |
5006 'SYMROOT': '<(DEPTH)/xcodebuild', | 5002 'SYMROOT': '<(DEPTH)/xcodebuild', |
5007 }, | 5003 }, |
5008 } | 5004 } |
OLD | NEW |