OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 { |
| 7 'conditions': [ |
| 8 ['OS != "ios"', { |
| 9 'targets': [ |
| 10 { |
| 11 'target_name': 'navigation_interception', |
| 12 'type': 'static_library', |
| 13 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 14 'dependencies': [ |
| 15 '../base/base.gyp:base', |
| 16 '../content/content.gyp:content_browser', |
| 17 '../content/content.gyp:content_common', |
| 18 '../net/net.gyp:net', |
| 19 ], |
| 20 'include_dirs': [ |
| 21 '..', |
| 22 '../skia/config', |
| 23 '<(SHARED_INTERMEDIATE_DIR)/navigation_interception', |
| 24 |
| 25 ], |
| 26 'sources': [ |
| 27 'navigation_interception/intercept_navigation_resource_throttle.cc', |
| 28 'navigation_interception/intercept_navigation_resource_throttle.h', |
| 29 ], |
| 30 'conditions': [ |
| 31 ['OS=="android"', { |
| 32 'dependencies': [ |
| 33 'navigation_interception_jni_headers', |
| 34 ], |
| 35 'sources': [ |
| 36 'navigation_interception/component_jni_registrar.cc', |
| 37 'navigation_interception/component_jni_registrar.h', |
| 38 'navigation_interception/intercept_navigation_delegate.cc', |
| 39 'navigation_interception/intercept_navigation_delegate.h', |
| 40 ], |
| 41 }], |
| 42 ], |
| 43 }, |
| 44 ], |
| 45 'conditions': [ |
| 46 ['OS=="android"', { |
| 47 'targets': [ |
| 48 { |
| 49 'target_name': 'navigation_interception_java', |
| 50 'type': 'none', |
| 51 'dependencies': [ |
| 52 '../base/base.gyp:base', |
| 53 ], |
| 54 'variables': { |
| 55 'package_name': 'navigation_interception', |
| 56 'java_in_dir': 'navigation_interception/android/java', |
| 57 }, |
| 58 'includes': [ '../build/java.gypi' ], |
| 59 }, |
| 60 { |
| 61 'target_name': 'navigation_interception_jni_headers', |
| 62 'type': 'none', |
| 63 'sources': [ |
| 64 'navigation_interception/android/java/src/org/chromium/content/c
omponents/navigation_interception/InterceptNavigationDelegate.java', |
| 65 ], |
| 66 'variables': { |
| 67 'jni_gen_dir': 'navigation_interception', |
| 68 }, |
| 69 'includes': [ '../build/jni_generator.gypi' ], |
| 70 }, |
| 71 ], |
| 72 }], |
| 73 ], |
| 74 }], |
| 75 ], |
| 76 } |
OLD | NEW |