| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # TODO(jknotten): Remove this file once external dependencies have changed to |
| 7 # use the new location of this component at |
| 8 # content/components/navigation_interception. |
| 9 |
| 6 { | 10 { |
| 7 'targets': [ | |
| 8 { | |
| 9 'target_name': 'navigation_interception', | |
| 10 'type': 'static_library', | |
| 11 'dependencies': [ | |
| 12 '../../../base/base.gyp:base', | |
| 13 '../../../content/content.gyp:content_browser', | |
| 14 '../../../content/content.gyp:content_common', | |
| 15 '../../../net/net.gyp:net', | |
| 16 ], | |
| 17 'include_dirs': [ | |
| 18 '../../../..', | |
| 19 '../../../../skia/config', | |
| 20 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_component', | |
| 21 | |
| 22 ], | |
| 23 'sources': [ | |
| 24 'intercept_navigation_resource_throttle.cc', | |
| 25 'intercept_navigation_resource_throttle.h', | |
| 26 ], | |
| 27 'conditions': [ | |
| 28 ['OS=="android"', { | |
| 29 'dependencies': [ | |
| 30 'browser_component_jni_headers', | |
| 31 ], | |
| 32 'sources': [ | |
| 33 'component_jni_registrar.cc', | |
| 34 'component_jni_registrar.h', | |
| 35 'intercept_navigation_delegate.cc', | |
| 36 'intercept_navigation_delegate.h', | |
| 37 ], | |
| 38 }], | |
| 39 ], | |
| 40 }, | |
| 41 ], | |
| 42 'conditions': [ | 11 'conditions': [ |
| 43 ['OS=="android"', { | 12 ['OS=="android"', { |
| 44 'targets': [ | 13 'targets': [ |
| 45 { | 14 { |
| 46 'target_name': 'navigation_interception_java', | 15 'target_name': 'navigation_interception_java', |
| 47 'type': 'none', | 16 'type': 'none', |
| 48 'dependencies': [ | 17 'dependencies': [ |
| 49 '../../../base/base.gyp:base', | 18 '../../../content/content.gyp:navigation_interception_java', |
| 50 ], | 19 ], |
| 51 'variables': { | |
| 52 'package_name': 'navigation_interception', | |
| 53 'java_in_dir': 'java', | |
| 54 }, | |
| 55 'includes': [ '../../../../build/java.gypi' ], | |
| 56 }, | 20 }, |
| 57 ], | 21 ], |
| 58 }], | 22 }], |
| 59 ], | 23 ], |
| 60 } | 24 } |
| OLD | NEW |