Chromium Code Reviews| Index: android_webview/android_webview_common.gni |
| diff --git a/android_webview/android_webview_common.gni b/android_webview/android_webview_common.gni |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6352aa7a444d222bc53ef6375781fe00249d0c66 |
| --- /dev/null |
| +++ b/android_webview/android_webview_common.gni |
| @@ -0,0 +1,28 @@ |
| +# 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
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/android/config.gni") |
| +import("//build/config/android/rules.gni") |
| + |
| +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
|
| + |
| +template("system_webview_apk_tmpl") { |
| + android_apk(target_name) { |
| + forward_variables_from(invoker, "*") |
| + |
| + deps += [ |
| + "//android_webview:assets", |
| + "//android_webview:libwebviewchromium", |
| + "//base:base_java", |
| + ] |
| + |
| + chromium_code = true |
| + shared_resources = true |
| + native_libs = [ libwebviewchromium_path ] |
| + native_lib_version_rule = "//build/util:chrome_version_json" |
| + _native_lib_file = |
| + rebase_path("$root_gen_dir/CHROME_VERSION.json", root_out_dir) |
| + native_lib_version_arg = "@FileArg($_native_lib_file:full-quoted)" |
| + } |
| +} |