MSE: Reduce spurious buffered range discontinuities
[chromium-blink-merge.git] / components / navigation_interception.gypi
blobc2e4f76f8b14d7bcfbd61a0fbb924c71f3e184f5
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
7   'targets': [
8     {
9       # GN version: //components/navigation_interception
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',
18         '../ui/base/ui_base.gyp:ui_base',
19       ],
20       'include_dirs': [
21         '..',
22         '../skia/config',
23       ],
24       'sources': [
25         # Note: sources list duplicated in GN build.
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',
30       ],
31       'conditions': [
32         ['OS=="android"', {
33           'dependencies': [
34             'navigation_interception_jni_headers',
35           ],
36           'sources': [
37             # Note: sources list duplicated in GN build.
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',
44           ],
45         }],
46       ],
47     },
48   ],
49   'conditions': [
50     ['OS=="android"', {
51       'targets': [
52         {
53           'target_name': 'navigation_interception_java',
54           'type': 'none',
55           'dependencies': [
56             '../base/base.gyp:base',
57           ],
58           'variables': {
59             'java_in_dir': 'navigation_interception/android/java',
60           },
61           'includes': [ '../build/java.gypi' ],
62         },
63         {
64           # GN version: //components/navigation_intercaption:jni_headers
65           'target_name': 'navigation_interception_jni_headers',
66           'type': 'none',
67           'sources': [
68             # Note: sources list duplicated in GN build.
69             'navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java',
70             'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java',
71           ],
72           'variables': {
73             'jni_gen_package': 'navigation_interception',
74           },
75           'includes': [ '../build/jni_generator.gypi' ],
76         },
77       ],
78     }],
79   ],