Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1111)

Unified Diff: media/gpu/BUILD.gn

Issue 1992583002: media: Fix gn deps on media/gpu/* targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/gpu/ipc/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/BUILD.gn
diff --git a/media/gpu/BUILD.gn b/media/gpu/BUILD.gn
index 00386d99099b0173a83bc5b8b0f596331575286c..f763eff789478e692c284c73ee17cc09bb7a688e 100644
--- a/media/gpu/BUILD.gn
+++ b/media/gpu/BUILD.gn
@@ -329,7 +329,7 @@ component("gpu") {
"//build/config/compiler:no_size_t_to_int_warning",
"//third_party/khronos:khronos_headers",
]
- deps += [ "//ui/gl" ]
+ deps += [ "//third_party/angle:includes" ]
jrummell 2016/05/18 00:03:38 Note that //ui/gl is already in the deps (line 171
libs += [
"d3d9.lib",
"d3d11.lib",
@@ -396,6 +396,14 @@ if (is_win || is_android || is_chromeos) {
"rendering_helper.h",
"video_decode_accelerator_unittest.cc",
]
+ deps += [
+ "//ui/display",
+ "//ui/display/types",
+ "//ui/platform_window",
+ ]
+ if (use_ozone) {
+ deps += [ "//ui/ozone" ]
+ }
}
if (is_win) {
@@ -407,12 +415,6 @@ if (is_win || is_android || is_chromeos) {
]
}
- if (is_chromeos && use_ozone) {
- deps += [
- "//ui/display", # Used by rendering_helper.cc
- "//ui/ozone", # Used by rendering_helper.cc
- ]
- }
if (use_x11) {
configs += [ "//build/config/linux:x11" ]
deps += [ "//ui/gfx/x" ]
« no previous file with comments | « no previous file | media/gpu/ipc/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698