| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_all_but_jni_onload" ] | 96 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 97 configs += [ "//build/config/android:hide_all_but_jni" ] | |
| 98 } | 97 } |
| 99 | 98 |
| 100 instrumentation_test_apk("android_webview_test_apk") { | 99 instrumentation_test_apk("android_webview_test_apk") { |
| 101 apk_name = "AndroidWebViewTest" | 100 apk_name = "AndroidWebViewTest" |
| 102 apk_under_test = ":android_webview_apk" | 101 apk_under_test = ":android_webview_apk" |
| 103 android_manifest = "../javatests/AndroidManifest.xml" | 102 android_manifest = "../javatests/AndroidManifest.xml" |
| 104 deps = [ | 103 deps = [ |
| 105 "//android_webview:android_webview_crash_services_java", | 104 "//android_webview:android_webview_crash_services_java", |
| 106 "//android_webview:android_webview_java", | 105 "//android_webview:android_webview_java", |
| 107 "//base:base_java", | 106 "//base:base_java", |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 sources = [ | 282 sources = [ |
| 284 "../unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnitte
st.java", | 283 "../unittestjava/src/org/chromium/android_webview/unittest/InputStreamUnitte
st.java", |
| 285 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli
entBridge.java", | 284 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli
entBridge.java", |
| 286 ] | 285 ] |
| 287 } | 286 } |
| 288 | 287 |
| 289 shared_library("libdrawgl") { | 288 shared_library("libdrawgl") { |
| 290 sources = [ | 289 sources = [ |
| 291 "shell/src/draw_gl/draw_gl.cc", | 290 "shell/src/draw_gl/draw_gl.cc", |
| 292 ] | 291 ] |
| 293 configs -= [ "//build/config/android:hide_all_but_jni_onload" ] | 292 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
| 294 } | 293 } |
| OLD | NEW |