| OLD | NEW |
| 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 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1271 # IPC fuzzer is disabled by default. | 1271 # IPC fuzzer is disabled by default. |
| 1272 'enable_ipc_fuzzer%': 0, | 1272 'enable_ipc_fuzzer%': 0, |
| 1273 | 1273 |
| 1274 # Whether or not to use "icu*.dat" file for ICU data. | 1274 # Whether or not to use "icu*.dat" file for ICU data. |
| 1275 # Do not use it by default. | 1275 # Do not use it by default. |
| 1276 'icu_use_data_file_flag%': 0, | 1276 'icu_use_data_file_flag%': 0, |
| 1277 | 1277 |
| 1278 # Force disable libstdc++ debug mode. | 1278 # Force disable libstdc++ debug mode. |
| 1279 'disable_glibcxx_debug%': 0, | 1279 'disable_glibcxx_debug%': 0, |
| 1280 | 1280 |
| 1281 # Set to 1 to compile with the hole punching for the protected video. |
| 1282 'video_hole%': 0, |
| 1283 |
| 1281 'conditions': [ | 1284 'conditions': [ |
| 1282 # The version of GCC in use, set later in platforms that use GCC and have | 1285 # The version of GCC in use, set later in platforms that use GCC and have |
| 1283 # not explicitly chosen to build with clang. Currently, this means all | 1286 # not explicitly chosen to build with clang. Currently, this means all |
| 1284 # platforms except Windows, Mac and iOS. | 1287 # platforms except Windows, Mac and iOS. |
| 1285 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1288 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
| 1286 # it takes effect here. | 1289 # it takes effect here. |
| 1287 ['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', { | 1290 ['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', { |
| 1288 'conditions': [ | 1291 'conditions': [ |
| 1289 ['OS=="android"', { | 1292 ['OS=="android"', { |
| 1290 # We directly set the gcc_version since we know what we use. | 1293 # We directly set the gcc_version since we know what we use. |
| (...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2507 ['enable_ipc_fuzzer==1', { | 2510 ['enable_ipc_fuzzer==1', { |
| 2508 'defines': ['ENABLE_IPC_FUZZER=1'], | 2511 'defines': ['ENABLE_IPC_FUZZER=1'], |
| 2509 }], | 2512 }], |
| 2510 ['OS=="win" and component=="shared_library"', { | 2513 ['OS=="win" and component=="shared_library"', { |
| 2511 'dependencies': [ | 2514 'dependencies': [ |
| 2512 # All targets in a component build must depend on chrome_redirects, | 2515 # All targets in a component build must depend on chrome_redirects, |
| 2513 # to ensure that certain calls go through it. | 2516 # to ensure that certain calls go through it. |
| 2514 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', | 2517 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_redirects', |
| 2515 ], | 2518 ], |
| 2516 }], | 2519 }], |
| 2520 ['video_hole==1', { |
| 2521 'defines': ['VIDEO_HOLE=1'], |
| 2522 }], |
| 2517 ], # conditions for 'target_defaults' | 2523 ], # conditions for 'target_defaults' |
| 2518 'target_conditions': [ | 2524 'target_conditions': [ |
| 2519 ['enable_wexit_time_destructors==1', { | 2525 ['enable_wexit_time_destructors==1', { |
| 2520 'conditions': [ | 2526 'conditions': [ |
| 2521 [ 'clang==1', { | 2527 [ 'clang==1', { |
| 2522 'cflags': [ | 2528 'cflags': [ |
| 2523 '-Wexit-time-destructors', | 2529 '-Wexit-time-destructors', |
| 2524 ], | 2530 ], |
| 2525 'xcode_settings': { | 2531 'xcode_settings': { |
| 2526 'WARNING_CFLAGS': [ | 2532 'WARNING_CFLAGS': [ |
| (...skipping 2472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4999 # settings in target dicts. SYMROOT is a special case, because many other | 5005 # settings in target dicts. SYMROOT is a special case, because many other |
| 5000 # Xcode variables depend on it, including variables such as | 5006 # Xcode variables depend on it, including variables such as |
| 5001 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5007 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5002 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5008 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5003 # files to appear (when present) in the UI as actual files and not red | 5009 # files to appear (when present) in the UI as actual files and not red |
| 5004 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5010 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5005 # and therefore SYMROOT, needs to be set at the project level. | 5011 # and therefore SYMROOT, needs to be set at the project level. |
| 5006 'SYMROOT': '<(DEPTH)/xcodebuild', | 5012 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5007 }, | 5013 }, |
| 5008 } | 5014 } |
| OLD | NEW |