Delete chrome.mediaGalleriesPrivate because the functionality unique to it has since...
[chromium-blink-merge.git] / ipc / mojo / ipc_mojo.gyp
blob505f536d1dce7f2d4dcbca80a73d712c3da4c729
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.
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       'includes': [ '../../third_party/mojo/mojom_bindings_generator.gypi' ],
21       'dependencies': [
22         '../ipc.gyp:ipc',
23         '../../base/base.gyp:base',
24         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
25         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
26         '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
27         '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
28       ],
29       'sources': [
30         'client_channel.mojom',
31         'async_handle_waiter.cc',
32         'async_handle_waiter.h',
33         'ipc_channel_mojo.cc',
34         'ipc_channel_mojo.h',
35         'ipc_channel_mojo_host.cc',
36         'ipc_channel_mojo_host.h',
37         'ipc_mojo_bootstrap.cc',
38         'ipc_mojo_bootstrap.h',
39         'ipc_message_pipe_reader.cc',
40         'ipc_message_pipe_reader.h',
41       ],
42       # TODO(gregoryd): direct_dependent_settings should be shared with the
43       # 64-bit target, but it doesn't work due to a bug in gyp
44       'direct_dependent_settings': {
45         'include_dirs': [
46           '..',
47         ],
48       },
49     },
50     {
51       'target_name': 'ipc_mojo_unittests',
52       'type': '<(gtest_target_type)',
53       'dependencies': [
54         '../ipc.gyp:ipc',
55         '../ipc.gyp:test_support_ipc',
56         '../../base/base.gyp:base',
57         '../../base/base.gyp:base_i18n',
58         '../../base/base.gyp:test_support_base',
59         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
60         '../../testing/gtest.gyp:gtest',
61         '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
62         '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
63         'ipc_mojo',
64       ],
65       'include_dirs': [
66         '..'
67       ],
68       'sources': [
69         'async_handle_waiter_unittest.cc',
70         'run_all_unittests.cc',
71         'ipc_channel_mojo_unittest.cc',
72         'ipc_mojo_bootstrap_unittest.cc',
73       ],
74       'conditions': [
75       ],
76     },
77     {
78       'target_name': 'ipc_mojo_perftests',
79       'type': '<(gtest_target_type)',
80       'dependencies': [
81         '../ipc.gyp:ipc',
82         '../ipc.gyp:test_support_ipc',
83         '../../base/base.gyp:base',
84         '../../base/base.gyp:base_i18n',
85         '../../base/base.gyp:test_support_base',
86         '../../base/base.gyp:test_support_perf',
87         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
88         '../../testing/gtest.gyp:gtest',
89         '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
90         '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
91         'ipc_mojo',
92       ],
93       'include_dirs': [
94         '..'
95       ],
96       'sources': [
97         'ipc_mojo_perftest.cc',
98       ],
99       'conditions': [
100       ],
101     },
102   ],