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 30 matching lines...) Expand all Loading... |
41 "shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java", | 41 "shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java", |
42 "shell/src/org/chromium/android_webview/test/NullContentsClient.java", | 42 "shell/src/org/chromium/android_webview/test/NullContentsClient.java", |
43 "shell/src/org/chromium/android_webview/test/SecondBrowserProcess.java", | 43 "shell/src/org/chromium/android_webview/test/SecondBrowserProcess.java", |
44 "shell/src/org/chromium/android_webview/test/TestContentProvider.java", | 44 "shell/src/org/chromium/android_webview/test/TestContentProvider.java", |
45 ] | 45 ] |
46 shared_libraries = [ | 46 shared_libraries = [ |
47 ":libdrawgl", | 47 ":libdrawgl", |
48 ":libstandalonelibwebviewchromium", | 48 ":libstandalonelibwebviewchromium", |
49 ] | 49 ] |
50 | 50 |
51 srcjar_deps = [ "//android_webview:locale_pak_srcjar" ] | |
52 | |
53 native_lib_version_rule = "//build/util:chrome_version_json" | 51 native_lib_version_rule = "//build/util:chrome_version_json" |
54 _native_lib_file = | 52 _native_lib_file = |
55 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir) | 53 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_build_dir) |
56 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" | 54 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" |
57 | 55 |
58 extensions_to_not_compress = ".dat,.bin,.pak,.lpak" | 56 extensions_to_not_compress = ".dat,.bin,.pak,.lpak" |
59 } | 57 } |
60 | 58 |
61 android_resources("android_webview_apk_resources") { | 59 android_resources("android_webview_apk_resources") { |
62 resource_dirs = [ "shell/res" ] | 60 resource_dirs = [ "shell/res" ] |
63 custom_package = "org.chromium.android_webview.shell" | 61 custom_package = "org.chromium.android_webview.shell" |
64 } | 62 } |
65 | 63 |
66 android_assets("android_webview_apk_assets") { | 64 android_assets("android_webview_apk_assets") { |
67 deps = [ | 65 deps = [ |
68 "//android_webview:locale_pak_assets", | |
69 "//android_webview:pak_file_assets", | 66 "//android_webview:pak_file_assets", |
70 "//third_party/icu:icu_assets", | 67 "//third_party/icu:icu_assets", |
71 "//v8:v8_external_startup_data_assets", | 68 "//v8:v8_external_startup_data_assets", |
72 ] | 69 ] |
73 sources = [ | 70 sources = [ |
74 "shell/assets/asset_file.html", | 71 "shell/assets/asset_file.html", |
75 "shell/assets/asset_icon.png", | 72 "shell/assets/asset_icon.png", |
76 "shell/assets/cookie_test.html", | 73 "shell/assets/cookie_test.html", |
77 "shell/assets/full_screen_video.js", | 74 "shell/assets/full_screen_video.js", |
78 "shell/assets/full_screen_video_inside_div_test.html", | 75 "shell/assets/full_screen_video_inside_div_test.html", |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 ] | 281 ] |
285 } | 282 } |
286 | 283 |
287 # GYP: //android_webview/android_webview_tests.gypi:libdrawgl | 284 # GYP: //android_webview/android_webview_tests.gypi:libdrawgl |
288 shared_library("libdrawgl") { | 285 shared_library("libdrawgl") { |
289 sources = [ | 286 sources = [ |
290 "shell/src/draw_gl/draw_gl.cc", | 287 "shell/src/draw_gl/draw_gl.cc", |
291 ] | 288 ] |
292 configs -= [ "//build/config/android:hide_native_jni_exports" ] | 289 configs -= [ "//build/config/android:hide_native_jni_exports" ] |
293 } | 290 } |
OLD | NEW |