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

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

Issue 2699473002: Reland of Android: Use linker script to hide all non-JNI symbols (Closed)
Patch Set: fix loadable_module 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 88
89 shared_library("libstandalonelibwebviewchromium") { 89 shared_library("libstandalonelibwebviewchromium") {
90 sources = [ 90 sources = [
91 "../lib/main/webview_entry_point.cc", 91 "../lib/main/webview_entry_point.cc",
92 ] 92 ]
93 ldflags = [ "-Wl,-shared,-Bsymbolic" ] 93 ldflags = [ "-Wl,-shared,-Bsymbolic" ]
94 deps = [ 94 deps = [
95 "//android_webview:common", 95 "//android_webview:common",
96 ] 96 ]
97 configs -= [ "//build/config/android:hide_native_jni_exports" ] 97 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
98 configs += [ "//build/config/android:hide_all_but_jni" ]
98 } 99 }
99 100
100 instrumentation_test_apk("android_webview_test_apk") { 101 instrumentation_test_apk("android_webview_test_apk") {
101 apk_name = "AndroidWebViewTest" 102 apk_name = "AndroidWebViewTest"
102 apk_under_test = ":android_webview_apk" 103 apk_under_test = ":android_webview_apk"
103 android_manifest = "../javatests/AndroidManifest.xml" 104 android_manifest = "../javatests/AndroidManifest.xml"
104 deps = [ 105 deps = [
105 "//android_webview:android_webview_crash_services_java", 106 "//android_webview:android_webview_crash_services_java",
106 "//android_webview:android_webview_java", 107 "//android_webview:android_webview_java",
107 "//android_webview:android_webview_platform_services_java", 108 "//android_webview:android_webview_platform_services_java",
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 sources = [ 286 sources = [
286 "../unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnitte st.java", 287 "../unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnitte st.java",
287 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java", 288 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java",
288 ] 289 ]
289 } 290 }
290 291
291 shared_library("libdrawgl") { 292 shared_library("libdrawgl") {
292 sources = [ 293 sources = [
293 "shell/src/draw_gl/draw_gl.cc", 294 "shell/src/draw_gl/draw_gl.cc",
294 ] 295 ]
295 configs -= [ "//build/config/android:hide_native_jni_exports" ] 296 configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
296 } 297 }
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