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

Unified Diff: android_webview/system_webview_apk_tmpl.gni

Issue 1452893002: GN WebView: make system_webview_apk work (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove chromium_code Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/system_webview_apk_tmpl.gni
diff --git a/android_webview/system_webview_apk_tmpl.gni b/android_webview/system_webview_apk_tmpl.gni
new file mode 100644
index 0000000000000000000000000000000000000000..ab49f0a7082b1c8d8ead575a2d32f88db2e52b2d
--- /dev/null
+++ b/android_webview/system_webview_apk_tmpl.gni
@@ -0,0 +1,26 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# 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")
+
+template("system_webview_apk_tmpl") {
+ android_apk(target_name) {
+ forward_variables_from(invoker, "*")
+
+ deps += [
+ "//android_webview:assets",
+ "//android_webview:libwebviewchromium",
+ "//base:base_java",
+ ]
+
+ shared_resources = true
+ native_libs = [ "libwebviewchromium.so" ]
+ 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)"
+ extensions_to_not_compress = ".lpak,.pak,.bin,.dat"
+ }
+}
« no previous file with comments | « android_webview/native/BUILD.gn ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698