Revert of Output closure-compiled JavaScript files (patchset #10 id:180001 of https...
[chromium-blink-merge.git] / ipc / mojo / ipc_mojo.gyp
blob44f18175c39dd013f45e149ce3139aff97272451
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_mojo_handle_attachment.cc',
40         'ipc_mojo_handle_attachment.h',
41         'ipc_mojo_message_helper.cc',
42         'ipc_mojo_message_helper.h',
43         'ipc_message_pipe_reader.cc',
44         'ipc_message_pipe_reader.h',
45         'scoped_ipc_support.cc',
46         'scoped_ipc_support.h',
47       ],
48       # TODO(gregoryd): direct_dependent_settings should be shared with the
49       # 64-bit target, but it doesn't work due to a bug in gyp
50       'direct_dependent_settings': {
51         'include_dirs': [
52           '..',
53         ],
54       },
55     },
56     {
57       'target_name': 'ipc_mojo_unittests',
58       'type': '<(gtest_target_type)',
59       'dependencies': [
60         '../ipc.gyp:ipc',
61         '../ipc.gyp:test_support_ipc',
62         '../../base/base.gyp:base',
63         '../../base/base.gyp:base_i18n',
64         '../../base/base.gyp:test_support_base',
65         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
66         '../../testing/gtest.gyp:gtest',
67         '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
68         '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
69         'ipc_mojo',
70       ],
71       'include_dirs': [
72         '..'
73       ],
74       'sources': [
75         'async_handle_waiter_unittest.cc',
76         'run_all_unittests.cc',
77         'ipc_channel_mojo_unittest.cc',
78         'ipc_mojo_bootstrap_unittest.cc',
79       ],
80       'conditions': [
81       ],
82     },
83     {
84       'target_name': 'ipc_mojo_perftests',
85       'type': '<(gtest_target_type)',
86       'dependencies': [
87         '../ipc.gyp:ipc',
88         '../ipc.gyp:test_support_ipc',
89         '../../base/base.gyp:base',
90         '../../base/base.gyp:base_i18n',
91         '../../base/base.gyp:test_support_base',
92         '../../base/base.gyp:test_support_perf',
93         '../../mojo/mojo_base.gyp:mojo_environment_chromium',
94         '../../testing/gtest.gyp:gtest',
95         '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
96         '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
97         'ipc_mojo',
98       ],
99       'include_dirs': [
100         '..'
101       ],
102       'sources': [
103         'ipc_mojo_perftest.cc',
104       ],
105       'conditions': [
106       ],
107     },
108   ],