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 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
813 'v8_optimized_debug%': 1, | 813 'v8_optimized_debug%': 1, |
814 }, { | 814 }, { |
815 'v8_optimized_debug%': 2, | 815 'v8_optimized_debug%': 2, |
816 }], | 816 }], |
817 | 817 |
818 # Disable various features by default on embedded. | 818 # Disable various features by default on embedded. |
819 ['embedded==1', { | 819 ['embedded==1', { |
820 'remoting%': 0, | 820 'remoting%': 0, |
821 'enable_printing%': 0, | 821 'enable_printing%': 0, |
822 }], | 822 }], |
823 | |
824 # By default, use ICU data file (icudtl.dat) on all platforms | |
825 # except when building Android WebView. | |
826 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). | |
827 ['android_webview_build==0', { | |
828 'icu_use_data_file_flag%' : 1, | |
829 }, { | |
830 'icu_use_data_file_flag%' : 0, | |
831 }], | |
832 ], | 823 ], |
833 | 824 |
834 # Set this to 1 to enable use of concatenated impulse responses | 825 # Set this to 1 to enable use of concatenated impulse responses |
835 # for the HRTF panner in WebAudio. | 826 # for the HRTF panner in WebAudio. |
836 'use_concatenated_impulse_responses': 1, | 827 'use_concatenated_impulse_responses': 1, |
837 | 828 |
838 # You can set the variable 'use_official_google_api_keys' to 1 | 829 # You can set the variable 'use_official_google_api_keys' to 1 |
839 # to use the Google-internal file containing official API keys | 830 # to use the Google-internal file containing official API keys |
840 # for Google Chrome even in a developer build. Setting this | 831 # for Google Chrome even in a developer build. Setting this |
841 # variable explicitly to 1 will cause your build to fail if the | 832 # 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... |
971 'enable_google_now%': '<(enable_google_now)', | 962 'enable_google_now%': '<(enable_google_now)', |
972 'cld_version%': '<(cld_version)', | 963 'cld_version%': '<(cld_version)', |
973 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 964 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
974 'disable_ftp_support%': '<(disable_ftp_support)', | 965 'disable_ftp_support%': '<(disable_ftp_support)', |
975 'enable_task_manager%': '<(enable_task_manager)', | 966 'enable_task_manager%': '<(enable_task_manager)', |
976 'sas_dll_path%': '<(sas_dll_path)', | 967 'sas_dll_path%': '<(sas_dll_path)', |
977 'wix_path%': '<(wix_path)', | 968 'wix_path%': '<(wix_path)', |
978 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 969 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
979 'use_system_libjpeg%': '<(use_system_libjpeg)', | 970 'use_system_libjpeg%': '<(use_system_libjpeg)', |
980 'android_webview_build%': '<(android_webview_build)', | 971 'android_webview_build%': '<(android_webview_build)', |
981 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', | |
982 'gyp_managed_install%': 0, | 972 'gyp_managed_install%': 0, |
983 'create_standalone_apk%': 1, | 973 'create_standalone_apk%': 1, |
984 'enable_app_list%': '<(enable_app_list)', | 974 'enable_app_list%': '<(enable_app_list)', |
985 'use_default_render_theme%': '<(use_default_render_theme)', | 975 'use_default_render_theme%': '<(use_default_render_theme)', |
986 'enable_settings_app%': '<(enable_settings_app)', | 976 'enable_settings_app%': '<(enable_settings_app)', |
987 'google_api_key%': '<(google_api_key)', | 977 'google_api_key%': '<(google_api_key)', |
988 'google_default_client_id%': '<(google_default_client_id)', | 978 'google_default_client_id%': '<(google_default_client_id)', |
989 'google_default_client_secret%': '<(google_default_client_secret)', | 979 'google_default_client_secret%': '<(google_default_client_secret)', |
990 'enable_managed_users%': '<(enable_managed_users)', | 980 'enable_managed_users%': '<(enable_managed_users)', |
991 'native_discardable_memory%': '<(native_discardable_memory)', | 981 'native_discardable_memory%': '<(native_discardable_memory)', |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 | 1257 |
1268 # Use brlapi from brltty for braille display support. | 1258 # Use brlapi from brltty for braille display support. |
1269 'use_brlapi%': 0, | 1259 'use_brlapi%': 0, |
1270 | 1260 |
1271 # Relative path to icu.gyp from this file. | 1261 # Relative path to icu.gyp from this file. |
1272 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1262 'icu_gyp_path': '../third_party/icu/icu.gyp', |
1273 | 1263 |
1274 # IPC fuzzer is disabled by default. | 1264 # IPC fuzzer is disabled by default. |
1275 'enable_ipc_fuzzer%': 0, | 1265 'enable_ipc_fuzzer%': 0, |
1276 | 1266 |
| 1267 # Whether or not to use "icu*.dat" file for ICU data. |
| 1268 # Do not use it by default. |
| 1269 'icu_use_data_file_flag%': 0, |
1277 | 1270 |
1278 # Force disable libstdc++ debug mode. | 1271 # Force disable libstdc++ debug mode. |
1279 'disable_glibcxx_debug%': 0, | 1272 'disable_glibcxx_debug%': 0, |
1280 | 1273 |
1281 # Set to 1 to compile with the hole punching for the protected video. | 1274 # Set to 1 to compile with the hole punching for the protected video. |
1282 'video_hole%': 0, | 1275 'video_hole%': 0, |
1283 | 1276 |
1284 # Enable a new Gamepad interface. This is temporary and should go | 1277 # Enable a new Gamepad interface. This is temporary and should go |
1285 # away once the chrome and blink interfaces are in sync | 1278 # away once the chrome and blink interfaces are in sync |
1286 'enable_new_gamepad_api%': 1, | 1279 'enable_new_gamepad_api%': 1, |
(...skipping 21 matching lines...) Expand all Loading... |
1308 }, { | 1301 }, { |
1309 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1302 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
1310 }], | 1303 }], |
1311 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { | 1304 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { |
1312 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1305 'directx_sdk_path%': '<(directx_sdk_default_path)', |
1313 }, { | 1306 }, { |
1314 'directx_sdk_path%': '$(DXSDK_DIR)', | 1307 'directx_sdk_path%': '$(DXSDK_DIR)', |
1315 }], | 1308 }], |
1316 ['OS=="win"', { | 1309 ['OS=="win"', { |
1317 'windows_driver_kit_path%': '$(WDK_DIR)', | 1310 'windows_driver_kit_path%': '$(WDK_DIR)', |
| 1311 'icu_use_data_file_flag%': 1, |
1318 }], | 1312 }], |
1319 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1313 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1320 'conditions': [ | 1314 'conditions': [ |
1321 ['target_arch=="mipsel"', { | 1315 ['target_arch=="mipsel"', { |
1322 'werror%': '', | 1316 'werror%': '', |
1323 'disable_nacl%': 1, | 1317 'disable_nacl%': 1, |
1324 'nacl_untrusted_build%': 0, | 1318 'nacl_untrusted_build%': 0, |
1325 'linux_use_tcmalloc%': 0, | 1319 'linux_use_tcmalloc%': 0, |
1326 }], | 1320 }], |
1327 ['OS=="linux" and target_arch=="mipsel"', { | 1321 ['OS=="linux" and target_arch=="mipsel"', { |
1328 'sysroot%': '<(sysroot)', | 1322 'sysroot%': '<(sysroot)', |
1329 'CXX%': '<(CXX)', | 1323 'CXX%': '<(CXX)', |
1330 }], | 1324 }], |
1331 # All Chrome builds have breakpad symbols, but only process the | 1325 # All Chrome builds have breakpad symbols, but only process the |
1332 # symbols from official builds. | 1326 # symbols from official builds. |
1333 ['(branding=="Chrome" and buildtype=="Official")', { | 1327 ['(branding=="Chrome" and buildtype=="Official")', { |
1334 'linux_dump_symbols%': 1, | 1328 'linux_dump_symbols%': 1, |
1335 | 1329 |
1336 # Omit unwind support in official release builds to save space. We | 1330 # Omit unwind support in official release builds to save space. We |
1337 # can use breakpad for these builds. | 1331 # can use breakpad for these builds. |
1338 'release_unwind_tables%': 0, | 1332 'release_unwind_tables%': 0, |
1339 }], | 1333 }], |
| 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" |
1342 ['OS=="ios"', { | 1345 ['OS=="ios"', { |
1343 'disable_nacl%': 1, | 1346 'disable_nacl%': 1, |
1344 'enable_background%': 0, | 1347 'enable_background%': 0, |
| 1348 'icu_use_data_file_flag%': 1, |
1345 'use_system_libxml%': 1, | 1349 'use_system_libxml%': 1, |
1346 'use_system_sqlite%': 1, | 1350 'use_system_sqlite%': 1, |
1347 'locales==': [ | 1351 'locales==': [ |
1348 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1352 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', |
1349 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', | 1353 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
1350 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', | 1354 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', |
1351 'vi', 'zh-CN', 'zh-TW', | 1355 'vi', 'zh-CN', 'zh-TW', |
1352 ], | 1356 ], |
1353 | 1357 |
1354 # The Mac SDK is set for iOS builds and passed through to Mac | 1358 # The Mac SDK is set for iOS builds and passed through to Mac |
(...skipping 3681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5036 # settings in target dicts. SYMROOT is a special case, because many other | 5040 # settings in target dicts. SYMROOT is a special case, because many other |
5037 # Xcode variables depend on it, including variables such as | 5041 # Xcode variables depend on it, including variables such as |
5038 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5042 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5039 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5043 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5040 # files to appear (when present) in the UI as actual files and not red | 5044 # files to appear (when present) in the UI as actual files and not red |
5041 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5045 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5042 # and therefore SYMROOT, needs to be set at the project level. | 5046 # and therefore SYMROOT, needs to be set at the project level. |
5043 'SYMROOT': '<(DEPTH)/xcodebuild', | 5047 'SYMROOT': '<(DEPTH)/xcodebuild', |
5044 }, | 5048 }, |
5045 } | 5049 } |
OLD | NEW |