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 source_set("headers") { |
| 6 sources = [ |
| 7 "configuration.h", |
| 8 "embedder.h", |
| 9 "embedder_internal.h", |
| 10 "platform_channel_pair.h", |
| 11 "platform_handle.h", |
| 12 "platform_handle_utils.h", |
| 13 "process_delegate.h", |
| 14 "scoped_platform_handle.h", |
| 15 ] |
| 16 } |
| 17 |
5 source_set("embedder") { | 18 source_set("embedder") { |
6 # This isn't really a standalone target; it must be linked into the | 19 # This isn't really a standalone target; it must be linked into the |
7 # mojo_system_impl component. | 20 # mojo_system_impl component. |
8 visibility = [ | 21 visibility = [ |
9 "//mojo/edk/system", | 22 "//mojo/edk/system", |
10 "//components/nacl:nacl", | 23 "//components/nacl:nacl", |
11 ] | 24 ] |
12 | 25 |
13 sources = [ | 26 sources = [ |
14 "configuration.h", | 27 "configuration.h", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 121 |
109 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] | 122 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ] |
110 | 123 |
111 configs += [ "//mojo/edk/system:system_config" ] | 124 configs += [ "//mojo/edk/system:system_config" ] |
112 | 125 |
113 public_deps = [ | 126 public_deps = [ |
114 "//mojo/public/cpp/system", | 127 "//mojo/public/cpp/system", |
115 ] | 128 ] |
116 } | 129 } |
117 | 130 |
118 # TODO(use_chrome_edk): remove "2" | 131 source_set("embedder_unittests") { |
119 source_set("embedder_unittests2") { | |
120 testonly = true | 132 testonly = true |
121 | 133 |
122 # TODO(use_chrome_edk): remove "2". Also enable this visibility check when we | 134 # TODO: Figure out why this visibility check fails on Android. |
123 # figure out why it's failing just on Android. | 135 # visibility = [ "//mojo/edk/system:mojo_system_unittests" ] |
124 #visibility = [ "//mojo/edk/system:mojo_system_unittests2" ] | |
125 | 136 |
126 sources = [ | 137 sources = [ |
127 "embedder_unittest.cc", | 138 "embedder_unittest.cc", |
128 "platform_channel_pair_posix_unittest.cc", | 139 "platform_channel_pair_posix_unittest.cc", |
129 "simple_platform_shared_buffer_unittest.cc", | 140 "simple_platform_shared_buffer_unittest.cc", |
130 ] | 141 ] |
131 | 142 |
132 deps = [ | 143 deps = [ |
133 "//base", | 144 "//base", |
134 "//base/test:test_support", | 145 "//base/test:test_support", |
135 "//mojo/message_pump", | 146 "//mojo/edk/system", |
136 | |
137 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are | |
138 # declared in third party only for now. | |
139 "//mojo/edk/system:test_utils", | 147 "//mojo/edk/system:test_utils", |
140 "//mojo/edk/test:test_support", | 148 "//mojo/edk/test:test_support", |
| 149 "//mojo/message_pump", |
141 "//testing/gtest", | 150 "//testing/gtest", |
142 "//third_party/mojo/src/mojo/edk/system", | |
143 | |
144 # TODO(use_chrome_edk): temporary since the Mojo wrapper primitives are | |
145 # declared in third party only for now. | |
146 "//third_party/mojo/src/mojo/edk/system", | |
147 ] | 151 ] |
148 } | 152 } |
OLD | NEW |