Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / ui / aura / BUILD.gn
index 8dcab7d..2acd411 100644 (file)
@@ -87,6 +87,7 @@ component("aura") {
     "../wm/public/transient_window_client.h",
     "../wm/public/window_move_client.cc",
     "../wm/public/window_move_client.h",
+    "../wm/public/window_types.h",
   ]
 
   defines = [
@@ -114,6 +115,11 @@ component("aura") {
     deps += [
       "//ui/events/platform/x11",
     ]
+  } else {
+    sources -= [
+      "window_tree_host_x11.cc",
+      "window_tree_host_x11.h",
+    ]
   }
 
   if (is_win) {
@@ -133,11 +139,10 @@ component("aura") {
       "window_tree_host_ozone.h",
     ]
 
-    # TODO(GYP) enable when these targets exist.
-    #deps += [
-    #  "//ui/events/ozone",
-    #  "//ui/ozone",
-    #]
+    deps += [
+      "//ui/events/ozone:events_ozone",
+      "//ui/ozone",
+    ]
   }
 }
 
@@ -170,6 +175,8 @@ source_set("test_support") {
     "test/window_event_dispatcher_test_api.h",
     "test/window_test_api.cc",
     "test/window_test_api.h",
+    "test/x11_event_sender.cc",
+    "test/x11_event_sender.h",
   ]
 
   public_deps = [
@@ -272,8 +279,7 @@ executable("bench") {
   }
 }
 
-test("unittests") {
-  output_name = "aura_unittests"
+test("aura_unittests") {
   sources = [
     "gestures/gesture_recognizer_unittest.cc",
     "test/run_all_unittests.cc",