OLD | NEW |
| (Empty) |
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 { | |
7 'targets': [ | |
8 { | |
9 'target_name': 'navigation_interception', | |
10 'type': 'static_library', | |
11 'defines!': ['CONTENT_IMPLEMENTATION'], | |
12 'dependencies': [ | |
13 '../base/base.gyp:base', | |
14 '../net/net.gyp:net', | |
15 'content_browser', | |
16 'content_common', | |
17 ], | |
18 'include_dirs': [ | |
19 '..', | |
20 '../skia/config', | |
21 '<(SHARED_INTERMEDIATE_DIR)/navigation_interception', | |
22 | |
23 ], | |
24 'sources': [ | |
25 'components/navigation_interception/intercept_navigation_resource_thrott
le.cc', | |
26 'components/navigation_interception/intercept_navigation_resource_thrott
le.h', | |
27 ], | |
28 'conditions': [ | |
29 ['OS=="android"', { | |
30 'dependencies': [ | |
31 'navigation_interception_jni_headers', | |
32 ], | |
33 'sources': [ | |
34 'components/navigation_interception/component_jni_registrar.cc', | |
35 'components/navigation_interception/component_jni_registrar.h', | |
36 'components/navigation_interception/intercept_navigation_delegate.cc
', | |
37 'components/navigation_interception/intercept_navigation_delegate.h'
, | |
38 ], | |
39 }], | |
40 ], | |
41 }, | |
42 ], | |
43 'conditions': [ | |
44 ['OS=="android"', { | |
45 'targets': [ | |
46 { | |
47 'target_name': 'navigation_interception_java', | |
48 'type': 'none', | |
49 'dependencies': [ | |
50 '../base/base.gyp:base', | |
51 ], | |
52 'variables': { | |
53 'package_name': 'navigation_interception', | |
54 'java_in_dir': 'components/navigation_interception/java', | |
55 }, | |
56 'includes': [ '../build/java.gypi' ], | |
57 }, | |
58 { | |
59 'target_name': 'navigation_interception_jni_headers', | |
60 'type': 'none', | |
61 'sources': [ | |
62 'components/navigation_interception/java/src/org/chromium/content/co
mponents/navigation_interception/InterceptNavigationDelegate.java', | |
63 ], | |
64 'variables': { | |
65 'jni_gen_dir': 'navigation_interception', | |
66 }, | |
67 'includes': [ '../build/jni_generator.gypi' ], | |
68 }, | |
69 ], | |
70 }], | |
71 ], | |
72 } | |
OLD | NEW |