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

Side by Side Diff: testing/test.gni

Issue 2684123002: Revert of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: Created 3 years, 10 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 | « gpu/BUILD.gn ('k') | third_party/netty-tcnative/BUILD.gn » ('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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 # ============================================================================== 5 # ==============================================================================
6 # TEST SETUP 6 # TEST SETUP
7 # ============================================================================== 7 # ==============================================================================
8 8
9 if (is_android) { 9 if (is_android) {
10 import("//build/config/android/config.gni") 10 import("//build/config/android/config.gni")
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 data_deps = [] 52 data_deps = []
53 forward_variables_from(invoker, 53 forward_variables_from(invoker,
54 "*", 54 "*",
55 _wrapper_script_vars + [ "extra_dist_files" ]) 55 _wrapper_script_vars + [ "extra_dist_files" ])
56 testonly = true 56 testonly = true
57 57
58 # Thanks to the set_defaults() for test(), configs are initialized with 58 # Thanks to the set_defaults() for test(), configs are initialized with
59 # the default shared_library configs rather than executable configs. 59 # the default shared_library configs rather than executable configs.
60 configs -= [ 60 configs -= [
61 "//build/config:shared_library_config", 61 "//build/config:shared_library_config",
62 "//build/config/android:hide_all_but_jni_onload", 62 "//build/config/android:hide_native_jni_exports",
63 ] 63 ]
64 configs += [ "//build/config:executable_config" ] 64 configs += [ "//build/config:executable_config" ]
65 65
66 # Don't output to the root or else conflict with the group() below. 66 # Don't output to the root or else conflict with the group() below.
67 output_name = rebase_path(_exec_output, root_out_dir) 67 output_name = rebase_path(_exec_output, root_out_dir)
68 if (is_component_build || is_asan) { 68 if (is_component_build || is_asan) {
69 data_deps += [ "//build/android:cpplib_stripped" ] 69 data_deps += [ "//build/android:cpplib_stripped" ]
70 } 70 }
71 } 71 }
72 72
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 } 306 }
307 307
308 # Test defaults. 308 # Test defaults.
309 set_defaults("test") { 309 set_defaults("test") {
310 if (is_android) { 310 if (is_android) {
311 configs = default_shared_library_configs 311 configs = default_shared_library_configs
312 } else { 312 } else {
313 configs = default_executable_configs 313 configs = default_executable_configs
314 } 314 }
315 } 315 }
OLDNEW
« no previous file with comments | « gpu/BUILD.gn ('k') | third_party/netty-tcnative/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698