| 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 component("ipc") { | 7 component("accelerometer") { |
| 8 output_name = "events_ipc" | 8 output_name = "ui_accelerometer" |
| 9 sources = [ | 9 sources = [ |
| 10 "latency_info_param_traits.cc", | 10 "accelerometer_types.cc", |
| 11 "latency_info_param_traits.h", | 11 "accelerometer_types.h", |
| 12 "ui_accelerometer_export.h", |
| 12 ] | 13 ] |
| 13 | 14 |
| 14 defines = [ "EVENTS_IMPLEMENTATION" ] | 15 defines = [ "UI_ACCELEROMETER_IMPLEMENTATION" ] |
| 15 | 16 |
| 16 deps = [ | 17 deps = [ |
| 17 "//ipc", | 18 "//ui/gfx/geometry", |
| 18 "//ui/events", | |
| 19 ] | 19 ] |
| 20 } | 20 } |
| 21 | |
| OLD | NEW |