Index: components/web_restriction/BUILD.gn |
diff --git a/components/web_restriction/BUILD.gn b/components/web_restriction/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b6974db69d33c9c9dbc9db92c2eb951c9f9ead0a |
--- /dev/null |
+++ b/components/web_restriction/BUILD.gn |
@@ -0,0 +1,20 @@ |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/android/rules.gni") |
+ |
+# GYP: components.gyp:web_restriction_java |
+android_library("web_restriction_java") { |
+ java_files = [ "java/src/org/chromium/components/webrestriction/WebRestrictionsContentProvider.java" ] |
+} |
+ |
+# GYP: //components/components_test.gyp:components_junit_tests |
+junit_binary("components_web_restrictions_junit_tests") { |
+ java_files = [ "junit/src/org/chromium/components/webrestriction/WebRestrictionsContentProviderTest.java" ] |
+ deps = [ |
+ ":web_restriction_java", |
+ "//base:base_java", |
+ "//third_party/junit:hamcrest", |
+ ] |
+} |