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

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: Rebase 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
« no previous file with comments | « components/policy.gypi ('k') | components/policy/android/java/src/org/chromium/policy/PolicyConverter.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/android/BUILD.gn
diff --git a/components/policy/android/BUILD.gn b/components/policy/android/BUILD.gn
index 3f1fae443df7f0bdb8001c22b7fbc0058d48779d..9784e36be124de05771ba83d3fbe9a2a70ced2f7 100644
--- a/components/policy/android/BUILD.gn
+++ b/components/policy/android/BUILD.gn
@@ -4,10 +4,20 @@
import("//build/config/android/rules.gni")
+_jni_sources = [ "java/src/org/chromium/policy/PolicyConverter.java" ]
+
# GYP: //components/components.gyp:policy_java
android_library("policy_java") {
deps = [
"//base:base_java",
]
- java_files = [ "java/src/org/chromium/policy/AppRestrictionsProvider.java" ]
+ java_files = [ "java/src/org/chromium/policy/AppRestrictionsProvider.java" ] +
+ _jni_sources
+}
+
+# GYP: //components/components.gyp:policy_jni_headers
+generate_jni("jni_headers") {
+ visibility = [ "//components/policy/*" ]
+ sources = _jni_sources
+ jni_package = "policy"
}
« no previous file with comments | « components/policy.gypi ('k') | components/policy/android/java/src/org/chromium/policy/PolicyConverter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698