Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: content/components/navigation_interception/navigation_interception.gypi

Issue 11293017: Move navigation interception component to content/components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 { 6 {
7 'targets': [ 7 'targets': [
8 { 8 {
9 'target_name': 'navigation_interception', 9 'target_name': 'navigation_interception',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 '../../../base/base.gyp:base', 12 '../../base/base.gyp:base',
13 '../../../content/content.gyp:content_browser', 13 '../../net/net.gyp:net',
14 '../../../content/content.gyp:content_common', 14 '../content.gyp:content_browser',
15 '../../../net/net.gyp:net', 15 '../content.gyp:content_common',
16 ], 16 ],
17 'include_dirs': [ 17 'include_dirs': [
18 '../../../..', 18 '../../..',
19 '../../../../skia/config', 19 '../../../skia/config',
20 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_component', 20 '<(SHARED_INTERMEDIATE_DIR)/content/components',
mkosiba (inactive) 2012/11/02 15:36:27 maybe use SHARED_INTERMEDIATES_DIR/content/compone
John Knottenbelt 2012/11/02 16:34:44 Done.
21 21
22 ], 22 ],
23 'sources': [ 23 'sources': [
24 'intercept_navigation_resource_throttle.cc', 24 'intercept_navigation_resource_throttle.cc',
25 'intercept_navigation_resource_throttle.h', 25 'intercept_navigation_resource_throttle.h',
26 ], 26 ],
27 'conditions': [ 27 'conditions': [
28 ['OS=="android"', { 28 ['OS=="android"', {
29 'dependencies': [ 29 'dependencies': [
30 'browser_component_jni_headers', 30 'navigation_interception_jni_headers',
31 ], 31 ],
32 'sources': [ 32 'sources': [
33 'component_jni_registrar.cc', 33 'component_jni_registrar.cc',
34 'component_jni_registrar.h', 34 'component_jni_registrar.h',
35 'intercept_navigation_delegate.cc', 35 'intercept_navigation_delegate.cc',
36 'intercept_navigation_delegate.h', 36 'intercept_navigation_delegate.h',
37 ], 37 ],
38 }], 38 }],
39 ], 39 ],
40 }, 40 },
41 ], 41 ],
42 'conditions': [ 42 'conditions': [
43 ['OS=="android"', { 43 ['OS=="android"', {
44 'targets': [ 44 'targets': [
45 { 45 {
46 'target_name': 'navigation_interception_java', 46 'target_name': 'navigation_interception_java',
47 'type': 'none', 47 'type': 'none',
48 'dependencies': [ 48 'dependencies': [
49 '../../../base/base.gyp:base', 49 '../../base/base.gyp:base',
50 ], 50 ],
51 'variables': { 51 'variables': {
52 'package_name': 'navigation_interception', 52 'package_name': 'navigation_interception',
53 'java_in_dir': 'java', 53 'java_in_dir': 'java',
54 }, 54 },
55 'includes': [ '../../../../build/java.gypi' ], 55 'includes': [ '../../../build/java.gypi' ],
56 },
57 {
58 'target_name': 'navigation_interception_jni_headers',
59 'type': 'none',
60 'sources': [
61 'java/src/org/chromium/chrome/browser/component/navigation_intercept ion/InterceptNavigationDelegate.java',
62 ],
63 'variables': {
64 'jni_gen_dir': '../content/components/navigation_interception',
mkosiba (inactive) 2012/10/31 22:41:26 why not just navigation_interception? also.. this
John Knottenbelt 2012/11/02 14:48:25 This is a possibility, do you think that prefixing
mkosiba (inactive) 2012/11/02 15:36:27 ah.. I see.. I didn't know about the relativizatio
John Knottenbelt 2012/11/02 16:34:44 Done.
65 },
66 'includes': [ '../../../build/jni_generator.gypi' ],
56 }, 67 },
57 ], 68 ],
58 }], 69 }],
59 ], 70 ],
60 } 71 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698