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

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

Issue 2683013002: Reland 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 | « android_webview/BUILD.gn ('k') | build/android/android_no_jni_exports.lst » ('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 import("//build/config/android/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 # Mark all targets as test only. 8 # Mark all targets as test only.
9 testonly = true 9 testonly = true
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 } 86 }
87 87
88 shared_library("libstandalonelibwebviewchromium") { 88 shared_library("libstandalonelibwebviewchromium") {
89 sources = [ 89 sources = [
90 "../lib/main/webview_entry_point.cc", 90 "../lib/main/webview_entry_point.cc",
91 ] 91 ]
92 ldflags = [ "-Wl,-shared,-Bsymbolic" ] 92 ldflags = [ "-Wl,-shared,-Bsymbolic" ]
93 deps = [ 93 deps = [
94 "//android_webview:common", 94 "//android_webview:common",
95 ] 95 ]
96 configs -= [ "//build/config/android:hide_native_jni_exports" ] 96 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
97 configs += [ "//build/config/android:hide_all_but_jni" ]
97 } 98 }
98 99
99 instrumentation_test_apk("android_webview_test_apk") { 100 instrumentation_test_apk("android_webview_test_apk") {
100 apk_name = "AndroidWebViewTest" 101 apk_name = "AndroidWebViewTest"
101 apk_under_test = ":android_webview_apk" 102 apk_under_test = ":android_webview_apk"
102 android_manifest = "../javatests/AndroidManifest.xml" 103 android_manifest = "../javatests/AndroidManifest.xml"
103 deps = [ 104 deps = [
104 "//android_webview:android_webview_crash_services_java", 105 "//android_webview:android_webview_crash_services_java",
105 "//android_webview:android_webview_java", 106 "//android_webview:android_webview_java",
106 "//base:base_java", 107 "//base:base_java",
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 sources = [ 283 sources = [
283 "../unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnitte st.java", 284 "../unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnitte st.java",
284 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java", 285 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java",
285 ] 286 ]
286 } 287 }
287 288
288 shared_library("libdrawgl") { 289 shared_library("libdrawgl") {
289 sources = [ 290 sources = [
290 "shell/src/draw_gl/draw_gl.cc", 291 "shell/src/draw_gl/draw_gl.cc",
291 ] 292 ]
292 configs -= [ "//build/config/android:hide_native_jni_exports" ] 293 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
293 } 294 }
OLDNEW
« no previous file with comments | « android_webview/BUILD.gn ('k') | build/android/android_no_jni_exports.lst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698