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 |
+} |