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

Unified Diff: components/web_restriction.gypi

Issue 1423713015: [WIP] WebRestrictions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: continue review in split cl Created 4 years, 11 months 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
index 01aa9bdeacb14d9469943649c2a54d8bdbc84533..eff192d48b74c60b864dcfd39c11aa49abd9e662 100644
--- a/components/web_restriction.gypi
+++ b/components/web_restriction.gypi
@@ -18,6 +18,37 @@
],
'includes': [ '../build/java.gypi' ],
},
+ {
+ # GN: //components/web_restriction:web_restriction_jni_headers
+ 'target_name': 'web_restriction_jni_headers',
+ 'type': 'none',
+ 'sources': [
+ 'web_restriction/java/src/org/chromium/components/webrestriction/ContentResolverWebRestrictionProvider.java',
+ ],
+ 'variables': {
+ 'jni_gen_package': 'components/web_restriction',
+ },
+ 'includes': [ '../build/jni_generator.gypi' ],
+ },
+ {
+ #GN: //components/web_restriction:web_restriction
+ '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",
+ ],
+ },
],
}]]
}

Powered by Google App Engine
This is Rietveld 408576698