Chromium Code Reviews| 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") | |
|
tfarina
2014/06/07 01:45:30
I had this for days in https://codereview.chromium
| |
| 6 | |
| 7 component("platform") { | |
| 8 deps = [ | |
|
tfarina
2014/06/07 01:45:30
the ordering here is not right. According to https
| |
| 9 "//base" | |
| 10 ] | |
| 11 | |
| 12 defines = [ | |
| 13 "EVENTS_IMPLEMENTATION", | |
| 14 ] | |
| 15 | |
| 16 sources = [ | |
| 17 "platform_event_dispatcher.h", | |
| 18 "platform_event_observer.h", | |
| 19 "platform_event_source.cc", | |
| 20 "platform_event_source.h", | |
| 21 "platform_event_source_stub.cc", | |
| 22 "platform_event_types.h", | |
| 23 "scoped_event_dispatcher.cc", | |
| 24 "scoped_event_dispatcher.h", | |
| 25 ] | |
| 26 | |
| 27 if (use_x11) { | |
| 28 sources -= [ "platform_event_source_stub.cc" ] | |
| 29 } | |
| 30 } | |
| OLD | NEW |