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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
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/browser/WebRestr
ictionsContentProvider.java", | 12 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsContentProvider.java", |
13 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClient.java", | 13 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClient.java", |
14 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClientResult.java", | 14 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClientResult.java", |
15 ] | 15 ] |
16 deps = [ | 16 deps = [ |
17 "//base:base_java", | 17 "//base:base_java", |
18 ] | 18 ] |
19 } | 19 } |
20 | 20 |
21 # GYP: //components/components_test.gyp:components_junit_tests | 21 # GYP: //components/components_test.gyp:components_junit_tests |
22 junit_binary("components_web_restrictions_junit_tests") { | 22 junit_binary("components_web_restrictions_junit_tests") { |
23 java_files = [ | 23 java_files = [ |
24 "browser/junit/src/org/chromium/components/webrestrictions/browser/WebRest
rictionsContentProviderTest.java", | 24 "browser/junit/src/org/chromium/components/webrestrictions/browser/WebRest
rictionsContentProviderTest.java", |
25 "browser/junit/src/org/chromium/components/webrestrictions/browser/WebRest
rictionsClientTest.java", | 25 "browser/junit/src/org/chromium/components/webrestrictions/browser/WebRest
rictionsClientTest.java", |
26 ] | 26 ] |
27 deps = [ | 27 deps = [ |
28 ":web_restrictions_java", | 28 ":web_restrictions_java", |
29 "//base:base_java", | 29 "//base:base_java", |
30 "//third_party/junit:hamcrest", | 30 "//third_party/hamcrest:hamcrest_java", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 generate_jni("web_restrictions_jni_headers") { | 34 generate_jni("web_restrictions_jni_headers") { |
35 sources = [ | 35 sources = [ |
36 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClient.java", | 36 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClient.java", |
37 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClientResult.java", | 37 "browser/java/src/org/chromium/components/webrestrictions/browser/WebRestr
ictionsClientResult.java", |
38 ] | 38 ] |
39 jni_package = "web_restrictions" | 39 jni_package = "web_restrictions" |
40 } | 40 } |
(...skipping 66 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 |