OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # This file defines the content common gypi values. This file is read once and | 5 # This file defines the content common gypi values. This file is read once and |
6 # cached, which is a performance optimization that allows us to share the | 6 # cached, which is a performance optimization that allows us to share the |
7 # results of parsing the .gypi file between the public and private BUILD.gn | 7 # results of parsing the .gypi file between the public and private BUILD.gn |
8 # files. It also saves us from duplicating this exec_script call. | 8 # files. It also saves us from duplicating this exec_script call. |
9 content_common_gypi_values = | 9 content_common_gypi_values = |
10 exec_script("//build/gypi_to_gn.py", | 10 exec_script("//build/gypi_to_gn.py", |
11 [ rebase_path("../content_common.gypi") ], | 11 [ rebase_path("../content_common.gypi") ], |
12 "scope", | 12 "scope", |
13 [ "../content_common.gypi" ]) | 13 [ "../content_common.gypi" ]) |
14 | |
15 declare_args() { | |
16 # Indicates if V4L plugin is used. | |
17 use_v4lplugin = false | |
18 | |
19 # Indicates if Video4Linux2 codec is used. This is used for all CrOS | |
20 # platforms which have v4l2 hardware encoder / decoder. | |
21 use_v4l2_codec = false | |
22 } | |
OLD | NEW |