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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 'v8_optimized_debug%': 1, | 816 'v8_optimized_debug%': 1, |
817 }, { | 817 }, { |
818 'v8_optimized_debug%': 2, | 818 'v8_optimized_debug%': 2, |
819 }], | 819 }], |
820 | 820 |
821 # Disable various features by default on embedded. | 821 # Disable various features by default on embedded. |
822 ['embedded==1', { | 822 ['embedded==1', { |
823 'remoting%': 0, | 823 'remoting%': 0, |
824 'enable_printing%': 0, | 824 'enable_printing%': 0, |
825 }], | 825 }], |
| 826 |
| 827 # By default, use ICU data file (icudtl.dat) on all platforms |
| 828 # except when building Android WebView. |
| 829 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). |
| 830 ['android_webview_build==0', { |
| 831 'icu_use_data_file_flag%' : 1, |
| 832 }, { |
| 833 'icu_use_data_file_flag%' : 0, |
| 834 }], |
826 ], | 835 ], |
827 | 836 |
828 # Set this to 1 to enable use of concatenated impulse responses | 837 # Set this to 1 to enable use of concatenated impulse responses |
829 # for the HRTF panner in WebAudio. | 838 # for the HRTF panner in WebAudio. |
830 'use_concatenated_impulse_responses': 1, | 839 'use_concatenated_impulse_responses': 1, |
831 | 840 |
832 # You can set the variable 'use_official_google_api_keys' to 1 | 841 # You can set the variable 'use_official_google_api_keys' to 1 |
833 # to use the Google-internal file containing official API keys | 842 # to use the Google-internal file containing official API keys |
834 # for Google Chrome even in a developer build. Setting this | 843 # for Google Chrome even in a developer build. Setting this |
835 # variable explicitly to 1 will cause your build to fail if the | 844 # 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... |
965 'enable_google_now%': '<(enable_google_now)', | 974 'enable_google_now%': '<(enable_google_now)', |
966 'cld_version%': '<(cld_version)', | 975 'cld_version%': '<(cld_version)', |
967 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 976 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
968 'disable_ftp_support%': '<(disable_ftp_support)', | 977 'disable_ftp_support%': '<(disable_ftp_support)', |
969 'enable_task_manager%': '<(enable_task_manager)', | 978 'enable_task_manager%': '<(enable_task_manager)', |
970 'sas_dll_path%': '<(sas_dll_path)', | 979 'sas_dll_path%': '<(sas_dll_path)', |
971 'wix_path%': '<(wix_path)', | 980 'wix_path%': '<(wix_path)', |
972 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 981 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
973 'use_system_libjpeg%': '<(use_system_libjpeg)', | 982 'use_system_libjpeg%': '<(use_system_libjpeg)', |
974 'android_webview_build%': '<(android_webview_build)', | 983 'android_webview_build%': '<(android_webview_build)', |
| 984 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', |
975 'gyp_managed_install%': 0, | 985 'gyp_managed_install%': 0, |
976 'create_standalone_apk%': 1, | 986 'create_standalone_apk%': 1, |
977 'enable_app_list%': '<(enable_app_list)', | 987 'enable_app_list%': '<(enable_app_list)', |
978 'use_default_render_theme%': '<(use_default_render_theme)', | 988 'use_default_render_theme%': '<(use_default_render_theme)', |
979 'enable_settings_app%': '<(enable_settings_app)', | 989 'enable_settings_app%': '<(enable_settings_app)', |
980 'google_api_key%': '<(google_api_key)', | 990 'google_api_key%': '<(google_api_key)', |
981 'google_default_client_id%': '<(google_default_client_id)', | 991 'google_default_client_id%': '<(google_default_client_id)', |
982 'google_default_client_secret%': '<(google_default_client_secret)', | 992 'google_default_client_secret%': '<(google_default_client_secret)', |
983 'enable_managed_users%': '<(enable_managed_users)', | 993 'enable_managed_users%': '<(enable_managed_users)', |
984 'native_discardable_memory%': '<(native_discardable_memory)', | 994 'native_discardable_memory%': '<(native_discardable_memory)', |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1266 | 1276 |
1267 # Use brlapi from brltty for braille display support. | 1277 # Use brlapi from brltty for braille display support. |
1268 'use_brlapi%': 0, | 1278 'use_brlapi%': 0, |
1269 | 1279 |
1270 # Relative path to icu.gyp from this file. | 1280 # Relative path to icu.gyp from this file. |
1271 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1281 'icu_gyp_path': '../third_party/icu/icu.gyp', |
1272 | 1282 |
1273 # IPC fuzzer is disabled by default. | 1283 # IPC fuzzer is disabled by default. |
1274 'enable_ipc_fuzzer%': 0, | 1284 'enable_ipc_fuzzer%': 0, |
1275 | 1285 |
1276 # Whether or not to use "icu*.dat" file for ICU data. | |
1277 # Do not use it by default. | |
1278 'icu_use_data_file_flag%': 0, | |
1279 | 1286 |
1280 # Force disable libstdc++ debug mode. | 1287 # Force disable libstdc++ debug mode. |
1281 'disable_glibcxx_debug%': 0, | 1288 'disable_glibcxx_debug%': 0, |
1282 | 1289 |
1283 # Set to 1 to compile with the hole punching for the protected video. | 1290 # Set to 1 to compile with the hole punching for the protected video. |
1284 'video_hole%': 0, | 1291 'video_hole%': 0, |
1285 | 1292 |
1286 # Enable a new Gamepad interface. This is temporary and should go | 1293 # Enable a new Gamepad interface. This is temporary and should go |
1287 # away once the chrome and blink interfaces are in sync | 1294 # away once the chrome and blink interfaces are in sync |
1288 'enable_new_gamepad_api%': 1, | 1295 'enable_new_gamepad_api%': 1, |
(...skipping 21 matching lines...) Expand all Loading... |
1310 }, { | 1317 }, { |
1311 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1318 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
1312 }], | 1319 }], |
1313 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { | 1320 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { |
1314 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1321 'directx_sdk_path%': '<(directx_sdk_default_path)', |
1315 }, { | 1322 }, { |
1316 'directx_sdk_path%': '$(DXSDK_DIR)', | 1323 'directx_sdk_path%': '$(DXSDK_DIR)', |
1317 }], | 1324 }], |
1318 ['OS=="win"', { | 1325 ['OS=="win"', { |
1319 'windows_driver_kit_path%': '$(WDK_DIR)', | 1326 'windows_driver_kit_path%': '$(WDK_DIR)', |
1320 'icu_use_data_file_flag%': 1, | |
1321 }], | 1327 }], |
1322 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1328 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
1323 'conditions': [ | 1329 'conditions': [ |
1324 ['target_arch=="mipsel"', { | 1330 ['target_arch=="mipsel"', { |
1325 'werror%': '', | 1331 'werror%': '', |
1326 'disable_nacl%': 1, | 1332 'disable_nacl%': 1, |
1327 'nacl_untrusted_build%': 0, | 1333 'nacl_untrusted_build%': 0, |
1328 # TODO(dmikurube): Change the default of use_allocator to "none". | 1334 # TODO(dmikurube): Change the default of use_allocator to "none". |
1329 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 1335 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
1330 'linux_use_tcmalloc%': 0, | 1336 'linux_use_tcmalloc%': 0, |
1331 'use_allocator%': 'see_use_tcmalloc', | 1337 'use_allocator%': 'see_use_tcmalloc', |
1332 }], | 1338 }], |
1333 ['OS=="linux" and target_arch=="mipsel"', { | 1339 ['OS=="linux" and target_arch=="mipsel"', { |
1334 'sysroot%': '<(sysroot)', | 1340 'sysroot%': '<(sysroot)', |
1335 'CXX%': '<(CXX)', | 1341 'CXX%': '<(CXX)', |
1336 }], | 1342 }], |
1337 # All Chrome builds have breakpad symbols, but only process the | 1343 # All Chrome builds have breakpad symbols, but only process the |
1338 # symbols from official builds. | 1344 # symbols from official builds. |
1339 ['(branding=="Chrome" and buildtype=="Official")', { | 1345 ['(branding=="Chrome" and buildtype=="Official")', { |
1340 'linux_dump_symbols%': 1, | 1346 'linux_dump_symbols%': 1, |
1341 | 1347 |
1342 # Omit unwind support in official release builds to save space. We | 1348 # Omit unwind support in official release builds to save space. We |
1343 # can use breakpad for these builds. | 1349 # can use breakpad for these builds. |
1344 'release_unwind_tables%': 0, | 1350 'release_unwind_tables%': 0, |
1345 }], | 1351 }], |
1346 # TODO(jungshik): Turn this on on Android. | |
1347 # For ChromeOS, this should be turned on in chromeos-chrome.ebuild | |
1348 # file as well by adding icu_use_data_file_flag=1 to BUILD_DEFINES. | |
1349 ['OS!="android"', { | |
1350 'icu_use_data_file_flag%': 1, | |
1351 }], | |
1352 ], | 1352 ], |
1353 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1353 }], # os_posix==1 and OS!="mac" and OS!="ios" |
1354 ['OS=="mac"', { | |
1355 'icu_use_data_file_flag%': 1, | |
1356 }], # os=="mac" | |
1357 ['OS=="ios"', { | 1354 ['OS=="ios"', { |
1358 'disable_nacl%': 1, | 1355 'disable_nacl%': 1, |
1359 'enable_background%': 0, | 1356 'enable_background%': 0, |
1360 'icu_use_data_file_flag%': 1, | 1357 'icu_use_data_file_flag%': 1, |
1361 'input_speech%': 0, | 1358 'input_speech%': 0, |
1362 'use_system_libxml%': 1, | 1359 'use_system_libxml%': 1, |
1363 'use_system_sqlite%': 1, | 1360 'use_system_sqlite%': 1, |
1364 'locales==': [ | 1361 'locales==': [ |
1365 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1362 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', |
1366 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', | 1363 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
(...skipping 3684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5051 # settings in target dicts. SYMROOT is a special case, because many other | 5048 # settings in target dicts. SYMROOT is a special case, because many other |
5052 # Xcode variables depend on it, including variables such as | 5049 # Xcode variables depend on it, including variables such as |
5053 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5050 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5054 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5051 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5055 # files to appear (when present) in the UI as actual files and not red | 5052 # files to appear (when present) in the UI as actual files and not red |
5056 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5053 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5057 # and therefore SYMROOT, needs to be set at the project level. | 5054 # and therefore SYMROOT, needs to be set at the project level. |
5058 'SYMROOT': '<(DEPTH)/xcodebuild', | 5055 'SYMROOT': '<(DEPTH)/xcodebuild', |
5059 }, | 5056 }, |
5060 } | 5057 } |
OLD | NEW |