Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / mojo / services / public / cpp / input_events / BUILD.gn
index 92cc205..2b47ece 100644 (file)
@@ -2,27 +2,26 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import("//mojo/system.gni")
-
 component("input_events") {
+  sources = [
+    "lib/input_events_type_converters.cc",
+    "lib/mojo_extended_key_event_data.cc",
+    "lib/mojo_extended_key_event_data.h",
+    "mojo_input_events_export.h",
+  ]
+
+  defines = [
+    "MOJO_INPUT_EVENTS_IMPLEMENTATION",
+  ]
+
   deps = [
     "//base",
     "//ui/events",
     "//ui/gfx/geometry",
     "//mojo/environment:chromium",
+    "//mojo/public/c/system:for_component",
     "//mojo/services/public/interfaces/input_events",
     "//mojo/services/public/interfaces/geometry",
     "//mojo/services/public/cpp/geometry",
   ]
-  deps += mojo_system_for_component
-
-  defines = [
-    "MOJO_INPUT_EVENTS_IMPLEMENTATION",
-  ]
-
-  sources = [
-    "lib/input_events_type_converters.cc",
-    "input_events_type_converters.h",
-    "mojo_input_events_export.h",
-  ]
 }