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("embedder") { | 5 source_set("embedder") { |
6 # This isn't really a standalone target, it must be linked into the | 6 # This isn't really a standalone target, it must be linked into the |
7 # mojo_system_impl component. | 7 # mojo_system_impl component. |
8 visibility = [ "//mojo/system" ] | 8 visibility = [ "//mojo/edk/system" ] |
9 | 9 |
10 deps = [ "//base", ] | 10 deps = [ "//base", ] |
11 | 11 |
12 defines = [ | 12 defines = [ |
13 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", | 13 "MOJO_SYSTEM_IMPL_IMPLEMENTATION", |
14 "MOJO_SYSTEM_IMPLEMENTATION", | 14 "MOJO_SYSTEM_IMPLEMENTATION", |
15 ] | 15 ] |
16 | 16 |
17 configs += [ "//mojo/system:system_config" ] | 17 configs += [ "//mojo/edk/system:system_config" ] |
18 | 18 |
19 sources = [ | 19 sources = [ |
20 "channel_init.cc", | 20 "channel_init.cc", |
21 "channel_init.h", | 21 "channel_init.h", |
22 "embedder.cc", | 22 "embedder.cc", |
23 "embedder.h", | 23 "embedder.h", |
24 "platform_channel_pair.cc", | 24 "platform_channel_pair.cc", |
25 "platform_channel_pair.h", | 25 "platform_channel_pair.h", |
26 "platform_channel_pair_posix.cc", | 26 "platform_channel_pair_posix.cc", |
27 "platform_channel_pair_win.cc", | 27 "platform_channel_pair_win.cc", |
(...skipping 18 matching lines...) Expand all Loading... |
46 # TODO(vtl): It's a little unfortunate that these end up in the same | 46 # TODO(vtl): It's a little unfortunate that these end up in the same |
47 # component as non-test-only code. In the static build, this code should | 47 # component as non-test-only code. In the static build, this code should |
48 # hopefully be dead-stripped. | 48 # hopefully be dead-stripped. |
49 "test_embedder.cc", | 49 "test_embedder.cc", |
50 "test_embedder.h", | 50 "test_embedder.h", |
51 ] | 51 ] |
52 } | 52 } |
53 | 53 |
54 source_set("embedder_unittests") { | 54 source_set("embedder_unittests") { |
55 testonly = true | 55 testonly = true |
56 visibility = [ "//mojo/system:mojo_system_unittests" ] | 56 visibility = [ "//mojo/edk/system:mojo_system_unittests" ] |
57 testonly = true | 57 testonly = true |
58 | 58 |
59 deps = [ | 59 deps = [ |
60 "//base", | 60 "//base", |
61 "//mojo/common/test:test_support", | 61 "//mojo/edk/test:test_support", |
62 "//mojo/system", | 62 "//mojo/edk/system", |
63 "//testing/gtest", | 63 "//testing/gtest", |
64 ] | 64 ] |
65 | 65 |
66 sources = [ | 66 sources = [ |
67 "embedder_unittest.cc", | 67 "embedder_unittest.cc", |
68 "platform_channel_pair_posix_unittest.cc", | 68 "platform_channel_pair_posix_unittest.cc", |
69 "simple_platform_shared_buffer_unittest.cc", | 69 "simple_platform_shared_buffer_unittest.cc", |
70 ] | 70 ] |
71 } | 71 } |
OLD | NEW |