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': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'includes': [ | 6 'includes': [ |
10 '../build/common_untrusted.gypi', | 7 '../build/common_untrusted.gypi', |
| 8 'mojo_variables.gypi', |
11 ], | 9 ], |
12 'target_defaults' : { | 10 'target_defaults' : { |
13 'include_dirs': [ | 11 'include_dirs': [ |
14 '..', | 12 '..', |
15 ], | 13 ], |
16 }, | 14 }, |
17 'targets': [ | 15 'targets': [ |
18 { | 16 { |
19 # GN version: //mojo/edk/system | 17 # GN version: //mojo/edk/system |
20 'target_name': 'mojo_system_impl_nacl', | 18 'target_name': 'mojo_system_impl_nacl', |
21 'type': 'none', | 19 'type': 'none', |
22 'variables': { | 20 'variables': { |
23 'nacl_untrusted_build': 1, | 21 'nacl_untrusted_build': 1, |
24 'nlib_target': 'libmojo_system_impl_nacl.a', | 22 'nlib_target': 'libmojo_system_impl_nacl.a', |
25 'build_glibc': 0, | 23 'build_glibc': 0, |
26 'build_newlib': 0, | 24 'build_newlib': 0, |
27 'build_irt': 1, | 25 'build_irt': 1, |
28 'build_pnacl_newlib': 0, | 26 'build_pnacl_newlib': 0, |
29 'build_nonsfi_helper': 1, | 27 'build_nonsfi_helper': 1, |
30 }, | 28 }, |
31 'dependencies': [ | 29 'dependencies': [ |
32 '../base/base_nacl.gyp:base_nacl', | 30 '../base/base_nacl.gyp:base_nacl', |
33 '../base/base_nacl.gyp:base_nacl_nonsfi', | 31 '../base/base_nacl.gyp:base_nacl_nonsfi', |
34 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 32 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
35 'mojo_public.gyp:mojo_public_system', | 33 'mojo_public.gyp:mojo_system_headers', |
36 ], | 34 ], |
37 'defines': [ | 35 'defines': [ |
38 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 36 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
| 37 'MOJO_SYSTEM_IMPLEMENTATION', |
| 38 'MOJO_USE_SYSTEM_IMPL', |
39 ], | 39 ], |
40 'sources': [ | 40 'sources': [ |
41 'edk/embedder/configuration.h', | 41 'edk/embedder/configuration.h', |
42 'edk/embedder/embedder.cc', | 42 'edk/embedder/embedder.cc', |
43 'edk/embedder/embedder.h', | 43 'edk/embedder/embedder.h', |
44 'edk/embedder/embedder_internal.h', | 44 'edk/embedder/embedder_internal.h', |
45 'edk/embedder/entrypoints.cc', | 45 'edk/embedder/entrypoints.cc', |
46 'edk/embedder/platform_channel_pair.cc', | 46 'edk/embedder/platform_channel_pair.cc', |
47 'edk/embedder/platform_channel_pair.h', | 47 'edk/embedder/platform_channel_pair.h', |
48 'edk/embedder/platform_channel_pair_posix.cc', | 48 'edk/embedder/platform_channel_pair_posix.cc', |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 'edk/system/watcher.h', | 119 'edk/system/watcher.h', |
120 'edk/system/watcher_set.cc', | 120 'edk/system/watcher_set.cc', |
121 'edk/system/watcher_set.h', | 121 'edk/system/watcher_set.h', |
122 # Test-only code: | 122 # Test-only code: |
123 # TODO(vtl): It's a little unfortunate that these end up in the same | 123 # TODO(vtl): It's a little unfortunate that these end up in the same |
124 # component as non-test-only code. In the static build, this code | 124 # component as non-test-only code. In the static build, this code |
125 # should hopefully be dead-stripped. | 125 # should hopefully be dead-stripped. |
126 'edk/embedder/test_embedder.cc', | 126 'edk/embedder/test_embedder.cc', |
127 'edk/embedder/test_embedder.h', | 127 'edk/embedder/test_embedder.h', |
128 ], | 128 ], |
| 129 'all_dependent_settings': { |
| 130 # Ensures that dependent projects import the core functions on Windows. |
| 131 'defines': ['MOJO_USE_SYSTEM_IMPL'], |
| 132 }, |
129 }, | 133 }, |
130 ], | 134 ], |
131 } | 135 } |
OLD | NEW |