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

Side by Side Diff: ipc/BUILD.gn

Issue 382333002: Introduce ChannelMojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renamed ChanelBuilder to ChannelFactory Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 component("ipc") { 5 component("ipc") {
6 sources = [ 6 sources = [
7 "file_descriptor_set_posix.cc", 7 "file_descriptor_set_posix.cc",
8 "file_descriptor_set_posix.h", 8 "file_descriptor_set_posix.h",
9 "ipc_channel.cc", 9 "ipc_channel.cc",
10 "ipc_channel.h", 10 "ipc_channel.h",
11 "ipc_channel_factory.cc",
12 "ipc_channel_factory.h",
11 "ipc_channel_common.cc", 13 "ipc_channel_common.cc",
12 "ipc_channel_handle.h", 14 "ipc_channel_handle.h",
13 "ipc_channel_nacl.cc", 15 "ipc_channel_nacl.cc",
14 "ipc_channel_nacl.h", 16 "ipc_channel_nacl.h",
15 "ipc_channel_posix.cc", 17 "ipc_channel_posix.cc",
16 "ipc_channel_posix.h", 18 "ipc_channel_posix.h",
17 "ipc_channel_proxy.cc", 19 "ipc_channel_proxy.cc",
18 "ipc_channel_proxy.h", 20 "ipc_channel_proxy.h",
19 "ipc_channel_reader.cc", 21 "ipc_channel_reader.cc",
20 "ipc_channel_reader.h", 22 "ipc_channel_reader.h",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "file_descriptor_set_posix_unittest.cc", 91 "file_descriptor_set_posix_unittest.cc",
90 "ipc_channel_posix_unittest.cc", 92 "ipc_channel_posix_unittest.cc",
91 "ipc_channel_unittest.cc", 93 "ipc_channel_unittest.cc",
92 "ipc_fuzzing_tests.cc", 94 "ipc_fuzzing_tests.cc",
93 "ipc_message_unittest.cc", 95 "ipc_message_unittest.cc",
94 "ipc_message_utils_unittest.cc", 96 "ipc_message_utils_unittest.cc",
95 "ipc_send_fds_test.cc", 97 "ipc_send_fds_test.cc",
96 "ipc_sync_channel_unittest.cc", 98 "ipc_sync_channel_unittest.cc",
97 "ipc_sync_message_unittest.cc", 99 "ipc_sync_message_unittest.cc",
98 "ipc_sync_message_unittest.h", 100 "ipc_sync_message_unittest.h",
99 "ipc_test_base.cc",
100 "ipc_test_base.h",
101 "sync_socket_unittest.cc", 101 "sync_socket_unittest.cc",
102 "unix_domain_socket_util_unittest.cc", 102 "unix_domain_socket_util_unittest.cc",
103 ] 103 ]
104 104
105 if (is_win || is_ios) { 105 if (is_win || is_ios) {
106 sources -= [ "unix_domain_socket_util_unittest.cc" ] 106 sources -= [ "unix_domain_socket_util_unittest.cc" ]
107 } 107 }
108 108
109 # TODO(brettw) hook up Android testing. 109 # TODO(brettw) hook up Android testing.
110 #if (is_android && gtest_target_type == "shared_library") { 110 #if (is_android && gtest_target_type == "shared_library") {
(...skipping 14 matching lines...) Expand all
125 "//base:i18n", 125 "//base:i18n",
126 "//base/test:run_all_unittests", 126 "//base/test:run_all_unittests",
127 "//base/test:test_support", 127 "//base/test:test_support",
128 "//testing/gtest", 128 "//testing/gtest",
129 ] 129 ]
130 } 130 }
131 131
132 test("ipc_perftests") { 132 test("ipc_perftests") {
133 sources = [ 133 sources = [
134 "ipc_perftests.cc", 134 "ipc_perftests.cc",
135 "ipc_test_base.cc",
136 "ipc_test_base.h",
137 ] 135 ]
138 136
139 # TODO(brettw) hook up Android testing. 137 # TODO(brettw) hook up Android testing.
140 #if (is_android && gtest_target_type == "shared_library") { 138 #if (is_android && gtest_target_type == "shared_library") {
141 # deps += "/testing/android/native_test.gyp:native_testNative_code" 139 # deps += "/testing/android/native_test.gyp:native_testNative_code"
142 #} 140 #}
143 141
144 # TODO(brettw) hook up tcmalloc to this target. 142 # TODO(brettw) hook up tcmalloc to this target.
145 #if (is_posix && !is_mac && !is_android) { 143 #if (is_posix && !is_mac && !is_android) {
146 # if (use_allocator!="none") { 144 # if (use_allocator!="none") {
(...skipping 12 matching lines...) Expand all
159 ] 157 ]
160 } 158 }
161 } 159 }
162 160
163 static_library("test_support_ipc") { 161 static_library("test_support_ipc") {
164 sources = [ 162 sources = [
165 "ipc_multiprocess_test.cc", 163 "ipc_multiprocess_test.cc",
166 "ipc_multiprocess_test.h", 164 "ipc_multiprocess_test.h",
167 "ipc_test_sink.cc", 165 "ipc_test_sink.cc",
168 "ipc_test_sink.h", 166 "ipc_test_sink.h",
167 "ipc_test_base.cc",
168 "ipc_test_base.h",
169 "ipc_test_channel_listener.h",
170 "ipc_test_channel_listener.cc",
169 ] 171 ]
170 deps = [ 172 deps = [
171 ":ipc", 173 ":ipc",
172 "//base", 174 "//base",
173 "//testing/gtest", 175 "//testing/gtest",
174 ] 176 ]
175 } 177 }
176 178
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698