| 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 "configuration.h", | 14 "configuration.h", |
| 15 "embedder.cc", | 15 "embedder.cc", |
| 16 "embedder.h", | 16 "embedder.h", |
| 17 "embedder_internal.h", | 17 "embedder_internal.h", |
| 18 "entrypoints.cc", | 18 "entrypoints.cc", |
| 19 "system_impl_private_entrypoints.cc", | 19 "system_impl_private_entrypoints.cc", |
| 20 | 20 |
| 21 # Test-only code: | 21 # Test-only code: |
| 22 # TODO(vtl): It's a little unfortunate that these end up in the same | 22 # 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 | 23 # component as non-test-only code. In the static build, this code should |
| 24 # hopefully be dead-stripped. | 24 # hopefully be dead-stripped. |
| 25 "test_embedder.cc", | 25 "test_embedder.cc", |
| 26 "test_embedder.h", | 26 "test_embedder.h", |
| 27 ] | 27 ] |
| 28 | 28 |
| 29 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ] | |
| 30 | |
| 31 mojo_edk_configs = [ "mojo/edk/system:system_config" ] | 29 mojo_edk_configs = [ "mojo/edk/system:system_config" ] |
| 32 | 30 |
| 33 public_deps = [ | 31 public_deps = [ |
| 34 ":delegates", | 32 ":delegates", |
| 35 ":platform", | 33 ":platform", |
| 36 ] | 34 ] |
| 37 | 35 |
| 38 mojo_sdk_deps = [ "mojo/public/platform/native:system_impl_private_api" ] | 36 mojo_sdk_deps = [ "mojo/public/platform/native:system_impl_private_api" ] |
| 39 | 37 |
| 40 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] | 38 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 "//testing/gtest", | 130 "//testing/gtest", |
| 133 ] | 131 ] |
| 134 | 132 |
| 135 mojo_edk_deps = [ | 133 mojo_edk_deps = [ |
| 136 "mojo/edk/test:test_support", | 134 "mojo/edk/test:test_support", |
| 137 "mojo/edk/system", | 135 "mojo/edk/system", |
| 138 "mojo/edk/system:test_utils", | 136 "mojo/edk/system:test_utils", |
| 139 "mojo/edk/util", | 137 "mojo/edk/util", |
| 140 ] | 138 ] |
| 141 } | 139 } |
| OLD | NEW |