Chromium Code Reviews| 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" ] |