| 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 # TODO(vtl): Move multiprocess stuff into a separate target. |
| 7 mojo_edk_source_set("embedder") { | 8 mojo_edk_source_set("embedder") { |
| 8 # This isn't really a standalone target; it must be linked into the | 9 # This isn't really a standalone target; it must be linked into the |
| 9 # mojo_system_impl component. | 10 # mojo_system_impl component. |
| 10 mojo_edk_visibility = [ "mojo/edk/system" ] | 11 mojo_edk_visibility = [ "mojo/edk/system" ] |
| 11 | 12 |
| 12 sources = [ | 13 sources = [ |
| 13 "channel_info_forward.h", | 14 "channel_info_forward.h", |
| 14 "configuration.h", | 15 "configuration.h", |
| 15 "embedder.cc", | 16 "embedder.cc", |
| 16 "embedder.h", | 17 "embedder.h", |
| 17 "embedder_internal.h", | 18 "embedder_internal.h", |
| 18 "entrypoints.cc", | 19 "entrypoints.cc", |
| 20 "multiprocess_embedder.cc", |
| 21 "multiprocess_embedder.h", |
| 19 "system_impl_private_entrypoints.cc", | 22 "system_impl_private_entrypoints.cc", |
| 20 | 23 |
| 21 # Test-only code: | 24 # Test-only code: |
| 22 # TODO(vtl): It's a little unfortunate that these end up in the same | 25 # TODO(vtl): It's a little unfortunate that these end up in the same |
| 23 # component as non-test-only code. In the static build, this code should | 26 # component as non-test-only code. In the static build, this code should |
| 24 # hopefully be dead-stripped. | 27 # hopefully be dead-stripped. |
| 25 "test_embedder.cc", | 28 "test_embedder.cc", |
| 26 "test_embedder.h", | 29 "test_embedder.h", |
| 27 ] | 30 ] |
| 28 | 31 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 "master_process_delegate.h", | 93 "master_process_delegate.h", |
| 91 "process_delegate.h", | 94 "process_delegate.h", |
| 92 "process_type.h", | 95 "process_type.h", |
| 93 "slave_info.h", | 96 "slave_info.h", |
| 94 "slave_process_delegate.h", | 97 "slave_process_delegate.h", |
| 95 ] | 98 ] |
| 96 | 99 |
| 97 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 100 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| 98 } | 101 } |
| 99 | 102 |
| 103 # TODO(vtl): Move multiprocess stuff into a separate target. |
| 100 mojo_edk_unittests("mojo_edk_embedder_unittests") { | 104 mojo_edk_unittests("mojo_edk_embedder_unittests") { |
| 101 sources = [ | 105 sources = [ |
| 102 "embedder_unittest.cc", | 106 "embedder_unittest.cc", |
| 107 "multiprocess_embedder_unittest.cc", |
| 103 "platform_channel_pair_unittest.cc", | 108 "platform_channel_pair_unittest.cc", |
| 104 "simple_platform_shared_buffer_unittest.cc", | 109 "simple_platform_shared_buffer_unittest.cc", |
| 105 ] | 110 ] |
| 106 | 111 |
| 107 deps = [ | 112 deps = [ |
| 108 "//base", | 113 "//base", |
| 109 "//testing/gtest", | 114 "//testing/gtest", |
| 110 ] | 115 ] |
| 111 | 116 |
| 112 mojo_edk_deps = [ | 117 mojo_edk_deps = [ |
| 113 "mojo/edk/base_edk", | 118 "mojo/edk/base_edk", |
| 114 "mojo/edk/test:test_support", | 119 "mojo/edk/test:test_support", |
| 115 "mojo/edk/system", | 120 "mojo/edk/system", |
| 116 "mojo/edk/system/test", | 121 "mojo/edk/system/test", |
| 117 "mojo/edk/util", | 122 "mojo/edk/util", |
| 118 ] | 123 ] |
| 119 } | 124 } |
| OLD | NEW |