| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//mojo/system.gni") |
| 6 |
| 5 component("input_events") { | 7 component("input_events") { |
| 6 deps = [ | 8 deps = [ |
| 7 "//base", | 9 "//base", |
| 8 "//ui/events", | 10 "//ui/events", |
| 9 "//ui/gfx/geometry", | 11 "//ui/gfx/geometry", |
| 10 "//mojo/environment:chromium", | 12 "//mojo/environment:chromium", |
| 11 "//mojo/services/public/interfaces/input_events", | 13 "//mojo/services/public/interfaces/input_events", |
| 12 "//mojo/services/public/interfaces/geometry", | 14 "//mojo/services/public/interfaces/geometry", |
| 13 "//mojo/services/public/cpp/geometry", | 15 "//mojo/services/public/cpp/geometry", |
| 14 ] | 16 ] |
| 17 deps += mojo_system_for_component |
| 15 | 18 |
| 16 defines = [ | 19 defines = [ |
| 17 "MOJO_INPUT_EVENTS_IMPLEMENTATION", | 20 "MOJO_INPUT_EVENTS_IMPLEMENTATION", |
| 18 ] | 21 ] |
| 19 | 22 |
| 20 sources = [ | 23 sources = [ |
| 21 "lib/input_events_type_converters.cc", | 24 "lib/input_events_type_converters.cc", |
| 22 "input_events_type_converters.h", | 25 "input_events_type_converters.h", |
| 23 "mojo_input_events_export.h", | 26 "mojo_input_events_export.h", |
| 24 ] | 27 ] |
| 25 | |
| 26 if (is_component_build) { | |
| 27 deps += [ "//mojo/system" ] | |
| 28 } | |
| 29 } | 28 } |
| OLD | NEW |