OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import ("//build/config/ui.gni") |
| 6 |
| 7 component("platform") { |
| 8 output_name = "events_platform" |
| 9 |
| 10 sources = [ |
| 11 "platform_event_dispatcher.h", |
| 12 "platform_event_observer.h", |
| 13 "platform_event_source.cc", |
| 14 "platform_event_source.h", |
| 15 "platform_event_source_stub.cc", |
| 16 "platform_event_types.h", |
| 17 "scoped_event_dispatcher.cc", |
| 18 "scoped_event_dispatcher.h", |
| 19 ] |
| 20 |
| 21 defines = [ |
| 22 "EVENTS_IMPLEMENTATION", |
| 23 ] |
| 24 |
| 25 deps = [ |
| 26 "//base", |
| 27 ] |
| 28 |
| 29 if (use_x11) { |
| 30 sources -= [ |
| 31 "platform_event_source_stub.cc", |
| 32 ] |
| 33 } |
| 34 } |
OLD | NEW |