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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 # Enable new NPDevice API. | 307 # Enable new NPDevice API. |
308 'enable_new_npdevice_api%': 0, | 308 'enable_new_npdevice_api%': 0, |
309 | 309 |
310 # Enable EGLImage support in OpenMAX | 310 # Enable EGLImage support in OpenMAX |
311 'enable_eglimage%': 0, | 311 'enable_eglimage%': 0, |
312 | 312 |
313 # Enable a variable used elsewhere throughout the GYP files to determine | 313 # Enable a variable used elsewhere throughout the GYP files to determine |
314 # whether to compile in the sources for the GPU plugin / process. | 314 # whether to compile in the sources for the GPU plugin / process. |
315 'enable_gpu%': 1, | 315 'enable_gpu%': 1, |
316 | 316 |
317 # Use OpenSSL instead of NSS. Currently in developement. | 317 # Use OpenSSL instead of NSS. Currently in development. |
318 'use_openssl%': 0, | 318 'use_openssl%': 0, |
319 | 319 |
320 'conditions': [ | 320 'conditions': [ |
321 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 321 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
322 # This will set gcc_version to XY if you are running gcc X.Y.*. | 322 # This will set gcc_version to XY if you are running gcc X.Y.*. |
323 # This is used to tweak build flags for gcc 4.4. | 323 # This is used to tweak build flags for gcc 4.4. |
324 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', | 324 'gcc_version%': '<!(python <(DEPTH)/build/compiler_version.py)', |
325 # Figure out the python architecture to decide if we build pyauto. | 325 # Figure out the python architecture to decide if we build pyauto. |
326 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l
ib/libpython<(python_ver).so.1.0)', | 326 'python_arch%': '<!(<(DEPTH)/build/linux/python_arch.sh <(sysroot)/usr/l
ib/libpython<(python_ver).so.1.0)', |
327 'conditions': [ | 327 'conditions': [ |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
494 ['OS=="win"', { | 494 ['OS=="win"', { |
495 'defines': ['NO_TCMALLOC'], | 495 'defines': ['NO_TCMALLOC'], |
496 }], | 496 }], |
497 ], | 497 ], |
498 }], | 498 }], |
499 ['enable_gpu==1', { | 499 ['enable_gpu==1', { |
500 'defines': [ | 500 'defines': [ |
501 'ENABLE_GPU=1', | 501 'ENABLE_GPU=1', |
502 ], | 502 ], |
503 }], | 503 }], |
| 504 ['use_openssl==1', { |
| 505 'defines': [ |
| 506 'USE_OPENSSL=1', |
| 507 ], |
| 508 }], |
504 ['enable_eglimage==1', { | 509 ['enable_eglimage==1', { |
505 'defines': [ | 510 'defines': [ |
506 'ENABLE_EGLIMAGE=1', | 511 'ENABLE_EGLIMAGE=1', |
507 ], | 512 ], |
508 }], | 513 }], |
509 ['coverage!=0', { | 514 ['coverage!=0', { |
510 'conditions': [ | 515 'conditions': [ |
511 ['OS=="mac"', { | 516 ['OS=="mac"', { |
512 'xcode_settings': { | 517 'xcode_settings': { |
513 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs | 518 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS': 'YES', # -fprofile-arcs |
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1493 # and therefore SYMROOT, needs to be set at the project level. | 1498 # and therefore SYMROOT, needs to be set at the project level. |
1494 'SYMROOT': '<(DEPTH)/xcodebuild', | 1499 'SYMROOT': '<(DEPTH)/xcodebuild', |
1495 }, | 1500 }, |
1496 } | 1501 } |
1497 | 1502 |
1498 # Local Variables: | 1503 # Local Variables: |
1499 # tab-width:2 | 1504 # tab-width:2 |
1500 # indent-tabs-mode:nil | 1505 # indent-tabs-mode:nil |
1501 # End: | 1506 # End: |
1502 # vim: set expandtab tabstop=2 shiftwidth=2: | 1507 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |