| 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 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2191 }], | 2194 }], |
| 2192 ['native_discardable_memory==1', { | 2195 ['native_discardable_memory==1', { |
| 2193 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2196 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
| 2194 }], | 2197 }], |
| 2195 ['native_memory_pressure_signals==1', { | 2198 ['native_memory_pressure_signals==1', { |
| 2196 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2199 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 2197 }], | 2200 }], |
| 2198 ['use_udev==1', { | 2201 ['use_udev==1', { |
| 2199 'defines': ['USE_UDEV'], | 2202 'defines': ['USE_UDEV'], |
| 2200 }], | 2203 }], |
| 2201 ['icu_use_data_file_flag==1', { | |
| 2202 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], | |
| 2203 }, { # else icu_use_data_file_flag !=1 | |
| 2204 'conditions': [ | |
| 2205 ['OS=="win"', { | |
| 2206 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], | |
| 2207 }, { | |
| 2208 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], | |
| 2209 }], | |
| 2210 ], | |
| 2211 }], | |
| 2212 ['fastbuild!=0', { | 2204 ['fastbuild!=0', { |
| 2213 'xcode_settings': { | 2205 'xcode_settings': { |
| 2214 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2206 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
| 2215 }, | 2207 }, |
| 2216 'conditions': [ | 2208 'conditions': [ |
| 2217 ['clang==1', { | 2209 ['clang==1', { |
| 2218 # Clang creates chubby debug information, which makes linking very | 2210 # Clang creates chubby debug information, which makes linking very |
| 2219 # slow. For now, don't create debug information with clang. See | 2211 # slow. For now, don't create debug information with clang. See |
| 2220 # http://crbug.com/70000 | 2212 # http://crbug.com/70000 |
| 2221 'conditions': [ | 2213 'conditions': [ |
| (...skipping 2559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4781 # settings in target dicts. SYMROOT is a special case, because many other | 4773 # settings in target dicts. SYMROOT is a special case, because many other |
| 4782 # Xcode variables depend on it, including variables such as | 4774 # Xcode variables depend on it, including variables such as |
| 4783 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4775 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4784 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4776 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4785 # files to appear (when present) in the UI as actual files and not red | 4777 # files to appear (when present) in the UI as actual files and not red |
| 4786 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4778 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4787 # and therefore SYMROOT, needs to be set at the project level. | 4779 # and therefore SYMROOT, needs to be set at the project level. |
| 4788 'SYMROOT': '<(DEPTH)/xcodebuild', | 4780 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4789 }, | 4781 }, |
| 4790 } | 4782 } |
| OLD | NEW |