Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: mojo/edk/embedder/BUILD.gn

Issue 1346383004: EDK: Remove MOJO_SYSTEM_IMPL_EXPORT, system_impl_export.h, etc. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = [ 29 defines = [ "MOJO_SYSTEM_IMPLEMENTATION" ]
30 "MOJO_SYSTEM_IMPL_IMPLEMENTATION",
31 "MOJO_SYSTEM_IMPLEMENTATION",
32 ]
33 30
34 mojo_edk_configs = [ "mojo/edk/system:system_config" ] 31 mojo_edk_configs = [ "mojo/edk/system:system_config" ]
35 32
36 public_deps = [ 33 public_deps = [
37 ":delegates", 34 ":delegates",
38 ":platform", 35 ":platform",
39 ] 36 ]
40 37
41 mojo_sdk_deps = [ "mojo/public/platform/native:system_impl_private_api" ] 38 mojo_sdk_deps = [ "mojo/public/platform/native:system_impl_private_api" ]
42 39
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 "platform_support.h", 71 "platform_support.h",
75 "scoped_platform_handle.h", 72 "scoped_platform_handle.h",
76 "simple_platform_shared_buffer.cc", 73 "simple_platform_shared_buffer.cc",
77 "simple_platform_shared_buffer.h", 74 "simple_platform_shared_buffer.h",
78 "simple_platform_shared_buffer_android.cc", 75 "simple_platform_shared_buffer_android.cc",
79 "simple_platform_shared_buffer_posix.cc", 76 "simple_platform_shared_buffer_posix.cc",
80 "simple_platform_support.cc", 77 "simple_platform_support.cc",
81 "simple_platform_support.h", 78 "simple_platform_support.h",
82 ] 79 ]
83 80
84 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ]
85
86 mojo_edk_configs = [ "mojo/edk/system:system_config" ] 81 mojo_edk_configs = [ "mojo/edk/system:system_config" ]
87 82
88 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] 83 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
89 84
90 deps = [ 85 deps = [
91 "//base", 86 "//base",
92 ] 87 ]
93 88
94 if (is_android) { 89 if (is_android) {
95 deps += [ "//third_party/ashmem" ] 90 deps += [ "//third_party/ashmem" ]
(...skipping 10 matching lines...) Expand all
106 mojo_edk_visibility = [ "mojo/edk/system" ] 101 mojo_edk_visibility = [ "mojo/edk/system" ]
107 102
108 sources = [ 103 sources = [
109 "master_process_delegate.h", 104 "master_process_delegate.h",
110 "process_delegate.h", 105 "process_delegate.h",
111 "process_type.h", 106 "process_type.h",
112 "slave_info.h", 107 "slave_info.h",
113 "slave_process_delegate.h", 108 "slave_process_delegate.h",
114 ] 109 ]
115 110
116 defines = [ "MOJO_SYSTEM_IMPL_IMPLEMENTATION" ]
117
118 mojo_edk_configs = [ "mojo/edk/system:system_config" ] 111 mojo_edk_configs = [ "mojo/edk/system:system_config" ]
119 112
120 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ] 113 mojo_sdk_public_deps = [ "mojo/public/cpp/system" ]
121 } 114 }
122 115
123 mojo_edk_source_set("embedder_unittests") { 116 mojo_edk_source_set("embedder_unittests") {
124 testonly = true 117 testonly = true
125 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ] 118 mojo_edk_visibility = [ "mojo/edk/system:mojo_system_unittests" ]
126 119
127 sources = [ 120 sources = [
128 "embedder_unittest.cc", 121 "embedder_unittest.cc",
129 "platform_channel_pair_posix_unittest.cc", 122 "platform_channel_pair_posix_unittest.cc",
130 "simple_platform_shared_buffer_unittest.cc", 123 "simple_platform_shared_buffer_unittest.cc",
131 ] 124 ]
132 125
133 deps = [ 126 deps = [
134 "//base", 127 "//base",
135 "//base/test:test_support", 128 "//base/test:test_support",
136 "//testing/gtest", 129 "//testing/gtest",
137 ] 130 ]
138 131
139 mojo_edk_deps = [ 132 mojo_edk_deps = [
140 "mojo/edk/test:test_support", 133 "mojo/edk/test:test_support",
141 "mojo/edk/system", 134 "mojo/edk/system",
142 "mojo/edk/system:test_utils", 135 "mojo/edk/system:test_utils",
143 "mojo/edk/util", 136 "mojo/edk/util",
144 ] 137 ]
145 } 138 }
OLDNEW
« no previous file with comments | « no previous file | mojo/edk/embedder/embedder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698