Home | History | Annotate | Download | only in mojo
      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   'includes': [
     10   ],
     11   'targets': [
     12     {
     13       'target_name': 'ipc_mojo',
     14       'type': '<(component)',
     15       'variables': {
     16       },
     17       'defines': [
     18         'IPC_MOJO_IMPLEMENTATION',
     19       ],
     20       'dependencies': [
     21         '../ipc.gyp:ipc',
     22         '../../base/base.gyp:base',
     23         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
     24         '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
     25         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
     26         '../../mojo/mojo_base.gyp:mojo_system_impl',
     27       ],
     28       'sources': [
     29         'ipc_channel_mojo.cc',
     30         'ipc_channel_mojo.h',
     31         'ipc_channel_mojo_host.cc',
     32         'ipc_channel_mojo_host.h',
     33         'ipc_channel_mojo_readers.cc',
     34         'ipc_channel_mojo_readers.h',
     35         'ipc_mojo_bootstrap.cc',
     36         'ipc_mojo_bootstrap.h',
     37         'ipc_message_pipe_reader.cc',
     38         'ipc_message_pipe_reader.h',
     39       ],
     40       # TODO(gregoryd): direct_dependent_settings should be shared with the
     41       # 64-bit target, but it doesn't work due to a bug in gyp
     42       'direct_dependent_settings': {
     43         'include_dirs': [
     44           '..',
     45         ],
     46       },
     47     },
     48     {
     49       'target_name': 'ipc_mojo_unittests',
     50       'type': '<(gtest_target_type)',
     51       'dependencies': [
     52         '../ipc.gyp:ipc',
     53         '../ipc.gyp:test_support_ipc',
     54         '../../base/base.gyp:base',
     55         '../../base/base.gyp:base_i18n',
     56         '../../base/base.gyp:test_support_base',
     57         '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
     58         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
     59         '../../mojo/mojo_base.gyp:mojo_system_impl',
     60         '../../testing/gtest.gyp:gtest',
     61         'ipc_mojo',
     62       ],
     63       'include_dirs': [
     64         '..'
     65       ],
     66       'sources': [
     67         'run_all_unittests.cc',
     68         'ipc_channel_mojo_unittest.cc',
     69         'ipc_mojo_bootstrap_unittest.cc',
     70       ],
     71       'conditions': [
     72       ],
     73     },
     74     {
     75       'target_name': 'ipc_mojo_perftests',
     76       'type': '<(gtest_target_type)',
     77       'dependencies': [
     78         '../ipc.gyp:ipc',
     79         '../ipc.gyp:test_support_ipc',
     80         '../../base/base.gyp:base',
     81         '../../base/base.gyp:base_i18n',
     82         '../../base/base.gyp:test_support_base',
     83         '../../base/base.gyp:test_support_perf',
     84         '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
     85         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
     86         '../../mojo/mojo_base.gyp:mojo_system_impl',
     87         '../../testing/gtest.gyp:gtest',
     88         'ipc_mojo',
     89       ],
     90       'include_dirs': [
     91         '..'
     92       ],
     93       'sources': [
     94         'ipc_mojo_perftest.cc',
     95       ],
     96       'conditions': [
     97       ],
     98     },
     99   ],
    100 }
    101