[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 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 | { |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 7 | 'targets': [ |
| 8 | { |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 9 | # GN version: //components/navigation_interception |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 10 | 'target_name': 'navigation_interception', |
| 11 | 'type': 'static_library', |
| 12 | 'defines!': ['CONTENT_IMPLEMENTATION'], |
| 13 | 'dependencies': [ |
| 14 | '../base/base.gyp:base', |
| 15 | '../content/content.gyp:content_browser', |
| 16 | '../content/content.gyp:content_common', |
| 17 | '../net/net.gyp:net', |
Sylvain Defresne | c6ccc77d | 2014-09-19 10:19:35 | [diff] [blame] | 18 | '../ui/base/ui_base.gyp:ui_base', |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 19 | ], |
| 20 | 'include_dirs': [ |
| 21 | '..', |
| 22 | '../skia/config', |
| 23 | ], |
| 24 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 25 | # Note: sources list duplicated in GN build. |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 26 | 'navigation_interception/intercept_navigation_resource_throttle.cc', |
| 27 | 'navigation_interception/intercept_navigation_resource_throttle.h', |
| 28 | 'navigation_interception/navigation_params.h', |
| 29 | 'navigation_interception/navigation_params.cc', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 30 | ], |
| 31 | 'conditions': [ |
| 32 | ['OS=="android"', { |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 33 | 'dependencies': [ |
| 34 | 'navigation_interception_jni_headers', |
| 35 | ], |
| 36 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 37 | # Note: sources list duplicated in GN build. |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 38 | 'navigation_interception/component_jni_registrar.cc', |
| 39 | 'navigation_interception/component_jni_registrar.h', |
| 40 | 'navigation_interception/intercept_navigation_delegate.cc', |
| 41 | 'navigation_interception/intercept_navigation_delegate.h', |
| 42 | 'navigation_interception/navigation_params_android.h', |
| 43 | 'navigation_interception/navigation_params_android.cc', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 44 | ], |
| 45 | }], |
| 46 | ], |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 47 | }, |
| 48 | ], |
| 49 | 'conditions': [ |
| 50 | ['OS=="android"', { |
| 51 | 'targets': [ |
| 52 | { |
cjhopman | 11a68cb | 2014-10-13 22:47:54 | [diff] [blame] | 53 | # GN version: //components/navigation_intercaption/android:navigation_interception_java |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 54 | 'target_name': 'navigation_interception_java', |
| 55 | 'type': 'none', |
| 56 | 'dependencies': [ |
| 57 | '../base/base.gyp:base', |
| 58 | ], |
| 59 | 'variables': { |
| 60 | 'java_in_dir': 'navigation_interception/android/java', |
| 61 | }, |
| 62 | 'includes': [ '../build/java.gypi' ], |
| 63 | }, |
| 64 | { |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 65 | # GN version: //components/navigation_intercaption:jni_headers |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 66 | 'target_name': 'navigation_interception_jni_headers', |
| 67 | 'type': 'none', |
| 68 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 69 | # Note: sources list duplicated in GN build. |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 70 | 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java', |
| 71 | 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java', |
| 72 | ], |
| 73 | 'variables': { |
| 74 | 'jni_gen_package': 'navigation_interception', |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 75 | }, |
| 76 | 'includes': [ '../build/jni_generator.gypi' ], |
| 77 | }, |
| 78 | ], |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 79 | }], |
| 80 | ], |
| 81 | } |