New avatar menu: Add supervised user disclaimer ("Usage and history of this user...
[chromium-blink-merge.git] / components / navigation_interception.gypi
blobed229ae2ee694b449a4433cfd8c68c674b4de598
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       'target_name': 'navigation_interception',
10       'type': 'static_library',
11       'defines!': ['CONTENT_IMPLEMENTATION'],
12       'dependencies': [
13         '../base/base.gyp:base',
14         '../content/content.gyp:content_browser',
15         '../content/content.gyp:content_common',
16         '../net/net.gyp:net',
17       ],
18       'include_dirs': [
19         '..',
20         '../skia/config',
21       ],
22       'sources': [
23         'navigation_interception/intercept_navigation_resource_throttle.cc',
24         'navigation_interception/intercept_navigation_resource_throttle.h',
25         'navigation_interception/navigation_params.h',
26         'navigation_interception/navigation_params.cc',
27       ],
28       'conditions': [
29         ['OS=="android"', {
30           'dependencies': [
31             'navigation_interception_jni_headers',
32           ],
33           'sources': [
34             'navigation_interception/component_jni_registrar.cc',
35             'navigation_interception/component_jni_registrar.h',
36             'navigation_interception/intercept_navigation_delegate.cc',
37             'navigation_interception/intercept_navigation_delegate.h',
38             'navigation_interception/navigation_params_android.h',
39             'navigation_interception/navigation_params_android.cc',
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             'java_in_dir': 'navigation_interception/android/java',
56           },
57           'includes': [ '../build/java.gypi' ],
58         },
59         {
60           'target_name': 'navigation_interception_jni_headers',
61           'type': 'none',
62           'sources': [
63             'navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java',
64             'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java',
65           ],
66           'variables': {
67             'jni_gen_package': 'navigation_interception',
68           },
69           'includes': [ '../build/jni_generator.gypi' ],
70         },
71       ],
72     }],
73   ],