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

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

Issue 2371843002: Reland of Move language pak files to assets. (Closed)
Patch Set: Fix ContentShell context setPrivateDataPrefix that was breaking tests Created 4 years, 2 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
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
11 group("test") { 11 group("test") {
12 deps = [ 12 deps = [
13 ":android_webview_test_apk", 13 ":android_webview_test_apk",
14 ":android_webview_unittests", 14 ":android_webview_unittests",
15 ] 15 ]
16 } 16 }
17 17
18 android_apk("android_webview_apk") { 18 android_apk("android_webview_apk") {
19 deps = [ 19 deps = [
20 ":android_webview_apk_assets", 20 ":android_webview_apk_assets",
21 ":android_webview_apk_resources", 21 ":android_webview_apk_resources",
22 "//android_webview:android_webview_java", 22 "//android_webview:android_webview_java",
23 "//android_webview:locale_pak_assets",
23 "//base:base_java", 24 "//base:base_java",
24 "//base:base_java_test_support", 25 "//base:base_java_test_support",
25 "//components/policy/android:policy_java_test_support", 26 "//components/policy/android:policy_java_test_support",
26 "//content/public/android:content_java", 27 "//content/public/android:content_java",
27 "//ui/android:ui_java", 28 "//ui/android:ui_java",
28 ] 29 ]
29 30
30 apk_name = "AndroidWebView" 31 apk_name = "AndroidWebView"
31 android_manifest = "shell/AndroidManifest.xml" 32 android_manifest = "shell/AndroidManifest.xml"
32 java_files = [ 33 java_files = [
(...skipping 11 matching lines...) Expand all
44 ] 45 ]
45 shared_libraries = [ 46 shared_libraries = [
46 ":libdrawgl", 47 ":libdrawgl",
47 ":libstandalonelibwebviewchromium", 48 ":libstandalonelibwebviewchromium",
48 ] 49 ]
49 50
50 native_lib_version_rule = "//build/util:chrome_version_json" 51 native_lib_version_rule = "//build/util:chrome_version_json"
51 _native_lib_file = 52 _native_lib_file =
52 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir) 53 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir)
53 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" 54 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)"
54
55 extensions_to_not_compress = ".dat,.bin,.pak,.lpak"
56 } 55 }
57 56
58 android_resources("android_webview_apk_resources") { 57 android_resources("android_webview_apk_resources") {
59 resource_dirs = [ "shell/res" ] 58 resource_dirs = [ "shell/res" ]
60 custom_package = "org.chromium.android_webview.shell" 59 custom_package = "org.chromium.android_webview.shell"
61 } 60 }
62 61
63 android_assets("android_webview_apk_assets") { 62 android_assets("android_webview_apk_assets") {
64 deps = [ 63 deps = [
65 "//android_webview:pak_file_assets", 64 "//android_webview:pak_file_assets",
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java", 273 "../unittestjava/src/org/chromium/android_webview/unittest/MockAwContentsCli entBridge.java",
275 ] 274 ]
276 } 275 }
277 276
278 shared_library("libdrawgl") { 277 shared_library("libdrawgl") {
279 sources = [ 278 sources = [
280 "shell/src/draw_gl/draw_gl.cc", 279 "shell/src/draw_gl/draw_gl.cc",
281 ] 280 ]
282 configs -= [ "//build/config/android:hide_native_jni_exports" ] 281 configs -= [ "//build/config/android:hide_native_jni_exports" ]
283 } 282 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698