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 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 # IPC fuzzer is disabled by default. | 1267 # IPC fuzzer is disabled by default. |
1268 'enable_ipc_fuzzer%': 0, | 1268 'enable_ipc_fuzzer%': 0, |
1269 | 1269 |
1270 # Whether or not to use "icu*.dat" file for ICU data. | 1270 # Whether or not to use "icu*.dat" file for ICU data. |
1271 # Do not use it by default. | 1271 # Do not use it by default. |
1272 'icu_use_data_file_flag%': 0, | 1272 'icu_use_data_file_flag%': 0, |
1273 | 1273 |
1274 # Force disable libstdc++ debug mode. | 1274 # Force disable libstdc++ debug mode. |
1275 'disable_glibcxx_debug%': 0, | 1275 'disable_glibcxx_debug%': 0, |
1276 | 1276 |
| 1277 # Set to 1 to compile with the hole punching for the protected video. |
| 1278 'video_hole%': 0, |
| 1279 |
1277 'conditions': [ | 1280 'conditions': [ |
1278 # The version of GCC in use, set later in platforms that use GCC and have | 1281 # The version of GCC in use, set later in platforms that use GCC and have |
1279 # not explicitly chosen to build with clang. Currently, this means all | 1282 # not explicitly chosen to build with clang. Currently, this means all |
1280 # platforms except Windows, Mac and iOS. | 1283 # platforms except Windows, Mac and iOS. |
1281 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1284 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1282 # it takes effect here. | 1285 # it takes effect here. |
1283 ['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', { | 1286 ['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', { |
1284 'conditions': [ | 1287 'conditions': [ |
1285 ['OS=="android"', { | 1288 ['OS=="android"', { |
1286 # We directly set the gcc_version since we know what we use. | 1289 # We directly set the gcc_version since we know what we use. |
(...skipping 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2496 }], | 2499 }], |
2497 ['enable_enhanced_bookmarks==1', { | 2500 ['enable_enhanced_bookmarks==1', { |
2498 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2501 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2499 }], | 2502 }], |
2500 ['enable_hangout_services_extension==1', { | 2503 ['enable_hangout_services_extension==1', { |
2501 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], | 2504 'defines': ['ENABLE_HANGOUT_SERVICES_EXTENSION=1'], |
2502 }], | 2505 }], |
2503 ['enable_ipc_fuzzer==1', { | 2506 ['enable_ipc_fuzzer==1', { |
2504 'defines': ['ENABLE_IPC_FUZZER=1'], | 2507 'defines': ['ENABLE_IPC_FUZZER=1'], |
2505 }], | 2508 }], |
| 2509 ['video_hole==1', { |
| 2510 'defines': ['VIDEO_HOLE=1'], |
| 2511 }], |
2506 ], # conditions for 'target_defaults' | 2512 ], # conditions for 'target_defaults' |
2507 'target_conditions': [ | 2513 'target_conditions': [ |
2508 ['enable_wexit_time_destructors==1', { | 2514 ['enable_wexit_time_destructors==1', { |
2509 'conditions': [ | 2515 'conditions': [ |
2510 [ 'clang==1', { | 2516 [ 'clang==1', { |
2511 'cflags': [ | 2517 'cflags': [ |
2512 '-Wexit-time-destructors', | 2518 '-Wexit-time-destructors', |
2513 ], | 2519 ], |
2514 'xcode_settings': { | 2520 'xcode_settings': { |
2515 'WARNING_CFLAGS': [ | 2521 'WARNING_CFLAGS': [ |
(...skipping 2468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4984 # settings in target dicts. SYMROOT is a special case, because many other | 4990 # settings in target dicts. SYMROOT is a special case, because many other |
4985 # Xcode variables depend on it, including variables such as | 4991 # Xcode variables depend on it, including variables such as |
4986 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4992 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4987 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4993 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4988 # files to appear (when present) in the UI as actual files and not red | 4994 # files to appear (when present) in the UI as actual files and not red |
4989 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4995 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4990 # and therefore SYMROOT, needs to be set at the project level. | 4996 # and therefore SYMROOT, needs to be set at the project level. |
4991 'SYMROOT': '<(DEPTH)/xcodebuild', | 4997 'SYMROOT': '<(DEPTH)/xcodebuild', |
4992 }, | 4998 }, |
4993 } | 4999 } |
OLD | NEW |