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