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

Unified Diff: chrome/browser/component/navigation_interception/navigation_interception.gypi

Issue 10946008: Componentize IgnoreNavigationResourceThrottle and add chrome and webview specific implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed presubmit warning for jni_generator.py Created 8 years, 2 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: chrome/browser/component/navigation_interception/navigation_interception.gypi
diff --git a/chrome/browser/component/navigation_interception/navigation_interception.gypi b/chrome/browser/component/navigation_interception/navigation_interception.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..af9de6ea9bd8bae81b2452b1c456a2abaf2ea882
--- /dev/null
+++ b/chrome/browser/component/navigation_interception/navigation_interception.gypi
@@ -0,0 +1,60 @@
+# Copyright (c) 2012 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': [
+ {
+ 'target_name': 'navigation_interception',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ '../../../content/content.gyp:content_browser',
+ '../../../content/content.gyp:content_common',
+ '../../../net/net.gyp:net',
+ ],
+ 'include_dirs': [
+ '../../../..',
+ '../../../../skia/config',
+ '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_component',
+
+ ],
+ 'sources': [
+ 'intercept_navigation_resource_throttle.cc',
+ 'intercept_navigation_resource_throttle.h',
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'dependencies': [
+ 'browser_component_jni_headers',
+ ],
+ 'sources': [
+ 'component_jni_registrar.cc',
+ 'component_jni_registrar.h',
+ 'intercept_navigation_delegate.cc',
+ 'intercept_navigation_delegate.h',
+ ],
+ }],
+ ],
+ },
+ ],
+ 'conditions': [
+ ['OS=="android"', {
+ 'targets': [
+ {
+ 'target_name': 'navigation_interception_java',
+ 'type': 'none',
+ 'dependencies': [
+ '../../../base/base.gyp:base',
+ ],
+ 'variables': {
+ 'package_name': 'navigation_interception',
+ 'java_in_dir': 'java',
+ },
+ 'includes': [ '../../../../build/java.gypi' ],
+ },
+ ],
+ }],
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698