| 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("//build/config/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
| 6 | 6 |
| 7 source_set("headers") { | 7 source_set("headers") { |
| 8 sources = [ | 8 sources = [ |
| 9 "configuration.h", | 9 "configuration.h", |
| 10 "embedder.h", | 10 "embedder.h", |
| 11 "embedder_internal.h", | 11 "embedder_internal.h", |
| 12 "named_platform_channel_pair.h", | 12 "named_platform_channel_pair.h", |
| 13 "named_platform_handle.h", | 13 "named_platform_handle.h", |
| 14 "named_platform_handle_utils.h", | 14 "named_platform_handle_utils.h", |
| 15 "pending_process_connection.h", |
| 15 "platform_channel_pair.h", | 16 "platform_channel_pair.h", |
| 16 "platform_handle.h", | 17 "platform_handle.h", |
| 17 "platform_handle_utils.h", | 18 "platform_handle_utils.h", |
| 18 "scoped_platform_handle.h", | 19 "scoped_platform_handle.h", |
| 19 ] | 20 ] |
| 20 | 21 |
| 21 public_deps = [ | 22 public_deps = [ |
| 22 "//base", | 23 "//base", |
| 23 "//mojo/public/cpp/system", | 24 "//mojo/public/cpp/system", |
| 24 ] | 25 ] |
| 25 } | 26 } |
| 26 | 27 |
| 27 source_set("embedder") { | 28 source_set("embedder") { |
| 28 # This isn't really a standalone target; it must be linked into the | 29 # This isn't really a standalone target; it must be linked into the |
| 29 # mojo_system_impl component. | 30 # mojo_system_impl component. |
| 30 visibility = [ | 31 visibility = [ |
| 31 "//mojo/edk/system", | 32 "//mojo/edk/system", |
| 32 "//components/nacl:nacl", | 33 "//components/nacl:nacl", |
| 33 ] | 34 ] |
| 34 | 35 |
| 35 sources = [ | 36 sources = [ |
| 36 "configuration.h", | 37 "configuration.h", |
| 37 "embedder.cc", | 38 "embedder.cc", |
| 38 "embedder.h", | 39 "embedder.h", |
| 39 "embedder_internal.h", | 40 "embedder_internal.h", |
| 40 "entrypoints.cc", | 41 "entrypoints.cc", |
| 41 "entrypoints.h", | 42 "entrypoints.h", |
| 43 "pending_process_connection.cc", |
| 42 "scoped_ipc_support.cc", | 44 "scoped_ipc_support.cc", |
| 43 "scoped_ipc_support.h", | 45 "scoped_ipc_support.h", |
| 44 | 46 |
| 45 # Test-only code: | 47 # Test-only code: |
| 46 # TODO(vtl): It's a little unfortunate that these end up in the same | 48 # 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 | 49 # component as non-test-only code. In the static build, this code should |
| 48 # hopefully be dead-stripped. | 50 # hopefully be dead-stripped. |
| 49 "test_embedder.cc", | 51 "test_embedder.cc", |
| 50 "test_embedder.h", | 52 "test_embedder.h", |
| 51 ] | 53 ] |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 135 |
| 134 deps = [ | 136 deps = [ |
| 135 "//base", | 137 "//base", |
| 136 "//base/test:test_support", | 138 "//base/test:test_support", |
| 137 "//mojo/edk/system", | 139 "//mojo/edk/system", |
| 138 "//mojo/edk/system:test_utils", | 140 "//mojo/edk/system:test_utils", |
| 139 "//mojo/edk/test:test_support", | 141 "//mojo/edk/test:test_support", |
| 140 "//testing/gtest", | 142 "//testing/gtest", |
| 141 ] | 143 ] |
| 142 } | 144 } |
| OLD | NEW |