Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / display / BUILD.gn
index 8550c23..2bd6ccb 100644 (file)
@@ -44,6 +44,9 @@ component("display") {
     deps += [
       "//ui/events/platform",
     ]
+    if (is_chromeos) {
+      sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ]
+    }
   }
 
   if (is_chromeos) {
@@ -52,6 +55,21 @@ component("display") {
 
   if (use_ozone) {
     deps += [ "//ui/ozone" ]
+    if (is_chromeos) {
+      sources -= [
+        "chromeos/x11/display_configurator_x11.cc",
+        "chromeos/x11/display_mode_x11.cc",
+        "chromeos/x11/display_mode_x11.h",
+        "chromeos/x11/display_snapshot_x11.cc",
+        "chromeos/x11/display_snapshot_x11.h",
+        "chromeos/x11/display_util_x11.cc",
+        "chromeos/x11/display_util_x11.h",
+        "chromeos/x11/native_display_delegate_x11.cc",
+        "chromeos/x11/native_display_delegate_x11.h",
+        "chromeos/x11/native_display_event_dispatcher_x11.cc",
+        "chromeos/x11/native_display_event_dispatcher_x11.h",
+      ]
+    }
   }
 }
 
@@ -102,4 +120,12 @@ test("display_unittests") {
       "//ui/display/types",
     ]
   }
+
+  if (use_ozone) {
+    sources -= [
+      "chromeos/x11/display_util_x11_unittest.cc",
+      "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
+    ]
+  }
+      
 }