| 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 = [ "java/src/org/chromium/policy/PolicyConverter.java" ] |
| 8 |
| 7 # GYP: //components/components.gyp:policy_java | 9 # GYP: //components/components.gyp:policy_java |
| 8 android_library("policy_java") { | 10 android_library("policy_java") { |
| 9 deps = [ | 11 deps = [ |
| 10 "//base:base_java", | 12 "//base:base_java", |
| 11 ] | 13 ] |
| 12 java_files = [ "java/src/org/chromium/policy/AppRestrictionsProvider.java" ] | 14 java_files = [ "java/src/org/chromium/policy/AppRestrictionsProvider.java" ] + |
| 15 _jni_sources |
| 13 } | 16 } |
| 17 |
| 18 # GYP: //components/components.gyp:policy_jni_headers |
| 19 generate_jni("jni_headers") { |
| 20 visibility = [ "//components/policy/*" ] |
| 21 sources = _jni_sources |
| 22 jni_package = "policy" |
| 23 } |
| OLD | NEW |