| OLD | NEW | 
|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") | 
| 6 | 6 | 
| 7 _jni_sources = [ | 7 _jni_sources = [ | 
| 8   "java/src/org/chromium/policy/PolicyConverter.java", | 8   "java/src/org/chromium/policy/PolicyConverter.java", | 
| 9   "java/src/org/chromium/policy/CombinedPolicyProvider.java", | 9   "java/src/org/chromium/policy/CombinedPolicyProvider.java", | 
| 10 ] | 10 ] | 
| 11 | 11 | 
| 12 # GYP: //components/components.gyp:policy_java | 12 # GYP: //components/components.gyp:policy_java | 
| 13 android_library("policy_java") { | 13 android_library("policy_java") { | 
| 14   deps = [ | 14   deps = [ | 
| 15     "//base:base_java", | 15     "//base:base_java", | 
| 16   ] | 16   ] | 
| 17   java_files = _jni_sources + [ | 17   java_files = | 
| 18     "java/src/org/chromium/policy/AbstractAppRestrictionsProvider.java", | 18       _jni_sources + [ | 
| 19     "java/src/org/chromium/policy/AppRestrictionsProvider.java", | 19         "java/src/org/chromium/policy/AbstractAppRestrictionsProvider.java", | 
| 20     "java/src/org/chromium/policy/PolicyProvider.java", | 20         "java/src/org/chromium/policy/AppRestrictionsProvider.java", | 
| 21   ] | 21         "java/src/org/chromium/policy/PolicyProvider.java", | 
|  | 22       ] | 
| 22 } | 23 } | 
| 23 | 24 | 
| 24 # GYP: //components/components.gyp:policy_jni_headers | 25 # GYP: //components/components.gyp:policy_jni_headers | 
| 25 generate_jni("jni_headers") { | 26 generate_jni("jni_headers") { | 
| 26   visibility = [ "//components/policy/*" ] | 27   visibility = [ "//components/policy/*" ] | 
| 27   sources = _jni_sources | 28   sources = _jni_sources | 
| 28   jni_package = "policy" | 29   jni_package = "policy" | 
| 29 } | 30 } | 
| OLD | NEW | 
|---|