Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: build/common.gypi

Issue 89863002: Move the logic for getting icu data out of icu_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: set the flag to 0 by default Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 1210
1211 # Use the chromium skia by default. 1211 # Use the chromium skia by default.
1212 'use_system_skia%': '0', 1212 'use_system_skia%': '0',
1213 1213
1214 # Use brlapi from brltty for braille display support. 1214 # Use brlapi from brltty for braille display support.
1215 'use_brlapi%': 0, 1215 'use_brlapi%': 0,
1216 1216
1217 # Relative path to icu.gyp from this file. 1217 # Relative path to icu.gyp from this file.
1218 'icu_gyp_path': '../third_party/icu/icu.gyp', 1218 'icu_gyp_path': '../third_party/icu/icu.gyp',
1219 1219
1220 # Whether or not to use "icu*.dat" file for ICU data.
1221 # Do not use it by default.
1222 'icu_use_data_file_flag%': 0,
1223
1220 'conditions': [ 1224 'conditions': [
1221 # The version of GCC in use, set later in platforms that use GCC and have 1225 # The version of GCC in use, set later in platforms that use GCC and have
1222 # not explicitly chosen to build with clang. Currently, this means all 1226 # not explicitly chosen to build with clang. Currently, this means all
1223 # platforms except Windows, Mac and iOS. 1227 # platforms except Windows, Mac and iOS.
1224 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that 1228 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that
1225 # it takes effect here. 1229 # it takes effect here.
1226 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', { 1230 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa n==0 and tsan==0 and msan==0', {
1227 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 1231 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
1228 }, { 1232 }, {
1229 'gcc_version%': 0, 1233 'gcc_version%': 0,
(...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
2150 }], 2154 }],
2151 ['native_discardable_memory==1', { 2155 ['native_discardable_memory==1', {
2152 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], 2156 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
2153 }], 2157 }],
2154 ['native_memory_pressure_signals==1', { 2158 ['native_memory_pressure_signals==1', {
2155 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], 2159 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
2156 }], 2160 }],
2157 ['use_udev==1', { 2161 ['use_udev==1', {
2158 'defines': ['USE_UDEV'], 2162 'defines': ['USE_UDEV'],
2159 }], 2163 }],
2164 ['icu_use_data_file_flag==1', {
2165 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'],
2166 }, { # else icu_use_data_file_flag !=1
2167 'conditions': [
2168 ['OS=="win"', {
2169 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'],
2170 }, {
2171 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'],
2172 }],
2173 ],
2174 }],
2160 ['fastbuild!=0', { 2175 ['fastbuild!=0', {
2161 'xcode_settings': { 2176 'xcode_settings': {
2162 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', 2177 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
2163 }, 2178 },
2164 'conditions': [ 2179 'conditions': [
2165 ['clang==1', { 2180 ['clang==1', {
2166 # Clang creates chubby debug information, which makes linking very 2181 # Clang creates chubby debug information, which makes linking very
2167 # slow. For now, don't create debug information with clang. See 2182 # slow. For now, don't create debug information with clang. See
2168 # http://crbug.com/70000 2183 # http://crbug.com/70000
2169 'conditions': [ 2184 'conditions': [
(...skipping 2575 matching lines...) Expand 10 before | Expand all | Expand 10 after
4745 # settings in target dicts. SYMROOT is a special case, because many other 4760 # settings in target dicts. SYMROOT is a special case, because many other
4746 # Xcode variables depend on it, including variables such as 4761 # Xcode variables depend on it, including variables such as
4747 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4762 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4748 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4763 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4749 # files to appear (when present) in the UI as actual files and not red 4764 # files to appear (when present) in the UI as actual files and not red
4750 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4765 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4751 # and therefore SYMROOT, needs to be set at the project level. 4766 # and therefore SYMROOT, needs to be set at the project level.
4752 'SYMROOT': '<(DEPTH)/xcodebuild', 4767 'SYMROOT': '<(DEPTH)/xcodebuild',
4753 }, 4768 },
4754 } 4769 }
OLDNEW
« base/i18n/icu_util.cc ('K') | « base/i18n/icu_util.cc ('k') | url/url.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698