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