Index: ui/ozone/ozone.gni |
diff --git a/ui/ozone/ozone.gni b/ui/ozone/ozone.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a777f59a8618a33ddee9a81b5279f6a755f9b513 |
--- /dev/null |
+++ b/ui/ozone/ozone.gni |
@@ -0,0 +1,18 @@ |
+# 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) { |
+ # 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 |
+} |