| 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 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 'sysroot%': '<(sysroot)', | 1289 'sysroot%': '<(sysroot)', |
| 1290 'CXX%': '<(CXX)', | 1290 'CXX%': '<(CXX)', |
| 1291 }], | 1291 }], |
| 1292 # All Chrome builds have breakpad symbols, but only process the | 1292 # All Chrome builds have breakpad symbols, but only process the |
| 1293 # symbols from official builds. | 1293 # symbols from official builds. |
| 1294 ['(branding=="Chrome" and buildtype=="Official")', { | 1294 ['(branding=="Chrome" and buildtype=="Official")', { |
| 1295 'linux_dump_symbols%': 1, | 1295 'linux_dump_symbols%': 1, |
| 1296 }], | 1296 }], |
| 1297 ], | 1297 ], |
| 1298 }], # os_posix==1 and OS!="mac" and OS!="ios" | 1298 }], # os_posix==1 and OS!="mac" and OS!="ios" |
| 1299 ['OS=="mac"', { |
| 1300 'icu_use_data_file_flag%': 1, |
| 1301 }], # os=="mac" |
| 1299 ['OS=="ios"', { | 1302 ['OS=="ios"', { |
| 1300 'disable_nacl%': 1, | 1303 'disable_nacl%': 1, |
| 1301 'enable_background%': 0, | 1304 'enable_background%': 0, |
| 1302 'enable_task_manager%': 0, | 1305 'enable_task_manager%': 0, |
| 1303 'icu_use_data_file_flag%': 1, | 1306 'icu_use_data_file_flag%': 1, |
| 1304 'use_system_libxml%': 1, | 1307 'use_system_libxml%': 1, |
| 1305 'use_system_sqlite%': 1, | 1308 'use_system_sqlite%': 1, |
| 1306 'locales==': [ | 1309 'locales==': [ |
| 1307 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', | 1310 'ar', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es', 'es-MX', |
| 1308 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', | 1311 'fi', 'fr', 'he', 'hr', 'hu', 'id', 'it', 'ja', 'ko', 'ms', 'nb', |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2202 }], | 2205 }], |
| 2203 ['native_discardable_memory==1', { | 2206 ['native_discardable_memory==1', { |
| 2204 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2207 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
| 2205 }], | 2208 }], |
| 2206 ['native_memory_pressure_signals==1', { | 2209 ['native_memory_pressure_signals==1', { |
| 2207 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2210 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 2208 }], | 2211 }], |
| 2209 ['use_udev==1', { | 2212 ['use_udev==1', { |
| 2210 'defines': ['USE_UDEV'], | 2213 'defines': ['USE_UDEV'], |
| 2211 }], | 2214 }], |
| 2212 ['icu_use_data_file_flag==1', { | |
| 2213 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], | |
| 2214 }, { # else icu_use_data_file_flag !=1 | |
| 2215 'conditions': [ | |
| 2216 ['OS=="win"', { | |
| 2217 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], | |
| 2218 }, { | |
| 2219 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], | |
| 2220 }], | |
| 2221 ], | |
| 2222 }], | |
| 2223 ['fastbuild!=0', { | 2215 ['fastbuild!=0', { |
| 2224 'xcode_settings': { | 2216 'xcode_settings': { |
| 2225 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2217 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2226 }, | 2218 }, |
| 2227 'conditions': [ | 2219 'conditions': [ |
| 2228 ['clang==1', { | 2220 ['clang==1', { |
| 2229 # Clang creates chubby debug information, which makes linking very | 2221 # Clang creates chubby debug information, which makes linking very |
| 2230 # slow. For now, don't create debug information with clang. See | 2222 # slow. For now, don't create debug information with clang. See |
| 2231 # http://crbug.com/70000 | 2223 # http://crbug.com/70000 |
| 2232 'conditions': [ | 2224 'conditions': [ |
| (...skipping 2551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4784 # settings in target dicts. SYMROOT is a special case, because many other | 4776 # settings in target dicts. SYMROOT is a special case, because many other |
| 4785 # Xcode variables depend on it, including variables such as | 4777 # Xcode variables depend on it, including variables such as |
| 4786 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4778 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4787 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4779 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4788 # files to appear (when present) in the UI as actual files and not red | 4780 # files to appear (when present) in the UI as actual files and not red |
| 4789 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4781 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4790 # and therefore SYMROOT, needs to be set at the project level. | 4782 # and therefore SYMROOT, needs to be set at the project level. |
| 4791 'SYMROOT': '<(DEPTH)/xcodebuild', | 4783 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4792 }, | 4784 }, |
| 4793 } | 4785 } |
| OLD | NEW |