clang/win: Fix a few warnings/errors.
[chromium-blink-merge.git] / mojo / mojo_edk_system_impl.gypi
blob029edb9035e552b2620c663e3e29a9828be50551
1 # Copyright (c) 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.
5 # The dictionary here is defined for use by the "mojo_system_impl" and
6 # "mojo_system_impl_win64" targets in mojo/mojo_edk.gyp. It's defined in this
7 # .gypi file so the sections aren't duplicated.
9   'defines': [
10     'MOJO_SYSTEM_IMPL_IMPLEMENTATION',
11     'MOJO_SYSTEM_IMPLEMENTATION',
12     'MOJO_USE_SYSTEM_IMPL',
13   ],
14   'sources': [
15     'edk/embedder/configuration.h',
16     'edk/embedder/channel_info_forward.h',
17     'edk/embedder/channel_init.cc',
18     'edk/embedder/channel_init.h',
19     'edk/embedder/embedder.cc',
20     'edk/embedder/embedder.h',
21     'edk/embedder/embedder_internal.h',
22     'edk/embedder/entrypoints.cc',
23     'edk/embedder/platform_channel_pair.cc',
24     'edk/embedder/platform_channel_pair.h',
25     'edk/embedder/platform_channel_pair_posix.cc',
26     'edk/embedder/platform_channel_pair_win.cc',
27     'edk/embedder/platform_channel_utils_posix.cc',
28     'edk/embedder/platform_channel_utils_posix.h',
29     'edk/embedder/platform_handle.cc',
30     'edk/embedder/platform_handle.h',
31     'edk/embedder/platform_handle_utils.h',
32     'edk/embedder/platform_handle_utils_posix.cc',
33     'edk/embedder/platform_handle_utils_win.cc',
34     'edk/embedder/platform_handle_vector.h',
35     'edk/embedder/platform_shared_buffer.h',
36     'edk/embedder/platform_support.h',
37     'edk/embedder/scoped_platform_handle.h',
38     'edk/embedder/simple_platform_shared_buffer.cc',
39     'edk/embedder/simple_platform_shared_buffer.h',
40     'edk/embedder/simple_platform_shared_buffer_android.cc',
41     'edk/embedder/simple_platform_shared_buffer_posix.cc',
42     'edk/embedder/simple_platform_shared_buffer_win.cc',
43     'edk/embedder/simple_platform_support.cc',
44     'edk/embedder/simple_platform_support.h',
45     'edk/system/awakable.h',
46     'edk/system/awakable_list.cc',
47     'edk/system/awakable_list.h',
48     'edk/system/async_waiter.cc',
49     'edk/system/async_waiter.h',
50     'edk/system/channel.cc',
51     'edk/system/channel.h',
52     'edk/system/channel_endpoint.cc',
53     'edk/system/channel_endpoint.h',
54     'edk/system/channel_endpoint_client.h',
55     'edk/system/channel_endpoint_id.cc',
56     'edk/system/channel_endpoint_id.h',
57     'edk/system/channel_info.cc',
58     'edk/system/channel_info.h',
59     'edk/system/channel_manager.cc',
60     'edk/system/channel_manager.h',
61     'edk/system/configuration.cc',
62     'edk/system/configuration.h',
63     'edk/system/core.cc',
64     'edk/system/core.h',
65     'edk/system/data_pipe.cc',
66     'edk/system/data_pipe.h',
67     'edk/system/data_pipe_consumer_dispatcher.cc',
68     'edk/system/data_pipe_consumer_dispatcher.h',
69     'edk/system/data_pipe_producer_dispatcher.cc',
70     'edk/system/data_pipe_producer_dispatcher.h',
71     'edk/system/dispatcher.cc',
72     'edk/system/dispatcher.h',
73     'edk/system/endpoint_relayer.cc',
74     'edk/system/endpoint_relayer.h',
75     'edk/system/handle_signals_state.h',
76     'edk/system/handle_table.cc',
77     'edk/system/handle_table.h',
78     'edk/system/incoming_endpoint.cc',
79     'edk/system/incoming_endpoint.h',
80     'edk/system/local_data_pipe.cc',
81     'edk/system/local_data_pipe.h',
82     'edk/system/local_message_pipe_endpoint.cc',
83     'edk/system/local_message_pipe_endpoint.h',
84     'edk/system/mapping_table.cc',
85     'edk/system/mapping_table.h',
86     'edk/system/memory.cc',
87     'edk/system/memory.h',
88     'edk/system/message_in_transit.cc',
89     'edk/system/message_in_transit.h',
90     'edk/system/message_in_transit_queue.cc',
91     'edk/system/message_in_transit_queue.h',
92     'edk/system/message_pipe.cc',
93     'edk/system/message_pipe.h',
94     'edk/system/message_pipe_dispatcher.cc',
95     'edk/system/message_pipe_dispatcher.h',
96     'edk/system/message_pipe_endpoint.cc',
97     'edk/system/message_pipe_endpoint.h',
98     'edk/system/options_validation.h',
99     'edk/system/platform_handle_dispatcher.cc',
100     'edk/system/platform_handle_dispatcher.h',
101     'edk/system/proxy_message_pipe_endpoint.cc',
102     'edk/system/proxy_message_pipe_endpoint.h',
103     'edk/system/raw_channel.cc',
104     'edk/system/raw_channel.h',
105     'edk/system/raw_channel_posix.cc',
106     'edk/system/raw_channel_win.cc',
107     'edk/system/shared_buffer_dispatcher.cc',
108     'edk/system/shared_buffer_dispatcher.h',
109     'edk/system/simple_dispatcher.cc',
110     'edk/system/simple_dispatcher.h',
111     'edk/system/transport_data.cc',
112     'edk/system/transport_data.h',
113     'edk/system/waiter.cc',
114     'edk/system/waiter.h',
115     # Test-only code:
116     # TODO(vtl): It's a little unfortunate that these end up in the same
117     # component as non-test-only code. In the static build, this code
118     # should hopefully be dead-stripped.
119     'edk/embedder/test_embedder.cc',
120     'edk/embedder/test_embedder.h',
121   ],
122   'all_dependent_settings': {
123     # Ensures that dependent projects import the core functions on Windows.
124     'defines': ['MOJO_USE_SYSTEM_IMPL'],
125   },
126   'conditions': [
127     ['OS=="android"', {
128       'dependencies': [
129         '<(DEPTH)/third_party/ashmem/ashmem.gyp:ashmem',
130       ],
131     }],
132   ],