Index: components/web_restriction.gypi |
diff --git a/components/web_restriction.gypi b/components/web_restriction.gypi |
new file mode 100644 |
index 0000000000000000000000000000000000000000..021cfeb525117ceee81fa6ff8314378f223d738e |
--- /dev/null |
+++ b/components/web_restriction.gypi |
@@ -0,0 +1,51 @@ |
+# 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. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ #TODO GN |
+ 'target_name': 'web_restriction', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '<(DEPTH)/base/base.gyp:base', |
+ '<(DEPTH)/content/content.gyp:content_browser', |
+ 'web_restriction_jni_headers', |
+ ], |
+ 'sources': [ |
+ "web_restriction/content_resolver_web_restriction_provider.cc", |
+ "web_restriction/content_resolver_web_restriction_provider.h", |
+ "web_restriction/web_restriction_gin_wrapper.cc", |
+ "web_restriction/web_restriction_gin_wrapper.h", |
+ "web_restriction/web_restriction_provider.h", |
+ "web_restriction/web_restriction_resource_throttle.cc", |
+ "web_restriction/web_restriction_resource_throttle.h", |
+ ], |
+ }, |
+ { |
+ #TODO GN |
+ 'target_name': 'web_restriction_jni_headers', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'web_restriction/java/src/org/chromium/components/web_restriction/ContentResolverWebRestrictionProvider.java', |
+ ], |
+ 'variables': { |
+ 'jni_gen_package': 'components/web_restriction', |
+ }, |
+ 'includes': [ '../build/jni_generator.gypi' ], |
+ }, |
+ { |
+ #TODO GN |
+ 'target_name': 'web_restriction_java', |
+ 'type': 'none', |
+ 'variables': { |
+ 'java_in_dir': 'web_restriction/java', |
+ }, |
+ 'dependencies': [ |
+ '../base/base.gyp:base', |
+ ], |
+ 'includes': [ '../build/java.gypi' ], |
+ }, |
+ ], |
+} |