OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | |
agrieve
2015/11/17 03:05:26
There's already a directory called "android_webvie
michaelbai
2015/11/17 17:51:11
This file had some variable shared between upstrea
| |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 import("//build/config/android/config.gni") | |
6 import("//build/config/android/rules.gni") | |
7 | |
8 libwebviewchromium_path = "$root_build_dir/libwebviewchromium.so" | |
agrieve
2015/11/17 03:05:26
Doesn't look like this is being used outside of th
michaelbai
2015/11/17 17:51:11
Does this because the library is put in $root_buil
agrieve
2015/11/17 19:30:59
Correct. It does not currently support having libs
| |
9 | |
10 template("system_webview_apk_tmpl") { | |
11 android_apk(target_name) { | |
12 forward_variables_from(invoker, "*") | |
13 | |
14 deps += [ | |
15 "//android_webview:assets", | |
16 "//android_webview:libwebviewchromium", | |
17 "//base:base_java", | |
18 ] | |
19 | |
20 chromium_code = true | |
21 shared_resources = true | |
22 native_libs = [ libwebviewchromium_path ] | |
23 native_lib_version_rule = "//build/util:chrome_version_json" | |
24 _native_lib_file = | |
25 rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir) | |
26 native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" | |
27 } | |
28 } | |
OLD | NEW |