OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//media/gpu/args.gni") | 7 import("//media/gpu/args.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 defines += [ "USE_V4L2_CODEC" ] | 135 defines += [ "USE_V4L2_CODEC" ] |
136 } | 136 } |
137 } | 137 } |
138 | 138 |
139 component("gpu") { | 139 component("gpu") { |
140 output_name = "media_gpu" | 140 output_name = "media_gpu" |
141 | 141 |
142 # Only local test code, GPU-related IPC code in the media layer, and | 142 # Only local test code, GPU-related IPC code in the media layer, and |
143 # media-related content code should access //media/gpu. | 143 # media-related content code should access //media/gpu. |
144 visibility = [ | 144 visibility = [ |
| 145 "//chrome/gpu:*", |
145 "//content/gpu:*", | 146 "//content/gpu:*", |
146 "//content/public/gpu:*", | |
147 "//content/renderer:*", | 147 "//content/renderer:*", |
148 "//media/gpu/ipc/*", | 148 "//media/gpu/ipc/*", |
149 ":*", | 149 ":*", |
150 ] | 150 ] |
151 | 151 |
152 if (is_mac) { | 152 if (is_mac) { |
153 # On Mac, content/common reaches into here to do some pre-sandbox | 153 # On Mac, content/common reaches into here to do some pre-sandbox |
154 # initialization. | 154 # initialization. |
155 visibility += [ "//content/common" ] | 155 visibility += [ "//content/common" ] |
156 } | 156 } |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 "video_encode_accelerator_unittest.cc", | 459 "video_encode_accelerator_unittest.cc", |
460 ] | 460 ] |
461 if (use_x11) { | 461 if (use_x11) { |
462 deps += [ "//ui/gfx/x" ] | 462 deps += [ "//ui/gfx/x" ] |
463 } | 463 } |
464 if (use_ozone) { | 464 if (use_ozone) { |
465 deps += [ "//ui/ozone" ] | 465 deps += [ "//ui/ozone" ] |
466 } | 466 } |
467 } | 467 } |
468 } | 468 } |
OLD | NEW |