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

Side by Side Diff: build/common.gypi

Issue 1747019: remove the logic to compute enable_gles since it's broken;... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 8 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 | « no previous file | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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': { 9 'variables': {
10 # .gyp files or targets should set chromium_code to 1 if they build 10 # .gyp files or targets should set chromium_code to 1 if they build
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 # Set Thumb compilation flags. 241 # Set Thumb compilation flags.
242 'arm_thumb%': 0, 242 'arm_thumb%': 0,
243 243
244 # Set ARM fpu compilation flags (only meaningful if armv7==1 and 244 # Set ARM fpu compilation flags (only meaningful if armv7==1 and
245 # arm_neon==0). 245 # arm_neon==0).
246 'arm_fpu%': 'vfpv3', 246 'arm_fpu%': 'vfpv3',
247 247
248 # Enable new NPDevice API. 248 # Enable new NPDevice API.
249 'enable_new_npdevice_api%': 0, 249 'enable_new_npdevice_api%': 0,
250 250
251 # Enable OpenGL ES.
252 'enable_gles%': 0,
253
254 # Enable EGLImage support in OpenMAX
255 'enable_eglimage%': 0,
256
251 'conditions': [ 257 'conditions': [
252 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { 258 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
253 # This will set gcc_version to XY if you are running gcc X.Y.*. 259 # This will set gcc_version to XY if you are running gcc X.Y.*.
254 # This is used to tweak build flags for gcc 4.4. 260 # This is used to tweak build flags for gcc 4.4.
255 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', 261 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)',
256 # Figure out the python architecture to decide if we build pyauto. 262 # Figure out the python architecture to decide if we build pyauto.
257 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)', 263 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l ib/libpython<(python_ver).so.1.0)',
258 'conditions': [ 264 'conditions': [
259 ['branding=="Chrome" or linux_chromium_breakpad==1', { 265 ['branding=="Chrome" or linux_chromium_breakpad==1', {
260 'linux_breakpad%': 1, 266 'linux_breakpad%': 1,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 }], 336 }],
331 # Compute based on OS and target architecture whether the GPU 337 # Compute based on OS and target architecture whether the GPU
332 # plugin / process is supported. 338 # plugin / process is supported.
333 [ 'OS=="win" or (OS=="linux" and target_arch!="arm") or OS=="mac"', { 339 [ 'OS=="win" or (OS=="linux" and target_arch!="arm") or OS=="mac"', {
334 # Enable a variable used elsewhere throughout the GYP files to determine 340 # Enable a variable used elsewhere throughout the GYP files to determine
335 # whether to compile in the sources for the GPU plugin / process. 341 # whether to compile in the sources for the GPU plugin / process.
336 'enable_gpu%': 1, 342 'enable_gpu%': 1,
337 }, { # GPU plugin not supported 343 }, { # GPU plugin not supported
338 'enable_gpu%': 0, 344 'enable_gpu%': 0,
339 }], 345 }],
340 # Compute based on OS, target architecture and device whether GLES
341 # is supported
342 [ 'OS=="linux" and target_arch=="arm" and chromeos==1', {
343 # Enable a variable used elsewhere throughout the GYP files to determine
344 # whether to compile in the sources for the GLES support.
345 'enable_gles%': 1,
346 }, { # GLES not supported
347 'enable_gles%': 0,
348 }],
349 ], 346 ],
350 347
351 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_' 348 # NOTE: When these end up in the Mac bundle, we need to replace '-' for '_'
352 # so Cocoa is happy (http://crbug.com/20441). 349 # so Cocoa is happy (http://crbug.com/20441).
353 'locales': [ 350 'locales': [
354 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 351 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB',
355 'en-US', 'es-419', 'es', 'et', 'fi', 'fil', 'fr', 'gu', 'he', 352 'en-US', 'es-419', 'es', 'et', 'fi', 'fil', 'fr', 'gu', 'he',
356 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', 353 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv',
357 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 354 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru',
358 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', 355 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk',
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 ['enable_gpu==1', { 425 ['enable_gpu==1', {
429 'defines': [ 426 'defines': [
430 'ENABLE_GPU=1', 427 'ENABLE_GPU=1',
431 ], 428 ],
432 }], 429 }],
433 ['enable_gles==1', { 430 ['enable_gles==1', {
434 'defines': [ 431 'defines': [
435 'ENABLE_GLES=1', 432 'ENABLE_GLES=1',
436 ], 433 ],
437 }], 434 }],
435 ['enable_eglimage==1', {
436 'defines': [
437 'ENABLE_EGLIMAGE=1',
438 ],
439 }],
438 ['coverage!=0', { 440 ['coverage!=0', {
439 'conditions': [ 441 'conditions': [
440 ['OS=="mac"', { 442 ['OS=="mac"', {
441 'xcode_settings': { 443 'xcode_settings': {
442 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs 444 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs
443 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage 445 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES', # -ftest-coverage
444 }, 446 },
445 # Add -lgcov for types executable, shared_library, and 447 # Add -lgcov for types executable, shared_library, and
446 # loadable_module; not for static_library. 448 # loadable_module; not for static_library.
447 # This is a delayed conditional. 449 # This is a delayed conditional.
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 # and therefore SYMROOT, needs to be set at the project level. 1311 # and therefore SYMROOT, needs to be set at the project level.
1310 'SYMROOT': '<(DEPTH)/xcodebuild', 1312 'SYMROOT': '<(DEPTH)/xcodebuild',
1311 }, 1313 },
1312 } 1314 }
1313 1315
1314 # Local Variables: 1316 # Local Variables:
1315 # tab-width:2 1317 # tab-width:2
1316 # indent-tabs-mode:nil 1318 # indent-tabs-mode:nil
1317 # End: 1319 # End:
1318 # vim: set expandtab tabstop=2 shiftwidth=2: 1320 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698