| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 # GYP: components.gyp:web_restrictions_java | 9 # GYP: components.gyp:web_restrictions_java |
| 10 android_library("web_restrictions_java") { | 10 android_library("web_restrictions_java") { |
| 11 java_files = [ | 11 java_files = [ |
| 12 "browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsC
ontentProvider.java", | 12 "browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsC
ontentProvider.java", |
| 13 "browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsC
lient.java", | 13 "browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsC
lient.java", |
| 14 ] | 14 ] |
| 15 deps = [ | 15 deps = [ |
| 16 "//base:base_java", | 16 "//base:base_java", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 # GYP: //components/components_test.gyp:components_junit_tests | 20 # GYP: //components/components_test.gyp:components_junit_tests |
| 21 junit_binary("components_web_restrictions_junit_tests") { | 21 junit_binary("components_web_restrictions_junit_tests") { |
| 22 java_files = [ | 22 java_files = [ |
| 23 "browser/junit/src/org/chromium/components/webrestrictions/WebRestrictions
ContentProviderTest.java", | 23 "browser/junit/src/org/chromium/components/webrestrictions/WebRestrictions
ContentProviderTest.java", |
| 24 "browser/junit/src/org/chromium/components/webrestrictions/WebRestrictions
ClientTest.java", | 24 "browser/junit/src/org/chromium/components/webrestrictions/WebRestrictions
ClientTest.java", |
| 25 ] | 25 ] |
| 26 deps = [ | 26 deps = [ |
| 27 ":web_restrictions_java", | 27 ":web_restrictions_java", |
| 28 "//base:base_java", | 28 "//base:base_java", |
| 29 "//third_party/junit:hamcrest", | 29 "//third_party/hamcrest:hamcrest_java", |
| 30 ] | 30 ] |
| 31 } | 31 } |
| 32 | 32 |
| 33 generate_jni("web_restrictions_jni_headers") { | 33 generate_jni("web_restrictions_jni_headers") { |
| 34 sources = [ | 34 sources = [ |
| 35 "browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsC
lient.java", | 35 "browser/java/src/org/chromium/components/webrestrictions/WebRestrictionsC
lient.java", |
| 36 ] | 36 ] |
| 37 jni_package = "web_restrictions" | 37 jni_package = "web_restrictions" |
| 38 } | 38 } |
| 39 | 39 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 ":test_support", | 107 ":test_support", |
| 108 "//base", | 108 "//base", |
| 109 "//base/test:test_support", | 109 "//base/test:test_support", |
| 110 "//content/test:test_support", | 110 "//content/test:test_support", |
| 111 "//net", | 111 "//net", |
| 112 "//testing/gtest", | 112 "//testing/gtest", |
| 113 "//url", | 113 "//url", |
| 114 ] | 114 ] |
| 115 } | 115 } |
| 116 } | 116 } |
| OLD | NEW |