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

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

Issue 2563663002: [gmscore] Enable multidexing for various test targets (Closed)
Patch Set: Created 4 years 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 | « no previous file | blimp/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 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 ] 45 ]
46 shared_libraries = [ 46 shared_libraries = [
47 ":libdrawgl", 47 ":libdrawgl",
48 ":libstandalonelibwebviewchromium", 48 ":libstandalonelibwebviewchromium",
49 ] 49 ]
50 50
51 native_lib_version_rule = "//build/util:chrome_version_json" 51 native_lib_version_rule = "//build/util:chrome_version_json"
52 _native_lib_file = 52 _native_lib_file =
53 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir) 53 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir)
54 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" 54 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)"
55
56 enable_multidex = true
55 } 57 }
56 58
57 android_resources("android_webview_apk_resources") { 59 android_resources("android_webview_apk_resources") {
58 resource_dirs = [ "shell/res" ] 60 resource_dirs = [ "shell/res" ]
59 custom_package = "org.chromium.android_webview.shell" 61 custom_package = "org.chromium.android_webview.shell"
60 } 62 }
61 63
62 android_assets("android_webview_apk_assets") { 64 android_assets("android_webview_apk_assets") {
63 deps = [ 65 deps = [
64 "//android_webview:pak_file_assets", 66 "//android_webview:pak_file_assets",
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 data = [ 206 data = [
205 "data/", 207 "data/",
206 ] 208 ]
207 additional_apks = [ "//net/android:net_test_support_apk" ] 209 additional_apks = [ "//net/android:net_test_support_apk" ]
208 } 210 }
209 211
210 test("android_webview_unittests") { 212 test("android_webview_unittests") {
211 # Tests do not require any data, but our dependencies pull a lot in. 213 # Tests do not require any data, but our dependencies pull a lot in.
212 ignore_all_data_deps = true 214 ignore_all_data_deps = true
213 215
216 # Dependencies (e.g. Play services) make the binary reach the dex limit.
217 enable_multidex = true
218
214 deps = [ 219 deps = [
215 ":android_webview_unittests_assets", 220 ":android_webview_unittests_assets",
216 ":android_webview_unittests_java", 221 ":android_webview_unittests_java",
217 ":android_webview_unittests_jni", 222 ":android_webview_unittests_jni",
218 "//android_webview:common", 223 "//android_webview:common",
219 "//base/test:test_support", 224 "//base/test:test_support",
220 "//content/test:test_support", 225 "//content/test:test_support",
221 "//net:test_support", 226 "//net:test_support",
222 "//ui/base:ui_base_jni_headers", 227 "//ui/base:ui_base_jni_headers",
223 "//ui/gl", 228 "//ui/gl",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java", 280 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java",
276 ] 281 ]
277 } 282 }
278 283
279 shared_library("libdrawgl") { 284 shared_library("libdrawgl") {
280 sources = [ 285 sources = [
281 "shell/src/draw_gl/draw_gl.cc", 286 "shell/src/draw_gl/draw_gl.cc",
282 ] 287 ]
283 configs -= [ "//build/config/android:hide_native_jni_exports" ] 288 configs -= [ "//build/config/android:hide_native_jni_exports" ]
284 } 289 }
OLDNEW
« no previous file with comments | « no previous file | blimp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698