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", |
+ ], |
+ }, |
], |
}]] |
} |