OLD | NEW |
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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 | 244 |
245 # Set Thumb compilation flags. | 245 # Set Thumb compilation flags. |
246 'arm_thumb%': 0, | 246 'arm_thumb%': 0, |
247 | 247 |
248 # Set ARM fpu compilation flags (only meaningful if armv7==1 and | 248 # Set ARM fpu compilation flags (only meaningful if armv7==1 and |
249 # arm_neon==0). | 249 # arm_neon==0). |
250 'arm_fpu%': 'vfpv3', | 250 'arm_fpu%': 'vfpv3', |
251 | 251 |
252 # Enable new NPDevice API. | 252 # Enable new NPDevice API. |
253 'enable_new_npdevice_api%': 0, | 253 'enable_new_npdevice_api%': 0, |
254 | |
255 # Enable OpenGL ES. | |
256 'enable_gles%': 0, | |
257 | 254 |
258 # Enable EGLImage support in OpenMAX | 255 # Enable EGLImage support in OpenMAX |
259 'enable_eglimage%': 0, | 256 'enable_eglimage%': 0, |
260 | 257 |
261 'conditions': [ | 258 'conditions': [ |
262 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 259 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
263 # This will set gcc_version to XY if you are running gcc X.Y.*. | 260 # This will set gcc_version to XY if you are running gcc X.Y.*. |
264 # This is used to tweak build flags for gcc 4.4. | 261 # This is used to tweak build flags for gcc 4.4. |
265 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 262 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
266 # Figure out the python architecture to decide if we build pyauto. | 263 # Figure out the python architecture to decide if we build pyauto. |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 ['OS=="win"', { | 429 ['OS=="win"', { |
433 'defines': ['NO_TCMALLOC'], | 430 'defines': ['NO_TCMALLOC'], |
434 }], | 431 }], |
435 ], | 432 ], |
436 }], | 433 }], |
437 ['enable_gpu==1', { | 434 ['enable_gpu==1', { |
438 'defines': [ | 435 'defines': [ |
439 'ENABLE_GPU=1', | 436 'ENABLE_GPU=1', |
440 ], | 437 ], |
441 }], | 438 }], |
442 ['enable_gles==1', { | |
443 'defines': [ | |
444 'ENABLE_GLES=1', | |
445 ], | |
446 }], | |
447 ['enable_eglimage==1', { | 439 ['enable_eglimage==1', { |
448 'defines': [ | 440 'defines': [ |
449 'ENABLE_EGLIMAGE=1', | 441 'ENABLE_EGLIMAGE=1', |
450 ], | 442 ], |
451 }], | 443 }], |
452 ['coverage!=0', { | 444 ['coverage!=0', { |
453 'conditions': [ | 445 'conditions': [ |
454 ['OS=="mac"', { | 446 ['OS=="mac"', { |
455 'xcode_settings': { | 447 'xcode_settings': { |
456 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs | 448 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs |
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 # and therefore SYMROOT, needs to be set at the project level. | 1362 # and therefore SYMROOT, needs to be set at the project level. |
1371 'SYMROOT': '<(DEPTH)/xcodebuild', | 1363 'SYMROOT': '<(DEPTH)/xcodebuild', |
1372 }, | 1364 }, |
1373 } | 1365 } |
1374 | 1366 |
1375 # Local Variables: | 1367 # Local Variables: |
1376 # tab-width:2 | 1368 # tab-width:2 |
1377 # indent-tabs-mode:nil | 1369 # indent-tabs-mode:nil |
1378 # End: | 1370 # End: |
1379 # vim: set expandtab tabstop=2 shiftwidth=2: | 1371 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |