Add LOCAL_ prefix to non-UMA histogram macros.
[chromium-blink-merge.git] / components / navigation_interception.gypi
blob2a788a8065094ab37bcaf8455c4ff4ca39a29c76
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       ],
19       'include_dirs': [
20         '..',
21         '../skia/config',
22       ],
23       'sources': [
24         # Note: sources list duplicated in GN build.
25         'navigation_interception/intercept_navigation_resource_throttle.cc',
26         'navigation_interception/intercept_navigation_resource_throttle.h',
27         'navigation_interception/navigation_params.h',
28         'navigation_interception/navigation_params.cc',
29       ],
30       'conditions': [
31         ['OS=="android"', {
32           'dependencies': [
33             'navigation_interception_jni_headers',
34           ],
35           'sources': [
36             # Note: sources list duplicated in GN build.
37             'navigation_interception/component_jni_registrar.cc',
38             'navigation_interception/component_jni_registrar.h',
39             'navigation_interception/intercept_navigation_delegate.cc',
40             'navigation_interception/intercept_navigation_delegate.h',
41             'navigation_interception/navigation_params_android.h',
42             'navigation_interception/navigation_params_android.cc',
43           ],
44         }],
45       ],
46     },
47   ],
48   'conditions': [
49     ['OS=="android"', {
50       'targets': [
51         {
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         {
63           # GN version: //components/navigation_intercaption:jni_headers
64           'target_name': 'navigation_interception_jni_headers',
65           'type': 'none',
66           'sources': [
67             # Note: sources list duplicated in GN build.
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',
73           },
74           'includes': [ '../build/jni_generator.gypi' ],
75         },
76       ],
77     }],
78   ],