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

Unified Diff: ui/ozone/ozone.gni

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
« ui/gfx/BUILD.gn ('K') | « ui/ozone/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone.gni
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni
new file mode 100644
index 0000000000000000000000000000000000000000..5cdf255f042e44e0af32eddcf5aff2f56355a2a7
--- /dev/null
+++ b/ui/ozone/ozone.gni
@@ -0,0 +1,23 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/ui.gni")
+
+if (use_ozone) {
+ # This is the default platform.
+ # TODO(GYP) presumably this needs to be settable, it's not clear to me how
+ # this is used.
+ ozone_platform = "test"
spang 2014/05/14 19:56:17 It gets passed to generate_ozone_platform_list.py
+
+ # Enable built-in ozone platforms if ozone is enabled.
+ ozone_platform_caca = false
+ ozone_platform_dri = true
+ ozone_platform_ozonex = false
+ ozone_platform_test = true
+} else {
+ ozone_platform_caca = false
+ ozone_platform_dri = false
+ ozone_platform_ozonex = false
+ ozone_platform_test = false
+}
« ui/gfx/BUILD.gn ('K') | « ui/ozone/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698