| 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [{ | 9 'targets': [{ |
| 10 'target_name': 'events_platform', | 10 'target_name': 'events_platform', |
| 11 'type': '<(component)', | 11 'type': '<(component)', |
| 12 'dependencies': [ | 12 'dependencies': [ |
| 13 '../../../base/base.gyp:base', | 13 '../../../base/base.gyp:base', |
| 14 ], | 14 ], |
| 15 'defines': [ | 15 'defines': [ |
| 16 'EVENTS_IMPLEMENTATION', | 16 'EVENTS_IMPLEMENTATION', |
| 17 ], | 17 ], |
| 18 'sources': [ | 18 'sources': [ |
| 19 'platform_event_dispatcher.h', | 19 'platform_event_dispatcher.h', |
| 20 'platform_event_filter.h', |
| 20 'platform_event_observer.h', | 21 'platform_event_observer.h', |
| 21 'platform_event_source.cc', | 22 'platform_event_source.cc', |
| 22 'platform_event_source.h', | 23 'platform_event_source.h', |
| 23 'platform_event_source_stub.cc', | 24 'platform_event_source_stub.cc', |
| 24 'platform_event_types.h', | 25 'platform_event_types.h', |
| 25 'scoped_event_dispatcher.cc', | 26 'scoped_event_dispatcher.cc', |
| 26 'scoped_event_dispatcher.h', | 27 'scoped_event_dispatcher.h', |
| 27 ], | 28 ], |
| 28 'conditions': [ | 29 'conditions': [ |
| 29 ['use_x11==1', { | 30 ['use_x11==1', { |
| 30 'sources!': [ | 31 'sources!': [ |
| 31 'platform_event_source_stub.cc', | 32 'platform_event_source_stub.cc', |
| 32 ], | 33 ], |
| 33 }], | 34 }], |
| 34 ], | 35 ], |
| 35 }], | 36 }], |
| 36 } | 37 } |
| OLD | NEW |