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

Side by Side Diff: build/common.gypi

Issue 211473008: Revert of Use the system provided harfbuzz on chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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
« no previous file with comments | « build/check_return_value.py ('k') | third_party/harfbuzz-ng/harfbuzz.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
28 'use_ash%': 0, 28 'use_ash%': 0,
29 29
30 # Whether or not we are using CRAS, the ChromeOS Audio Server. 30 # Whether or not we are using CRAS, the ChromeOS Audio Server.
31 'use_cras%': 0, 31 'use_cras%': 0,
32 32
33 # Use a raw surface abstraction. 33 # Use a raw surface abstraction.
34 'use_ozone%': 0, 34 'use_ozone%': 0,
35 35
36 # Configure the build for small devices. See crbug.com/318413 36 # Configure the build for small devices. See crbug.com/318413
37 'embedded%': 0, 37 'embedded%': 0,
38
39 'conditions': [
40 # Compute the architecture that we're building on.
41 ['OS=="win" or OS=="mac" or OS=="ios"', {
42 'host_arch%': 'ia32',
43 }, {
44 'host_arch%': '<!(python <(DEPTH)/build/linux/detect_host_arch.p y)',
45 }],
46 ],
47 }, 38 },
48 # Copy conditionally-set variables out one scope. 39 # Copy conditionally-set variables out one scope.
49 'chromeos%': '<(chromeos)', 40 'chromeos%': '<(chromeos)',
50 'use_aura%': '<(use_aura)', 41 'use_aura%': '<(use_aura)',
51 'use_ash%': '<(use_ash)', 42 'use_ash%': '<(use_ash)',
52 'use_cras%': '<(use_cras)', 43 'use_cras%': '<(use_cras)',
53 'use_ozone%': '<(use_ozone)', 44 'use_ozone%': '<(use_ozone)',
54 'embedded%': '<(embedded)', 45 'embedded%': '<(embedded)',
55 'host_arch%': '<(host_arch)',
56 46
57 # Whether we are using Views Toolkit 47 # Whether we are using Views Toolkit
58 'toolkit_views%': 0, 48 'toolkit_views%': 0,
59 49
60 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/ 62803 50 # Use OpenSSL instead of NSS. Under development: see http://crbug.com/ 62803
61 'use_openssl%': 0, 51 'use_openssl%': 0,
62 52
63 # Disable viewport meta tag by default. 53 # Disable viewport meta tag by default.
64 'enable_viewport%': 0, 54 'enable_viewport%': 0,
65 55
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 'use_aura%': 1, 89 'use_aura%': 1,
100 }], 90 }],
101 91
102 # Whether we're a traditional desktop unix. 92 # Whether we're a traditional desktop unix.
103 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a nd chromeos==0', { 93 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a nd chromeos==0', {
104 'desktop_linux%': 1, 94 'desktop_linux%': 1,
105 }, { 95 }, {
106 'desktop_linux%': 0, 96 'desktop_linux%': 0,
107 }], 97 }],
108 98
99 # Compute the architecture that we're building on.
100 ['OS=="win" or OS=="mac" or OS=="ios"', {
101 'host_arch%': 'ia32',
102 }, {
103 'host_arch%': '<!(python <(DEPTH)/build/linux/detect_host_arch.py) ',
104 }],
105
109 # Embedded implies ozone. 106 # Embedded implies ozone.
110 ['embedded==1', { 107 ['embedded==1', {
111 'use_ozone%': 1, 108 'use_ozone%': 1,
112 }], 109 }],
113 110
114 ['embedded==1', { 111 ['embedded==1', {
115 'use_system_fontconfig%': 0, 112 'use_system_fontconfig%': 0,
116 }, { 113 }, {
117 'use_system_fontconfig%': 1, 114 'use_system_fontconfig%': 1,
118 }], 115 }],
119
120 ['OS=="android"', {
121 'target_arch%': 'arm',
122 }, {
123 # Default architecture we're building for is the architecture we'r e
124 # building on, and possibly sub-architecture (for iOS builds).
125 'target_arch%': '<(host_arch)',
126 }],
127 ], 116 ],
128 }, 117 },
129 # Copy conditionally-set variables out one scope. 118 # Copy conditionally-set variables out one scope.
130 'chromeos%': '<(chromeos)', 119 'chromeos%': '<(chromeos)',
131 'desktop_linux%': '<(desktop_linux)', 120 'desktop_linux%': '<(desktop_linux)',
132 'use_aura%': '<(use_aura)', 121 'use_aura%': '<(use_aura)',
133 'use_ash%': '<(use_ash)', 122 'use_ash%': '<(use_ash)',
134 'use_cras%': '<(use_cras)', 123 'use_cras%': '<(use_cras)',
135 'use_ozone%': '<(use_ozone)', 124 'use_ozone%': '<(use_ozone)',
136 'embedded%': '<(embedded)', 125 'embedded%': '<(embedded)',
137 'use_openssl%': '<(use_openssl)', 126 'use_openssl%': '<(use_openssl)',
138 'use_system_fontconfig%': '<(use_system_fontconfig)', 127 'use_system_fontconfig%': '<(use_system_fontconfig)',
139 'enable_viewport%': '<(enable_viewport)', 128 'enable_viewport%': '<(enable_viewport)',
140 'enable_hidpi%': '<(enable_hidpi)', 129 'enable_hidpi%': '<(enable_hidpi)',
141 'buildtype%': '<(buildtype)', 130 'buildtype%': '<(buildtype)',
142 'branding%': '<(branding)', 131 'branding%': '<(branding)',
143 'host_arch%': '<(host_arch)', 132 'host_arch%': '<(host_arch)',
144 'target_arch%': '<(target_arch)',
145 133
146 'target_subarch%': '', 134 'target_subarch%': '',
147 135
148 # This is set when building the Android WebView inside the Android 136 # This is set when building the Android WebView inside the Android
149 # build system, using the 'android' gyp backend. The WebView code is 137 # build system, using the 'android' gyp backend. The WebView code is
150 # still built when this is unset, but builds using the normal chromium 138 # still built when this is unset, but builds using the normal chromium
151 # build system. 139 # build system.
152 'android_webview_build%': 0, 140 'android_webview_build%': 0,
153 141
154 # Set ARM architecture version. 142 # Set ARM architecture version.
155 'arm_version%': 7, 143 'arm_version%': 7,
156 144
157 # Use aurax11 for clipboard implementation. This is true on linux_aura. 145 # Use aurax11 for clipboard implementation. This is true on linux_aura.
158 'use_clipboard_aurax11%': 0, 146 'use_clipboard_aurax11%': 0,
159 147
160 # goma settings. 148 # goma settings.
161 # 1 to use goma. 149 # 1 to use goma.
162 # If no gomadir is set, it uses the default gomadir. 150 # If no gomadir is set, it uses the default gomadir.
163 'use_goma%': 0, 151 'use_goma%': 0,
164 'gomadir%': '', 152 'gomadir%': '',
165 153
166 # The system root for cross-compiles. Default: none.
167 'sysroot%': '',
168 'chroot_cmd%': '',
169
170 'conditions': [ 154 'conditions': [
171 # Ash needs Aura. 155 # Ash needs Aura.
172 ['use_aura==0', { 156 ['use_aura==0', {
173 'use_ash%': 0, 157 'use_ash%': 0,
174 }], 158 }],
175 159
176 # Set default value of toolkit_views based on OS. 160 # Set default value of toolkit_views based on OS.
177 ['OS=="win" or chromeos==1 or use_aura==1', { 161 ['OS=="win" or chromeos==1 or use_aura==1', {
178 'toolkit_views%': 1, 162 'toolkit_views%': 1,
179 }, { 163 }, {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 # "arm64" and "both" (meaning a fat binary). 214 # "arm64" and "both" (meaning a fat binary).
231 # 215 #
232 # TODO(sdefresne): change the default from "arm32" to "both" for 216 # TODO(sdefresne): change the default from "arm32" to "both" for
233 # "target_subarch" once http://crbug.com/339477 is fixed. 217 # "target_subarch" once http://crbug.com/339477 is fixed.
234 # 218 #
235 # TODO(sdefresne): set the "target_arch" to "arm" once compilation 219 # TODO(sdefresne): set the "target_arch" to "arm" once compilation
236 # of skia has been fixed for simulator. http://crbug.com/342377 220 # of skia has been fixed for simulator. http://crbug.com/342377
237 ['OS=="ios"', { 221 ['OS=="ios"', {
238 'target_subarch%': 'arm32', 222 'target_subarch%': 'arm32',
239 }], 223 }],
224 ['OS=="android"', {
225 'target_arch%': 'arm',
226 }, {
227 # Default architecture we're building for is the architecture we're
228 # building on, and possibly sub-architecture (for iOS builds).
229 'target_arch%': '<(host_arch)',
230 }],
240 ], 231 ],
241 }, 232 },
242 233
243 # Copy conditionally-set variables out one scope. 234 # Copy conditionally-set variables out one scope.
244 'chromeos%': '<(chromeos)', 235 'chromeos%': '<(chromeos)',
245 'host_arch%': '<(host_arch)', 236 'host_arch%': '<(host_arch)',
246 'target_arch%': '<(target_arch)', 237 'target_arch%': '<(target_arch)',
247 'target_subarch%': '<(target_subarch)', 238 'target_subarch%': '<(target_subarch)',
248 'toolkit_views%': '<(toolkit_views)', 239 'toolkit_views%': '<(toolkit_views)',
249 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', 240 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
(...skipping 10 matching lines...) Expand all
260 'enable_viewport%': '<(enable_viewport)', 251 'enable_viewport%': '<(enable_viewport)',
261 'enable_hidpi%': '<(enable_hidpi)', 252 'enable_hidpi%': '<(enable_hidpi)',
262 'android_webview_build%': '<(android_webview_build)', 253 'android_webview_build%': '<(android_webview_build)',
263 'use_goma%': '<(use_goma)', 254 'use_goma%': '<(use_goma)',
264 'gomadir%': '<(gomadir)', 255 'gomadir%': '<(gomadir)',
265 'enable_app_list%': '<(enable_app_list)', 256 'enable_app_list%': '<(enable_app_list)',
266 'use_default_render_theme%': '<(use_default_render_theme)', 257 'use_default_render_theme%': '<(use_default_render_theme)',
267 'buildtype%': '<(buildtype)', 258 'buildtype%': '<(buildtype)',
268 'branding%': '<(branding)', 259 'branding%': '<(branding)',
269 'arm_version%': '<(arm_version)', 260 'arm_version%': '<(arm_version)',
270 'sysroot%': '<(sysroot)',
271 'chroot_cmd%': '<(chroot_cmd)',
272 261
273 # Whether content/chrome is using mojo: see http://crbug.com/353602 262 # Whether content/chrome is using mojo: see http://crbug.com/353602
274 'use_mojo%': 0, 263 'use_mojo%': 0,
275 264
276 # Set to 1 to enable fast builds. Set to 2 for even faster builds 265 # Set to 1 to enable fast builds. Set to 2 for even faster builds
277 # (it disables debug info for fastest compilation - only for use 266 # (it disables debug info for fastest compilation - only for use
278 # on compile-only bots). 267 # on compile-only bots).
279 'fastbuild%': 0, 268 'fastbuild%': 0,
280 269
281 # Set to 1 to enable dcheck in release. 270 # Set to 1 to enable dcheck in release.
282 'dcheck_always_on%': 0, 271 'dcheck_always_on%': 0,
283 272
284 # Set to 1 to make a build that disables unshipped tracing events. 273 # Set to 1 to make a build that disables unshipped tracing events.
285 # Note: this setting is ignored if buildtype=="Official". 274 # Note: this setting is ignored if buildtype=="Official".
286 'tracing_like_official_build%': 0, 275 'tracing_like_official_build%': 0,
287 276
288 # Disable image loader component extension by default. 277 # Disable image loader component extension by default.
289 'image_loader_extension%': 0, 278 'image_loader_extension%': 0,
290 279
291 # Python version. 280 # Python version.
292 'python_ver%': '2.6', 281 'python_ver%': '2.6',
293 282
294 # Set NEON compilation flags. 283 # Set NEON compilation flags.
295 'arm_neon%': 1, 284 'arm_neon%': 1,
296 285
297 # Detect NEON support at run-time. 286 # Detect NEON support at run-time.
298 'arm_neon_optional%': 0, 287 'arm_neon_optional%': 0,
299 288
289 # The system root for cross-compiles. Default: none.
290 'sysroot%': '',
291 'chroot_cmd%': '',
292
300 # The system libdir used for this ABI. 293 # The system libdir used for this ABI.
301 'system_libdir%': 'lib', 294 'system_libdir%': 'lib',
302 295
303 # Use libjpeg-turbo as the JPEG codec used by Chromium. 296 # Use libjpeg-turbo as the JPEG codec used by Chromium.
304 'use_libjpeg_turbo%': 1, 297 'use_libjpeg_turbo%': 1,
305 298
306 # Use system libjpeg. Note that the system's libjepg will be used even if 299 # Use system libjpeg. Note that the system's libjepg will be used even if
307 # use_libjpeg_turbo is set. 300 # use_libjpeg_turbo is set.
308 'use_system_libjpeg%': 0, 301 'use_system_libjpeg%': 0,
309 302
(...skipping 2717 matching lines...) Expand 10 before | Expand all | Expand 10 after
3027 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'], 3020 'inherit_from': ['Common_Base', 'x64_Base', 'Debug_Base'],
3028 }, 3021 },
3029 'Release_x64': { 3022 'Release_x64': {
3030 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'], 3023 'inherit_from': ['Common_Base', 'x64_Base', 'Release_Base'],
3031 }, 3024 },
3032 }], 3025 }],
3033 ], 3026 ],
3034 }, 3027 },
3035 }, 3028 },
3036 'conditions': [ 3029 'conditions': [
3037 ['os_posix==1', { 3030 # TODO(jochen): Enable this on chromeos. http://crbug.com/353127
3031 ['os_posix==1 and chromeos==0', {
3038 'target_defaults': { 3032 'target_defaults': {
3039 'ldflags': [ 3033 'ldflags': [
3040 '-Wl,--fatal-warnings', 3034 '-Wl,--fatal-warnings',
3041 '-Wl,-z,now', 3035 '-Wl,-z,now',
3042 '-Wl,-z,relro', 3036 '-Wl,-z,relro',
3043 ], 3037 ],
3044 }, 3038 },
3045 }], 3039 }],
3046 ['os_posix==1 and chromeos==0', { 3040 ['os_posix==1 and chromeos==0', {
3047 # Chrome OS enables -fstack-protector-strong via its build wrapper, 3041 # Chrome OS enables -fstack-protector-strong via its build wrapper,
(...skipping 2110 matching lines...) Expand 10 before | Expand all | Expand 10 after
5158 # settings in target dicts. SYMROOT is a special case, because many other 5152 # settings in target dicts. SYMROOT is a special case, because many other
5159 # Xcode variables depend on it, including variables such as 5153 # Xcode variables depend on it, including variables such as
5160 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5154 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5161 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5155 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5162 # files to appear (when present) in the UI as actual files and not red 5156 # files to appear (when present) in the UI as actual files and not red
5163 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5157 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5164 # and therefore SYMROOT, needs to be set at the project level. 5158 # and therefore SYMROOT, needs to be set at the project level.
5165 'SYMROOT': '<(DEPTH)/xcodebuild', 5159 'SYMROOT': '<(DEPTH)/xcodebuild',
5166 }, 5160 },
5167 } 5161 }
OLDNEW
« no previous file with comments | « build/check_return_value.py ('k') | third_party/harfbuzz-ng/harfbuzz.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698