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 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1311 # symbols from official builds. | 1311 # symbols from official builds. |
1312 ['(branding=="Chrome" and buildtype=="Official")', { | 1312 ['(branding=="Chrome" and buildtype=="Official")', { |
1313 'linux_dump_symbols%': 1, | 1313 'linux_dump_symbols%': 1, |
1314 | 1314 |
1315 # Omit unwind support in official release builds to save space. We | 1315 # Omit unwind support in official release builds to save space. We |
1316 # can use breakpad for these builds. | 1316 # can use breakpad for these builds. |
1317 'release_unwind_tables%': 0, | 1317 'release_unwind_tables%': 0, |
1318 }], | 1318 }], |
1319 ], | 1319 ], |
1320 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1320 }], # os_posix==1 and OS!="mac" and OS!="ios" |
| 1321 ['OS=="mac"', { |
| 1322 'icu_use_data_file_flag%': 1, |
| 1323 }], # os=="mac" |
1321 ['OS=="ios"', { | 1324 ['OS=="ios"', { |
1322 'disable_nacl%': 1, | 1325 'disable_nacl%': 1, |
1323 'enable_background%': 0, | 1326 'enable_background%': 0, |
1324 'enable_task_manager%': 0, | 1327 'enable_task_manager%': 0, |
1325 'icu_use_data_file_flag%': 1, | 1328 'icu_use_data_file_flag%': 1, |
1326 'use_system_libxml%': 1, | 1329 'use_system_libxml%': 1, |
1327 'use_system_sqlite%': 1, | 1330 'use_system_sqlite%': 1, |
1328 'locales==': [ | 1331 'locales==': [ |
1329 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1332 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', |
1330 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', | 1333 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2213 }], | 2216 }], |
2214 ['native_discardable_memory==1', { | 2217 ['native_discardable_memory==1', { |
2215 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2218 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
2216 }], | 2219 }], |
2217 ['native_memory_pressure_signals==1', { | 2220 ['native_memory_pressure_signals==1', { |
2218 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2221 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
2219 }], | 2222 }], |
2220 ['use_udev==1', { | 2223 ['use_udev==1', { |
2221 'defines': ['USE_UDEV'], | 2224 'defines': ['USE_UDEV'], |
2222 }], | 2225 }], |
2223 ['icu_use_data_file_flag==1', { | |
2224 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], | |
2225 }, { # else icu_use_data_file_flag !=1 | |
2226 'conditions': [ | |
2227 ['OS=="win"', { | |
2228 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], | |
2229 }, { | |
2230 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], | |
2231 }], | |
2232 ], | |
2233 }], | |
2234 ['fastbuild!=0', { | 2226 ['fastbuild!=0', { |
2235 'xcode_settings': { | 2227 'xcode_settings': { |
2236 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2228 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
2237 }, | 2229 }, |
2238 'conditions': [ | 2230 'conditions': [ |
2239 ['clang==1', { | 2231 ['clang==1', { |
2240 # Clang creates chubby debug information, which makes linking very | 2232 # Clang creates chubby debug information, which makes linking very |
2241 # slow. For now, don't create debug information with clang. See | 2233 # slow. For now, don't create debug information with clang. See |
2242 # http://crbug.com/70000 | 2234 # http://crbug.com/70000 |
2243 'conditions': [ | 2235 'conditions': [ |
(...skipping 2591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4835 # settings in target dicts. SYMROOT is a special case, because many other | 4827 # settings in target dicts. SYMROOT is a special case, because many other |
4836 # Xcode variables depend on it, including variables such as | 4828 # Xcode variables depend on it, including variables such as |
4837 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4829 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4838 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4830 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4839 # files to appear (when present) in the UI as actual files and not red | 4831 # files to appear (when present) in the UI as actual files and not red |
4840 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4832 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4841 # and therefore SYMROOT, needs to be set at the project level. | 4833 # and therefore SYMROOT, needs to be set at the project level. |
4842 'SYMROOT': '<(DEPTH)/xcodebuild', | 4834 'SYMROOT': '<(DEPTH)/xcodebuild', |
4843 }, | 4835 }, |
4844 } | 4836 } |
OLD | NEW |