OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |