Chromium Code Reviews| Index: ui/gfx/BUILD.gn |
| diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn |
| index 9a3463d6a3bbffacbd269afa99a1b85fc4937adc..5b2c4eef0f0ba8cd7c9957a026a76b52b652f679 100644 |
| --- a/ui/gfx/BUILD.gn |
| +++ b/ui/gfx/BUILD.gn |
| @@ -6,6 +6,9 @@ import("//build/config/ui.gni") |
| if (is_android) { |
| import("//build/config/android/config.gni") |
| } |
| +if (use_ozone) { |
| + import("//ui/ozone/ozone.gni") |
| +} |
| # Several targets want to include this header file, and some of them are |
| # child dependencies of "gfx". Therefore, we separate it out here so multiple |
| @@ -334,7 +337,7 @@ component("gfx") { |
| "ozone/overlay_candidates_ozone.h", |
| ] |
| } |
| - if (ozone_platform_dri) { |
| + if (use_ozone && ozone_platform_dri) { |
| configs += [ "//build/config/linux:dridrm" ] |
|
spang
2014/05/14 19:03:06
We've moved the DRI code to ui/ozone. This dep wil
|
| } else { |
| sources -= [ |