Chromium Code Reviews| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 147 | 147 |
| 148 # Use aurax11 for clipboard implementation. This is true on linux_aura. | 148 # Use aurax11 for clipboard implementation. This is true on linux_aura. |
| 149 'use_clipboard_aurax11%': 0, | 149 'use_clipboard_aurax11%': 0, |
| 150 | 150 |
| 151 # goma settings. | 151 # goma settings. |
| 152 # 1 to use goma. | 152 # 1 to use goma. |
| 153 # If no gomadir is set, it uses the default gomadir. | 153 # If no gomadir is set, it uses the default gomadir. |
| 154 'use_goma%': 0, | 154 'use_goma%': 0, |
| 155 'gomadir%': '', | 155 'gomadir%': '', |
| 156 | 156 |
| 157 | |
|
Mark Mentovai
2014/02/20 14:15:54
Extra blank line.
| |
| 157 'conditions': [ | 158 'conditions': [ |
| 158 # Ash needs Aura. | 159 # Ash needs Aura. |
| 159 ['use_aura==0', { | 160 ['use_aura==0', { |
| 160 'use_ash%': 0, | 161 'use_ash%': 0, |
| 161 }], | 162 }], |
| 162 | 163 |
| 163 # Set default value of toolkit_views based on OS. | 164 # Set default value of toolkit_views based on OS. |
| 164 ['OS=="win" or chromeos==1 or use_aura==1', { | 165 ['OS=="win" or chromeos==1 or use_aura==1', { |
| 165 'toolkit_views%': 1, | 166 'toolkit_views%': 1, |
| 166 }, { | 167 }, { |
| (...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 816 'v8_optimized_debug%': 1, | 817 'v8_optimized_debug%': 1, |
| 817 }, { | 818 }, { |
| 818 'v8_optimized_debug%': 2, | 819 'v8_optimized_debug%': 2, |
| 819 }], | 820 }], |
| 820 | 821 |
| 821 # Disable various features by default on embedded. | 822 # Disable various features by default on embedded. |
| 822 ['embedded==1', { | 823 ['embedded==1', { |
| 823 'remoting%': 0, | 824 'remoting%': 0, |
| 824 'enable_printing%': 0, | 825 'enable_printing%': 0, |
| 825 }], | 826 }], |
| 827 | |
| 828 # By default, use ICU data file (icudtl.dat) on all platforms | |
| 829 # except when building Android WebView. | |
| 830 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). | |
| 831 ['android_webview_build==0', { | |
| 832 'icu_use_data_file_flag%' : 1, | |
| 833 }, { | |
| 834 'icu_use_data_file_flag%' : 0, | |
| 835 }], | |
| 826 ], | 836 ], |
| 827 | 837 |
| 828 # Set this to 1 to enable use of concatenated impulse responses | 838 # Set this to 1 to enable use of concatenated impulse responses |
| 829 # for the HRTF panner in WebAudio. | 839 # for the HRTF panner in WebAudio. |
| 830 'use_concatenated_impulse_responses': 1, | 840 'use_concatenated_impulse_responses': 1, |
| 831 | 841 |
| 832 # You can set the variable 'use_official_google_api_keys' to 1 | 842 # You can set the variable 'use_official_google_api_keys' to 1 |
| 833 # to use the Google-internal file containing official API keys | 843 # to use the Google-internal file containing official API keys |
| 834 # for Google Chrome even in a developer build. Setting this | 844 # for Google Chrome even in a developer build. Setting this |
| 835 # variable explicitly to 1 will cause your build to fail if the | 845 # 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)', | 975 'enable_google_now%': '<(enable_google_now)', |
| 966 'cld_version%': '<(cld_version)', | 976 'cld_version%': '<(cld_version)', |
| 967 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 977 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 968 'disable_ftp_support%': '<(disable_ftp_support)', | 978 'disable_ftp_support%': '<(disable_ftp_support)', |
| 969 'enable_task_manager%': '<(enable_task_manager)', | 979 'enable_task_manager%': '<(enable_task_manager)', |
| 970 'sas_dll_path%': '<(sas_dll_path)', | 980 'sas_dll_path%': '<(sas_dll_path)', |
| 971 'wix_path%': '<(wix_path)', | 981 'wix_path%': '<(wix_path)', |
| 972 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 982 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 973 'use_system_libjpeg%': '<(use_system_libjpeg)', | 983 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 974 'android_webview_build%': '<(android_webview_build)', | 984 'android_webview_build%': '<(android_webview_build)', |
| 985 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', | |
| 975 'gyp_managed_install%': 0, | 986 'gyp_managed_install%': 0, |
| 976 'create_standalone_apk%': 1, | 987 'create_standalone_apk%': 1, |
| 977 'enable_app_list%': '<(enable_app_list)', | 988 'enable_app_list%': '<(enable_app_list)', |
| 978 'use_default_render_theme%': '<(use_default_render_theme)', | 989 'use_default_render_theme%': '<(use_default_render_theme)', |
| 979 'enable_settings_app%': '<(enable_settings_app)', | 990 'enable_settings_app%': '<(enable_settings_app)', |
| 980 'google_api_key%': '<(google_api_key)', | 991 'google_api_key%': '<(google_api_key)', |
| 981 'google_default_client_id%': '<(google_default_client_id)', | 992 'google_default_client_id%': '<(google_default_client_id)', |
| 982 'google_default_client_secret%': '<(google_default_client_secret)', | 993 'google_default_client_secret%': '<(google_default_client_secret)', |
| 983 'enable_managed_users%': '<(enable_managed_users)', | 994 'enable_managed_users%': '<(enable_managed_users)', |
| 984 'native_discardable_memory%': '<(native_discardable_memory)', | 995 'native_discardable_memory%': '<(native_discardable_memory)', |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1260 | 1271 |
| 1261 # Use brlapi from brltty for braille display support. | 1272 # Use brlapi from brltty for braille display support. |
| 1262 'use_brlapi%': 0, | 1273 'use_brlapi%': 0, |
| 1263 | 1274 |
| 1264 # Relative path to icu.gyp from this file. | 1275 # Relative path to icu.gyp from this file. |
| 1265 'icu_gyp_path': '../third_party/icu/icu.gyp', | 1276 'icu_gyp_path': '../third_party/icu/icu.gyp', |
| 1266 | 1277 |
| 1267 # IPC fuzzer is disabled by default. | 1278 # IPC fuzzer is disabled by default. |
| 1268 'enable_ipc_fuzzer%': 0, | 1279 'enable_ipc_fuzzer%': 0, |
| 1269 | 1280 |
| 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 | 1281 |
| 1274 # Force disable libstdc++ debug mode. | 1282 # Force disable libstdc++ debug mode. |
| 1275 'disable_glibcxx_debug%': 0, | 1283 'disable_glibcxx_debug%': 0, |
| 1276 | 1284 |
| 1277 'conditions': [ | 1285 'conditions': [ |
| 1278 # The version of GCC in use, set later in platforms that use GCC and have | 1286 # 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 | 1287 # not explicitly chosen to build with clang. Currently, this means all |
| 1280 # platforms except Windows, Mac and iOS. | 1288 # platforms except Windows, Mac and iOS. |
| 1281 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1289 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
| 1282 # it takes effect here. | 1290 # it takes effect here. |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 1297 }, { | 1305 }, { |
| 1298 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1306 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
| 1299 }], | 1307 }], |
| 1300 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { | 1308 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(directx_sdk_defa ult_path))"=="True"', { |
| 1301 'directx_sdk_path%': '<(directx_sdk_default_path)', | 1309 'directx_sdk_path%': '<(directx_sdk_default_path)', |
| 1302 }, { | 1310 }, { |
| 1303 'directx_sdk_path%': '$(DXSDK_DIR)', | 1311 'directx_sdk_path%': '$(DXSDK_DIR)', |
| 1304 }], | 1312 }], |
| 1305 ['OS=="win"', { | 1313 ['OS=="win"', { |
| 1306 'windows_driver_kit_path%': '$(WDK_DIR)', | 1314 'windows_driver_kit_path%': '$(WDK_DIR)', |
| 1307 'icu_use_data_file_flag%': 1, | |
| 1308 }], | 1315 }], |
| 1309 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1316 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
| 1310 'conditions': [ | 1317 'conditions': [ |
| 1311 ['target_arch=="mipsel"', { | 1318 ['target_arch=="mipsel"', { |
| 1312 'werror%': '', | 1319 'werror%': '', |
| 1313 'disable_nacl%': 1, | 1320 'disable_nacl%': 1, |
| 1314 'nacl_untrusted_build%': 0, | 1321 'nacl_untrusted_build%': 0, |
| 1315 'linux_use_tcmalloc%': 0, | 1322 'linux_use_tcmalloc%': 0, |
| 1316 }], | 1323 }], |
| 1317 ['OS=="linux" and target_arch=="mipsel"', { | 1324 ['OS=="linux" and target_arch=="mipsel"', { |
| 1318 'sysroot%': '<(sysroot)', | 1325 'sysroot%': '<(sysroot)', |
| 1319 'CXX%': '<(CXX)', | 1326 'CXX%': '<(CXX)', |
| 1320 }], | 1327 }], |
| 1321 # All Chrome builds have breakpad symbols, but only process the | 1328 # All Chrome builds have breakpad symbols, but only process the |
| 1322 # symbols from official builds. | 1329 # symbols from official builds. |
| 1323 ['(branding=="Chrome" and buildtype=="Official")', { | 1330 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1324 'linux_dump_symbols%': 1, | 1331 'linux_dump_symbols%': 1, |
| 1325 | 1332 |
| 1326 # Omit unwind support in official release builds to save space. We | 1333 # Omit unwind support in official release builds to save space. We |
| 1327 # can use breakpad for these builds. | 1334 # can use breakpad for these builds. |
| 1328 'release_unwind_tables%': 0, | 1335 'release_unwind_tables%': 0, |
| 1329 }], | 1336 }], |
| 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 ], | 1337 ], |
| 1337 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1338 }], # 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"', { | 1339 ['OS=="ios"', { |
| 1342 'disable_nacl%': 1, | 1340 'disable_nacl%': 1, |
| 1343 'enable_background%': 0, | 1341 'enable_background%': 0, |
| 1344 'icu_use_data_file_flag%': 1, | |
| 1345 'use_system_libxml%': 1, | 1342 'use_system_libxml%': 1, |
| 1346 'use_system_sqlite%': 1, | 1343 'use_system_sqlite%': 1, |
| 1347 'locales==': [ | 1344 'locales==': [ |
| 1348 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1345 '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', | 1346 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
| 1350 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', | 1347 'nl', 'pl', 'pt', 'pt-PT', 'ro', 'ru', 'sk', 'sv', 'th', 'tr', 'uk', |
| 1351 'vi', 'zh-CN', 'zh-TW', | 1348 'vi', 'zh-CN', 'zh-TW', |
| 1352 ], | 1349 ], |
| 1353 | 1350 |
| 1354 # The Mac SDK is set for iOS builds and passed through to Mac | 1351 # 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 | 4988 # settings in target dicts. SYMROOT is a special case, because many other |
| 4992 # Xcode variables depend on it, including variables such as | 4989 # Xcode variables depend on it, including variables such as |
| 4993 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4990 # 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 | 4991 # 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 | 4992 # 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, | 4993 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4997 # and therefore SYMROOT, needs to be set at the project level. | 4994 # and therefore SYMROOT, needs to be set at the project level. |
| 4998 'SYMROOT': '<(DEPTH)/xcodebuild', | 4995 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4999 }, | 4996 }, |
| 5000 } | 4997 } |
| OLD | NEW |