Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: components/web_restriction.gypi

Issue 1423713015: [WIP] WebRestrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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' ],
+ },
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698