[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. |
clamy | 40c9e14 | 2015-09-29 11:18:47 | [diff] [blame] | 26 | 'navigation_interception/intercept_navigation_throttle.cc', |
| 27 | 'navigation_interception/intercept_navigation_throttle.h', |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 28 | 'navigation_interception/navigation_params.cc', |
satorux | ba9fc86 | 2015-02-17 01:16:42 | [diff] [blame] | 29 | 'navigation_interception/navigation_params.h', |
[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/intercept_navigation_delegate.cc', |
| 39 | 'navigation_interception/intercept_navigation_delegate.h', |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 40 | 'navigation_interception/navigation_params_android.cc', |
satorux | ba9fc86 | 2015-02-17 01:16:42 | [diff] [blame] | 41 | 'navigation_interception/navigation_params_android.h', |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 42 | ], |
| 43 | }], |
| 44 | ], |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 45 | }, |
| 46 | ], |
| 47 | 'conditions': [ |
| 48 | ['OS=="android"', { |
| 49 | 'targets': [ |
| 50 | { |
cjhopman | 11a68cb | 2014-10-13 22:47:54 | [diff] [blame] | 51 | # GN version: //components/navigation_intercaption/android:navigation_interception_java |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 52 | 'target_name': 'navigation_interception_java', |
| 53 | 'type': 'none', |
| 54 | 'dependencies': [ |
| 55 | '../base/base.gyp:base', |
| 56 | ], |
| 57 | 'variables': { |
| 58 | 'java_in_dir': 'navigation_interception/android/java', |
| 59 | }, |
| 60 | 'includes': [ '../build/java.gypi' ], |
| 61 | }, |
| 62 | { |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 63 | # GN version: //components/navigation_intercaption:jni_headers |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 64 | 'target_name': 'navigation_interception_jni_headers', |
| 65 | 'type': 'none', |
| 66 | 'sources': [ |
[email protected] | ce9926c | 2014-07-16 21:41:51 | [diff] [blame] | 67 | # Note: sources list duplicated in GN build. |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 68 | 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java', |
| 69 | 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java', |
| 70 | ], |
| 71 | 'variables': { |
| 72 | 'jni_gen_package': 'navigation_interception', |
[email protected] | 26011a70 | 2014-05-05 15:42:33 | [diff] [blame] | 73 | }, |
| 74 | 'includes': [ '../build/jni_generator.gypi' ], |
| 75 | }, |
| 76 | ], |
[email protected] | 62885ab | 2013-01-23 03:55:16 | [diff] [blame] | 77 | }], |
| 78 | ], |
| 79 | } |