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 | 14 |
15 declare_args() { | 15 declare_args() { |
16 # TODO(henryhsu): This flag should be removed after the linux header of | 16 # Indicates if V4L plugin is used. |
17 # trybot is updated. | 17 use_v4lplugin = false |
18 | |
18 # Indicates if Video4Linux2 codec is used. This is used for x86 CrOS | 19 # Indicates if Video4Linux2 codec is used. This is used for x86 CrOS |
wuchengli
2015/01/21 12:50:42
Update the comment. This will be used by both x86
henryhsu
2015/01/21 13:00:40
No. The condition is (arm || (use_ozone && use_v4l
Pawel Osciak
2015/01/22 08:30:02
Yes, but the name would be misleading then, and th
henryhsu
2015/01/22 09:09:09
Done.
Pawel Osciak
2015/01/23 05:50:47
If done, then I think we should not have to check
| |
19 # platform which has v4l2 hardware encoder / decoder. | 20 # platform which has v4l2 hardware encoder / decoder. |
20 use_v4l2_codec = false | 21 use_v4l2_codec = false |
21 } | 22 } |
OLD | NEW |