Index: components/web_restrictions.gypi |
diff --git a/components/web_restrictions.gypi b/components/web_restrictions.gypi |
index 772e230dc51bf9604ed5c059b26aedae2d6dab8e..f37ec7727e6ba7f04a530f5ea7b50f71b53fd00a 100644 |
--- a/components/web_restrictions.gypi |
+++ b/components/web_restrictions.gypi |
@@ -18,6 +18,37 @@ |
], |
'includes': [ '../build/java.gypi' ], |
}, |
+ { |
+ # GN: //components/web_restrictions:web_restrictions_jni_headers |
+ 'target_name': 'web_restrictions_jni_headers', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'web_restrictions/java/src/org/chromium/components/webrestrictions/ContentResolverWebRestrictionsProvider.java', |
+ ], |
+ 'variables': { |
+ 'jni_gen_package': 'components/web_restrictions', |
+ }, |
+ 'includes': [ '../build/jni_generator.gypi' ], |
+ }, |
+ { |
+ # GN: //components/web_restrictions:web_restrictions |
+ 'target_name': 'web_restrictions', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '<(DEPTH)/base/base.gyp:base', |
+ '<(DEPTH)/content/content.gyp:content_browser', |
+ 'web_restrictions_jni_headers', |
+ ], |
+ 'sources': [ |
+ "web_restrictions/content_resolver_web_restrictions_provider.cc", |
+ "web_restrictions/content_resolver_web_restrictions_provider.h", |
+ "web_restrictions/web_restrictions_gin_wrapper.cc", |
+ "web_restrictions/web_restrictions_gin_wrapper.h", |
+ "web_restrictions/web_restrictions_provider.h", |
+ "web_restrictions/web_restrictions_resource_throttle.cc", |
+ "web_restrictions/web_restrictions_resource_throttle.h", |
+ ], |
+ }, |
], |
}]] |
} |