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