| 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 ] |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 generate_jni("jni_headers") { | 37 generate_jni("jni_headers") { |
| 38 visibility = [ "//components/policy/*" ] | 38 visibility = [ "//components/policy/*" ] |
| 39 sources = _jni_sources | 39 sources = _jni_sources |
| 40 jni_package = "policy" | 40 jni_package = "policy" |
| 41 } | 41 } |
| 42 | 42 |
| 43 junit_binary("components_policy_junit_tests") { | 43 junit_binary("components_policy_junit_tests") { |
| 44 java_files = [ | 44 java_files = [ |
| 45 "junit/src/org/chromium/policy/AbstractAppRestrictionsProviderTest.java", | 45 "junit/src/org/chromium/policy/AbstractAppRestrictionsProviderTest.java", |
| 46 "junit/src/org/chromium/policy/CombinedPolicyProviderTest.java", | 46 "junit/src/org/chromium/policy/CombinedPolicyProviderTest.java", |
| 47 "junit/src/org/chromium/policy/PolicyConverterTest.java", |
| 47 "junit/src/org/chromium/policy/test/annotations/PoliciesTest.java", | 48 "junit/src/org/chromium/policy/test/annotations/PoliciesTest.java", |
| 48 ] | 49 ] |
| 49 deps = [ | 50 deps = [ |
| 50 ":policy_java", | 51 ":policy_java", |
| 51 ":policy_java_test_support", | 52 ":policy_java_test_support", |
| 52 "//base:base_java", | 53 "//base:base_java", |
| 53 "//third_party/hamcrest:hamcrest_java", | 54 "//third_party/hamcrest:hamcrest_java", |
| 54 ] | 55 ] |
| 55 } | 56 } |
| OLD | NEW |