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

Side by Side Diff: base/test/BUILD.gn

Issue 2277863002: Enable loading native libraries with RTLD_DEEPBIND (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « base/native_library_win.cc ('k') | base/test/native_library_test_utils.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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/ui.gni") 5 import("//build/config/ui.gni")
6 import("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 static_library("run_all_unittests") { 260 static_library("run_all_unittests") {
261 testonly = true 261 testonly = true
262 sources = [ 262 sources = [
263 "run_all_unittests.cc", 263 "run_all_unittests.cc",
264 ] 264 ]
265 deps = [ 265 deps = [
266 ":test_support", 266 ":test_support",
267 ] 267 ]
268 } 268 }
269 269
270 # These sources are linked into both the base_unittests binary and the test
271 # shared library target below.
272 source_set("native_library_test_utils") {
273 testonly = true
274 sources = [
275 "native_library_test_utils.cc",
276 "native_library_test_utils.h",
277 ]
278 }
279
280 # This shared library is dynamically loaded by NativeLibrary unittests.
281 shared_library("test_shared_library") {
282 testonly = true
283 sources = [
284 "test_shared_library.cc",
285 ]
286
287 deps = [
288 ":native_library_test_utils",
289 ]
290 }
291
270 static_library("run_all_base_unittests") { 292 static_library("run_all_base_unittests") {
271 # Only targets in base should depend on this, targets outside base 293 # Only targets in base should depend on this, targets outside base
272 # should depend on run_all_unittests above. 294 # should depend on run_all_unittests above.
273 visibility = [ "//base/*" ] 295 visibility = [ "//base/*" ]
274 testonly = true 296 testonly = true
275 sources = [ 297 sources = [
276 "run_all_base_unittests.cc", 298 "run_all_base_unittests.cc",
277 ] 299 ]
278 deps = [ 300 deps = [
279 ":test_support", 301 ":test_support",
(...skipping 16 matching lines...) Expand all
296 if (is_android) { 318 if (is_android) {
297 generate_jni("base_unittests_jni_headers") { 319 generate_jni("base_unittests_jni_headers") {
298 sources = [ 320 sources = [
299 "android/java/src/org/chromium/base/ContentUriTestUtils.java", 321 "android/java/src/org/chromium/base/ContentUriTestUtils.java",
300 "android/java/src/org/chromium/base/TestSystemMessageHandler.java", 322 "android/java/src/org/chromium/base/TestSystemMessageHandler.java",
301 "android/java/src/org/chromium/base/TestUiThread.java", 323 "android/java/src/org/chromium/base/TestUiThread.java",
302 ] 324 ]
303 jni_package = "base" 325 jni_package = "base"
304 } 326 }
305 } 327 }
OLDNEW
« no previous file with comments | « base/native_library_win.cc ('k') | base/test/native_library_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698