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 import("../mojo_edk.gni") | 5 import("../mojo_edk.gni") |
6 | 6 |
7 mojo_edk_source_set("embedder") { | 7 mojo_edk_source_set("embedder") { |
8 # This isn't really a standalone target; it must be linked into the | 8 # This isn't really a standalone target; it must be linked into the |
9 # mojo_system_impl component. | 9 # mojo_system_impl component. |
10 mojo_edk_visibility = [ "mojo/edk/system" ] | 10 mojo_edk_visibility = [ "mojo/edk/system" ] |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "channel_info_forward.h", | 13 "channel_info_forward.h", |
14 "channel_init.cc", | |
15 "channel_init.h", | |
16 "configuration.h", | 14 "configuration.h", |
17 "embedder.cc", | 15 "embedder.cc", |
18 "embedder.h", | 16 "embedder.h", |
19 "embedder_internal.h", | 17 "embedder_internal.h", |
20 "entrypoints.cc", | 18 "entrypoints.cc", |
21 | 19 |
22 # Test-only code: | 20 # Test-only code: |
23 # TODO(vtl): It's a little unfortunate that these end up in the same | 21 # TODO(vtl): It's a little unfortunate that these end up in the same |
24 # component as non-test-only code. In the static build, this code should | 22 # component as non-test-only code. In the static build, this code should |
25 # hopefully be dead-stripped. | 23 # hopefully be dead-stripped. |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 "simple_platform_support.cc", | 75 "simple_platform_support.cc", |
78 "simple_platform_support.h", | 76 "simple_platform_support.h", |
79 ] | 77 ] |
80 | 78 |
81 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] | 79 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] |
82 | 80 |
83 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 81 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
84 | 82 |
85 deps = [ | 83 deps = [ |
86 "//base", | 84 "//base", |
| 85 "//crypto", |
87 ] | 86 ] |
88 | 87 |
89 if (is_android) { | 88 if (is_android) { |
90 deps += [ "//third_party/ashmem" ] | 89 deps += [ "//third_party/ashmem" ] |
91 } | 90 } |
92 } | 91 } |
93 | 92 |
94 mojo_edk_source_set("delegates") { | 93 mojo_edk_source_set("delegates") { |
95 # This isn't really a standalone target; it must be linked into the | 94 # This isn't really a standalone target; it must be linked into the |
96 # mojo_system_impl component. | 95 # mojo_system_impl component. |
97 visibility = [ ":embedder" ] | 96 visibility = [ ":embedder" ] |
98 | 97 |
99 mojo_edk_visibility = [ "mojo/edk/system" ] | 98 mojo_edk_visibility = [ "mojo/edk/system" ] |
100 | 99 |
101 sources = [ | 100 sources = [ |
102 "master_process_delegate.h", | 101 "master_process_delegate.h", |
| 102 "process_delegate.h", |
| 103 "process_type.h", |
103 "slave_process_delegate.h", | 104 "slave_process_delegate.h", |
104 ] | 105 ] |
105 | 106 |
106 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] | 107 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] |
107 | 108 |
108 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 109 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
109 | 110 |
110 deps = [ | 111 deps = [ |
111 "//base", | 112 "//base", |
112 ] | 113 ] |
(...skipping 14 matching lines...) Expand all Loading... |
127 "//base/test:test_support", | 128 "//base/test:test_support", |
128 "//testing/gtest", | 129 "//testing/gtest", |
129 ] | 130 ] |
130 | 131 |
131 mojo_edk_deps = [ | 132 mojo_edk_deps = [ |
132 "mojo/edk/test:test_support", | 133 "mojo/edk/test:test_support", |
133 "mojo/edk/system", | 134 "mojo/edk/system", |
134 "mojo/edk/system:test_utils", | 135 "mojo/edk/system:test_utils", |
135 ] | 136 ] |
136 } | 137 } |
OLD | NEW |