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 1236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 # IPC fuzzer is disabled by default. | 1247 # IPC fuzzer is disabled by default. |
1248 'enable_ipc_fuzzer%': 0, | 1248 'enable_ipc_fuzzer%': 0, |
1249 | 1249 |
1250 # Whether or not to use "icu*.dat" file for ICU data. | 1250 # Whether or not to use "icu*.dat" file for ICU data. |
1251 # Do not use it by default. | 1251 # Do not use it by default. |
1252 'icu_use_data_file_flag%': 0, | 1252 'icu_use_data_file_flag%': 0, |
1253 | 1253 |
1254 # Force disable libstdc++ debug mode. | 1254 # Force disable libstdc++ debug mode. |
1255 'disable_glibcxx_debug%': 0, | 1255 'disable_glibcxx_debug%': 0, |
1256 | 1256 |
| 1257 # Set to 1 to compile with the hole punching for the protected video. |
| 1258 'video_hole%': 0, |
| 1259 |
1257 'conditions': [ | 1260 'conditions': [ |
1258 # The version of GCC in use, set later in platforms that use GCC and have | 1261 # The version of GCC in use, set later in platforms that use GCC and have |
1259 # not explicitly chosen to build with clang. Currently, this means all | 1262 # not explicitly chosen to build with clang. Currently, this means all |
1260 # platforms except Windows, Mac and iOS. | 1263 # platforms except Windows, Mac and iOS. |
1261 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1264 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1262 # it takes effect here. | 1265 # it takes effect here. |
1263 ['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', { | 1266 ['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', { |
1264 'conditions': [ | 1267 'conditions': [ |
1265 ['OS=="android"', { | 1268 ['OS=="android"', { |
1266 # We directly set the gcc_version since we know what we use. | 1269 # We directly set the gcc_version since we know what we use. |
(...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2453 }], | 2456 }], |
2454 ['enable_mdns==1', { | 2457 ['enable_mdns==1', { |
2455 'defines': ['ENABLE_MDNS=1'], | 2458 'defines': ['ENABLE_MDNS=1'], |
2456 }], | 2459 }], |
2457 ['enable_enhanced_bookmarks==1', { | 2460 ['enable_enhanced_bookmarks==1', { |
2458 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], | 2461 'defines': ['ENABLE_ENHANCED_BOOKMARKS=1'], |
2459 }], | 2462 }], |
2460 ['enable_ipc_fuzzer==1', { | 2463 ['enable_ipc_fuzzer==1', { |
2461 'defines': ['ENABLE_IPC_FUZZER=1'], | 2464 'defines': ['ENABLE_IPC_FUZZER=1'], |
2462 }], | 2465 }], |
| 2466 ['video_hole==1', { |
| 2467 'defines': ['VIDEO_HOLE=1'], |
| 2468 }], |
2463 ], # conditions for 'target_defaults' | 2469 ], # conditions for 'target_defaults' |
2464 'target_conditions': [ | 2470 'target_conditions': [ |
2465 ['enable_wexit_time_destructors==1', { | 2471 ['enable_wexit_time_destructors==1', { |
2466 'conditions': [ | 2472 'conditions': [ |
2467 [ 'clang==1', { | 2473 [ 'clang==1', { |
2468 'cflags': [ | 2474 'cflags': [ |
2469 '-Wexit-time-destructors', | 2475 '-Wexit-time-destructors', |
2470 ], | 2476 ], |
2471 'xcode_settings': { | 2477 'xcode_settings': { |
2472 'WARNING_CFLAGS': [ | 2478 'WARNING_CFLAGS': [ |
(...skipping 2437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4910 # settings in target dicts. SYMROOT is a special case, because many other | 4916 # settings in target dicts. SYMROOT is a special case, because many other |
4911 # Xcode variables depend on it, including variables such as | 4917 # Xcode variables depend on it, including variables such as |
4912 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4918 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4913 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4919 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4914 # files to appear (when present) in the UI as actual files and not red | 4920 # files to appear (when present) in the UI as actual files and not red |
4915 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4921 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4916 # and therefore SYMROOT, needs to be set at the project level. | 4922 # and therefore SYMROOT, needs to be set at the project level. |
4917 'SYMROOT': '<(DEPTH)/xcodebuild', | 4923 'SYMROOT': '<(DEPTH)/xcodebuild', |
4918 }, | 4924 }, |
4919 } | 4925 } |
OLD | NEW |