OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 'includes': [ |
7 'chromium_code': 1, | 7 'mojo_variables.gypi', |
8 }, | 8 ], |
9 'target_defaults' : { | 9 'target_defaults' : { |
10 'include_dirs': [ | 10 'include_dirs': [ |
11 '..', | 11 '..', |
12 ], | 12 ], |
13 'direct_dependent_settings': { | 13 'direct_dependent_settings': { |
14 'include_dirs': [ | 14 'include_dirs': [ |
15 '..', | 15 '..', |
16 ], | 16 ], |
17 }, | 17 }, |
18 }, | 18 }, |
(...skipping 28 matching lines...) Expand all Loading... |
47 ], | 47 ], |
48 }, | 48 }, |
49 { | 49 { |
50 # GN version: //mojo/edk/system | 50 # GN version: //mojo/edk/system |
51 'target_name': 'mojo_system_impl', | 51 'target_name': 'mojo_system_impl', |
52 'type': '<(component)', | 52 'type': '<(component)', |
53 'dependencies': [ | 53 'dependencies': [ |
54 '../base/base.gyp:base', | 54 '../base/base.gyp:base', |
55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 55 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
56 '../crypto/crypto.gyp:crypto', | 56 '../crypto/crypto.gyp:crypto', |
57 'mojo_public.gyp:mojo_public_system', | 57 'mojo_public.gyp:mojo_system_headers', |
58 'mojo_system_ports', | 58 'mojo_system_ports', |
59 ], | 59 ], |
60 'defines': [ | 60 'defines': [ |
61 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 61 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
| 62 'MOJO_SYSTEM_IMPLEMENTATION', |
| 63 'MOJO_USE_SYSTEM_IMPL', |
62 ], | 64 ], |
63 'sources': [ | 65 'sources': [ |
64 'edk/embedder/configuration.h', | 66 'edk/embedder/configuration.h', |
65 'edk/embedder/embedder.cc', | 67 'edk/embedder/embedder.cc', |
66 'edk/embedder/embedder.h', | 68 'edk/embedder/embedder.h', |
67 'edk/embedder/embedder_internal.h', | 69 'edk/embedder/embedder_internal.h', |
68 'edk/embedder/entrypoints.cc', | 70 'edk/embedder/entrypoints.cc', |
69 'edk/embedder/named_platform_channel_pair_win.cc', | 71 'edk/embedder/named_platform_channel_pair_win.cc', |
70 'edk/embedder/named_platform_channel_pair_win.h', | 72 'edk/embedder/named_platform_channel_pair_win.h', |
71 'edk/embedder/platform_channel_pair.cc', | 73 'edk/embedder/platform_channel_pair.cc', |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 'edk/system/watcher.h', | 141 'edk/system/watcher.h', |
140 'edk/system/watcher_set.cc', | 142 'edk/system/watcher_set.cc', |
141 'edk/system/watcher_set.h', | 143 'edk/system/watcher_set.h', |
142 # Test-only code: | 144 # Test-only code: |
143 # TODO(vtl): It's a little unfortunate that these end up in the same | 145 # TODO(vtl): It's a little unfortunate that these end up in the same |
144 # component as non-test-only code. In the static build, this code | 146 # component as non-test-only code. In the static build, this code |
145 # should hopefully be dead-stripped. | 147 # should hopefully be dead-stripped. |
146 'edk/embedder/test_embedder.cc', | 148 'edk/embedder/test_embedder.cc', |
147 'edk/embedder/test_embedder.h', | 149 'edk/embedder/test_embedder.h', |
148 ], | 150 ], |
| 151 'all_dependent_settings': { |
| 152 # Ensures that dependent projects import the core functions on Windows. |
| 153 'defines': ['MOJO_USE_SYSTEM_IMPL'], |
| 154 }, |
149 'conditions': [ | 155 'conditions': [ |
150 ['OS=="android"', { | 156 ['OS=="android"', { |
151 'dependencies': [ | 157 'dependencies': [ |
152 '../third_party/ashmem/ashmem.gyp:ashmem', | 158 '../third_party/ashmem/ashmem.gyp:ashmem', |
153 ], | 159 ], |
154 }], | 160 }], |
155 ['OS=="win"', { | 161 ['OS=="win"', { |
156 # Structure was padded due to __declspec(align()), which is | 162 # Structure was padded due to __declspec(align()), which is |
157 # uninteresting. | 163 # uninteresting. |
158 'msvs_disabled_warnings': [ 4324 ], | 164 'msvs_disabled_warnings': [ 4324 ], |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 'mojo_public.gyp:mojo_public_test_support', | 273 'mojo_public.gyp:mojo_public_test_support', |
268 'mojo_system_impl', | 274 'mojo_system_impl', |
269 'mojo_test_support_impl', | 275 'mojo_test_support_impl', |
270 ], | 276 ], |
271 'sources': [ | 277 'sources': [ |
272 'edk/test/run_all_perftests.cc', | 278 'edk/test/run_all_perftests.cc', |
273 ], | 279 ], |
274 }, | 280 }, |
275 ], | 281 ], |
276 } | 282 } |
OLD | NEW |