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

Unified Diff: ui/gfx/BUILD.gn

Issue 285103002: Add GN build for parts of gpu and ozone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 -= [
« no previous file with comments | « tools/gn/builder.cc ('k') | ui/gfx/ozone/BUILD.gn » ('j') | ui/ozone/ozone.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698