OLD | NEW |
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", |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 # TODO(brettw) hook up tcmalloc to this target. | 113 # TODO(brettw) hook up tcmalloc to this target. |
114 #if (is_posix && !is_mac && !is_android) { | 114 #if (is_posix && !is_mac && !is_android) { |
115 # if (use_allocator!="none") { | 115 # if (use_allocator!="none") { |
116 # deps += "/base/allocator" | 116 # deps += "/base/allocator" |
117 # } | 117 # } |
118 #} | 118 #} |
119 | 119 |
120 deps = [ | 120 deps = [ |
121 ":ipc", | 121 ":ipc", |
122 ":test_support_ipc", | 122 ":test_support", |
123 "//base", | 123 "//base", |
124 "//base:i18n", | 124 "//base:i18n", |
125 "//base/test:run_all_unittests", | 125 "//base/test:run_all_unittests", |
126 "//base/test:test_support", | 126 "//base/test:test_support", |
127 "//testing/gtest", | 127 "//testing/gtest", |
128 ] | 128 ] |
129 } | 129 } |
130 | 130 |
131 test("ipc_perftests") { | 131 test("ipc_perftests") { |
132 sources = [ | 132 sources = [ |
133 "ipc_perftests.cc", | 133 "ipc_perftests.cc", |
134 "ipc_test_base.cc", | 134 "ipc_test_base.cc", |
135 "ipc_test_base.h", | 135 "ipc_test_base.h", |
136 ] | 136 ] |
137 | 137 |
138 # TODO(brettw) hook up Android testing. | 138 # TODO(brettw) hook up Android testing. |
139 #if (is_android && gtest_target_type == "shared_library") { | 139 #if (is_android && gtest_target_type == "shared_library") { |
140 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 140 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
141 #} | 141 #} |
142 | 142 |
143 # TODO(brettw) hook up tcmalloc to this target. | 143 # TODO(brettw) hook up tcmalloc to this target. |
144 #if (is_posix && !is_mac && !is_android) { | 144 #if (is_posix && !is_mac && !is_android) { |
145 # if (use_allocator!="none") { | 145 # if (use_allocator!="none") { |
146 # deps += "//base/allocator" | 146 # deps += "//base/allocator" |
147 # } | 147 # } |
148 #} | 148 #} |
149 | 149 |
150 deps = [ | 150 deps = [ |
151 ":ipc", | 151 ":ipc", |
152 ":test_support_ipc", | 152 ":test_support", |
153 "//base", | 153 "//base", |
154 "//base:i18n", | 154 "//base:i18n", |
155 "//base/test:test_support", | 155 "//base/test:test_support", |
156 "//base/test:test_support_perf", | 156 "//base/test:test_support_perf", |
157 "//testing/gtest", | 157 "//testing/gtest", |
158 ] | 158 ] |
159 } | 159 } |
160 } | 160 } |
161 | 161 |
162 static_library("test_support_ipc") { | 162 static_library("test_support") { |
163 sources = [ | 163 sources = [ |
164 "ipc_multiprocess_test.cc", | 164 "ipc_multiprocess_test.cc", |
165 "ipc_multiprocess_test.h", | 165 "ipc_multiprocess_test.h", |
166 "ipc_test_sink.cc", | 166 "ipc_test_sink.cc", |
167 "ipc_test_sink.h", | 167 "ipc_test_sink.h", |
168 ] | 168 ] |
169 deps = [ | 169 deps = [ |
170 ":ipc", | 170 ":ipc", |
171 "//base", | 171 "//base", |
172 "//testing/gtest", | 172 "//testing/gtest", |
173 ] | 173 ] |
174 } | 174 } |
175 | 175 |
OLD | NEW |