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

Unified Diff: components/policy/android/BUILD.gn

Issue 1220683008: Move AppRestriction to Policy code out of //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix more build errors Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: components/policy/android/BUILD.gn
diff --git a/components/policy/android/BUILD.gn b/components/policy/android/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..d344fe99f4f583c968eb34e88e814866cf16c55b
--- /dev/null
+++ b/components/policy/android/BUILD.gn
@@ -0,0 +1,18 @@
+import("//build/config/android/rules.gni")
+
+_jni_sources = [ "java/src/org/chromium/policy/AppRestrictionsImporter.java" ]
+
+# GYP: //components/components.gyp:policy_jni_headers
+generate_jni("jni_headers") {
+ visibility = [ "//components/policy/*" ]
+ sources = _jni_sources
+ jni_package = "policy"
+}
+
+# GYP: //components/components.gyp:policy_java
+android_library("policy_java") {
+ deps = [
+ "//base:base_java",
+ ]
+ java_files = _jni_sources
+}

Powered by Google App Engine
This is Rietveld 408576698