Update include paths in miscellaneous content/ directories for base/process changes.
[chromium-blink-merge.git] / components / navigation_interception.gypi
blob993a916a02b17a184b508a9f5227d1158e14d92c
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   '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',
25           ],
26           'sources': [
27             'navigation_interception/intercept_navigation_resource_throttle.cc',
28             'navigation_interception/intercept_navigation_resource_throttle.h',
29             'navigation_interception/navigation_params.h',
30             'navigation_interception/navigation_params.cc',
31           ],
32           'conditions': [
33             ['OS=="android"', {
34               'dependencies': [
35                   'navigation_interception_jni_headers',
36               ],
37               'sources': [
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               'target_name': 'navigation_interception_jni_headers',
65               'type': 'none',
66               'sources': [
67                 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/InterceptNavigationDelegate.java',
68                 'navigation_interception/android/java/src/org/chromium/components/navigation_interception/NavigationParams.java',
69               ],
70               'variables': {
71                 'jni_gen_package': 'navigation_interception',
72               },
73               'includes': [ '../build/jni_generator.gypi' ],
74             },
75           ],
76         }],
77       ],
78     }],
79   ],