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") { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "//content/public/browser", | 56 "//content/public/browser", |
57 "//mojo/public/cpp/bindings:bindings", | 57 "//mojo/public/cpp/bindings:bindings", |
58 "//net:net", | 58 "//net:net", |
59 ] | 59 ] |
60 } | 60 } |
61 | 61 |
62 mojom("interfaces") { | 62 mojom("interfaces") { |
63 sources = [ | 63 sources = [ |
64 "interfaces/web_restrictions.mojom", | 64 "interfaces/web_restrictions.mojom", |
65 ] | 65 ] |
66 | |
67 use_once_callback = true | |
68 } | 66 } |
69 | 67 |
70 generate_jni("test_support_jni_headers") { | 68 generate_jni("test_support_jni_headers") { |
71 sources = [ | 69 sources = [ |
72 "browser/javatest/src/org/chromium/components/webrestrictions/browser/Mock
WebRestrictionsClient.java", | 70 "browser/javatest/src/org/chromium/components/webrestrictions/browser/Mock
WebRestrictionsClient.java", |
73 ] | 71 ] |
74 jni_package = "web_restrictions" | 72 jni_package = "web_restrictions" |
75 deps = [ | 73 deps = [ |
76 ":web_restrictions_java", | 74 ":web_restrictions_java", |
77 ] | 75 ] |
(...skipping 29 matching lines...) Expand all Loading... |
107 ":test_support", | 105 ":test_support", |
108 "//base", | 106 "//base", |
109 "//base/test:test_support", | 107 "//base/test:test_support", |
110 "//content/test:test_support", | 108 "//content/test:test_support", |
111 "//net", | 109 "//net", |
112 "//testing/gtest", | 110 "//testing/gtest", |
113 "//url", | 111 "//url", |
114 ] | 112 ] |
115 } | 113 } |
116 } | 114 } |
OLD | NEW |