| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1260 | 1270 |
| 1261 # Use brlapi from brltty for braille display support. | 1271 # Use brlapi from brltty for braille display support. |
| 1262 'use_brlapi%': 0, | 1272 'use_brlapi%': 0, |
| 1263 | 1273 |
| 1264 # Relative path to icu.gyp from this file. | 1274 # Relative path to icu.gyp from this file. |
| 1265 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1275 'icu_gyp_path': '../third_party/icu/icu.gyp', |
| 1266 | 1276 |
| 1267 # IPC fuzzer is disabled by default. | 1277 # IPC fuzzer is disabled by default. |
| 1268 'enable_ipc_fuzzer%': 0, | 1278 'enable_ipc_fuzzer%': 0, |
| 1269 | 1279 |
| 1270 # Whether or not to use "icu*.dat" file for ICU data. | |
| 1271 # Do not use it by default. | |
| 1272 'icu_use_data_file_flag%': 0, | |
| 1273 | 1280 |
| 1274 # Force disable libstdc++ debug mode. | 1281 # Force disable libstdc++ debug mode. |
| 1275 'disable_glibcxx_debug%': 0, | 1282 'disable_glibcxx_debug%': 0, |
| 1276 | 1283 |
| 1277 'conditions': [ | 1284 'conditions': [ |
| 1278 # The version of GCC in use, set later in platforms that use GCC and have | 1285 # The version of GCC in use, set later in platforms that use GCC and have |
| 1279 # not explicitly chosen to build with clang. Currently, this means all | 1286 # not explicitly chosen to build with clang. Currently, this means all |
| 1280 # platforms except Windows, Mac and iOS. | 1287 # platforms except Windows, Mac and iOS. |
| 1281 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1288 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
| 1282 # it takes effect here. | 1289 # it takes effect here. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 1297 }, { | 1304 }, { |
| 1298 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1305 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
| 1299 }], | 1306 }], |
| 1300 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { | 1307 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa
ult_path))"=="True"', { |
| 1301 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1308 'directx_sdk_path%': '<(directx_sdk_default_path)', |
| 1302 }, { | 1309 }, { |
| 1303 'directx_sdk_path%': '$(DXSDK_DIR)', | 1310 'directx_sdk_path%': '$(DXSDK_DIR)', |
| 1304 }], | 1311 }], |
| 1305 ['OS=="win"', { | 1312 ['OS=="win"', { |
| 1306 'windows_driver_kit_path%': '$(WDK_DIR)', | 1313 'windows_driver_kit_path%': '$(WDK_DIR)', |
| 1307 'icu_use_data_file_flag%': 1, | |
| 1308 }], | 1314 }], |
| 1309 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1315 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
| 1310 'conditions': [ | 1316 'conditions': [ |
| 1311 ['target_arch=="mipsel"', { | 1317 ['target_arch=="mipsel"', { |
| 1312 'werror%': '', | 1318 'werror%': '', |
| 1313 'disable_nacl%': 1, | 1319 'disable_nacl%': 1, |
| 1314 'nacl_untrusted_build%': 0, | 1320 'nacl_untrusted_build%': 0, |
| 1315 'linux_use_tcmalloc%': 0, | 1321 'linux_use_tcmalloc%': 0, |
| 1316 }], | 1322 }], |
| 1317 ['OS=="linux" and target_arch=="mipsel"', { | 1323 ['OS=="linux" and target_arch=="mipsel"', { |
| 1318 'sysroot%': '<(sysroot)', | 1324 'sysroot%': '<(sysroot)', |
| 1319 'CXX%': '<(CXX)', | 1325 'CXX%': '<(CXX)', |
| 1320 }], | 1326 }], |
| 1321 # All Chrome builds have breakpad symbols, but only process the | 1327 # All Chrome builds have breakpad symbols, but only process the |
| 1322 # symbols from official builds. | 1328 # symbols from official builds. |
| 1323 ['(branding=="Chrome" and buildtype=="Official")', { | 1329 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1324 'linux_dump_symbols%': 1, | 1330 'linux_dump_symbols%': 1, |
| 1325 | 1331 |
| 1326 # Omit unwind support in official release builds to save space. We | 1332 # Omit unwind support in official release builds to save space. We |
| 1327 # can use breakpad for these builds. | 1333 # can use breakpad for these builds. |
| 1328 'release_unwind_tables%': 0, | 1334 'release_unwind_tables%': 0, |
| 1329 }], | 1335 }], |
| 1330 # TODO(jungshik): Turn this on on Android. | |
| 1331 # For ChromeOS, this should be turned on in chromeos-chrome.ebuild | |
| 1332 # file as well by adding icu_use_data_file_flag=1 to BUILD_DEFINES. | |
| 1333 ['OS!="android"', { | |
| 1334 'icu_use_data_file_flag%': 1, | |
| 1335 }], | |
| 1336 ], | 1336 ], |
| 1337 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1337 }], # os_posix==1 and OS!="mac" and OS!="ios" |
| 1338 ['OS=="mac"', { | |
| 1339 'icu_use_data_file_flag%': 1, | |
| 1340 }], # os=="mac" | |
| 1341 ['OS=="ios"', { | 1338 ['OS=="ios"', { |
| 1342 'disable_nacl%': 1, | 1339 'disable_nacl%': 1, |
| 1343 'enable_background%': 0, | 1340 'enable_background%': 0, |
| 1344 'icu_use_data_file_flag%': 1, | |
| 1345 'use_system_libxml%': 1, | 1341 'use_system_libxml%': 1, |
| 1346 'use_system_sqlite%': 1, | 1342 'use_system_sqlite%': 1, |
| 1347 'locales==': [ | 1343 'locales==': [ |
| 1348 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1344 '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', | 1345 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
| 1350 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', | 1346 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', |
| 1351 'vi', 'zh-CN', 'zh-TW', | 1347 'vi', 'zh-CN', 'zh-TW', |
| 1352 ], | 1348 ], |
| 1353 | 1349 |
| 1354 # The Mac SDK is set for iOS builds and passed through to Mac | 1350 # The Mac SDK is set for iOS builds and passed through to Mac |
| (...skipping 3636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4991 # settings in target dicts. SYMROOT is a special case, because many other | 4987 # settings in target dicts. SYMROOT is a special case, because many other |
| 4992 # Xcode variables depend on it, including variables such as | 4988 # Xcode variables depend on it, including variables such as |
| 4993 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4989 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4994 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4990 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4995 # files to appear (when present) in the UI as actual files and not red | 4991 # files to appear (when present) in the UI as actual files and not red |
| 4996 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4992 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4997 # and therefore SYMROOT, needs to be set at the project level. | 4993 # and therefore SYMROOT, needs to be set at the project level. |
| 4998 'SYMROOT': '<(DEPTH)/xcodebuild', | 4994 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4999 }, | 4995 }, |
| 5000 } | 4996 } |
| OLD | NEW |