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

Side by Side Diff: components/web_contents_delegate_android/web_contents_delegate_android.gypi

Issue 11823046: Move content/components/web_contents_delegate_android to components/web_contents_delegate_android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix DEPS, namespace content->components. Ready for review. Created 7 years, 11 months 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.
Jói 2013/01/10 21:17:13 I think we want the .gypi files to live directly u
kaiwang 2013/01/10 21:34:09 From components/README, it seems suggesting to hav
boliu 2013/01/10 21:40:25 Right..so in the visitedlink one (https://coderevi
Jói 2013/01/10 21:51:23 The convention is to keep .gypi files alongside th
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 'conditions': [ 7 'conditions': [
8 ['OS=="android"', { 8 ['OS=="android"', {
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'web_contents_delegate_android', 11 'target_name': 'web_contents_delegate_android',
12 'type': 'static_library', 12 'type': 'static_library',
13 'dependencies': [ 13 'dependencies': [
14 '../base/base.gyp:base', 14 '../base/base.gyp:base',
15 '../content/content.gyp:content_browser',
16 '../content/content.gyp:content_common',
15 '../net/net.gyp:net', 17 '../net/net.gyp:net',
16 '../skia/skia.gyp:skia', 18 '../skia/skia.gyp:skia',
17 '../ui/ui.gyp:ui', 19 '../ui/ui.gyp:ui',
18 '../webkit/support/webkit_support.gyp:glue', 20 '../webkit/support/webkit_support.gyp:glue',
19 'content_browser',
20 'content_common',
21 'web_contents_delegate_android_jni_headers', 21 'web_contents_delegate_android_jni_headers',
22 ], 22 ],
23 'include_dirs': [ 23 'include_dirs': [
24 '..', 24 '..',
25 '../skia/config', 25 '../skia/config',
26 '<(SHARED_INTERMEDIATE_DIR)/web_contents_delegate_android', 26 '<(SHARED_INTERMEDIATE_DIR)/web_contents_delegate_android',
27 ], 27 ],
28 'sources': [ 28 'sources': [
29 'components/web_contents_delegate_android/color_chooser_android.cc', 29 'color_chooser_android.cc',
30 'components/web_contents_delegate_android/color_chooser_android.h', 30 'color_chooser_android.h',
31 'components/web_contents_delegate_android/component_jni_registrar.cc ', 31 'component_jni_registrar.cc',
32 'components/web_contents_delegate_android/component_jni_registrar.h' , 32 'component_jni_registrar.h',
33 'components/web_contents_delegate_android/web_contents_delegate_andr oid.cc', 33 'web_contents_delegate_android.cc',
34 'components/web_contents_delegate_android/web_contents_delegate_andr oid.h', 34 'web_contents_delegate_android.h',
35 ], 35 ],
36 }, 36 },
37 { 37 {
38 'target_name': 'web_contents_delegate_android_java', 38 'target_name': 'web_contents_delegate_android_java',
39 'type': 'none', 39 'type': 'none',
40 'dependencies': [ 40 'dependencies': [
41 '../base/base.gyp:base', 41 '../base/base.gyp:base',
42 'content_java', 42 '../content/content.gyp:content_java',
43 ], 43 ],
44 'variables': { 44 'variables': {
45 'package_name': 'web_contents_delegate_android', 45 'package_name': 'web_contents_delegate_android',
46 'java_in_dir': 'components/web_contents_delegate_android/java', 46 'java_in_dir': 'android/java',
47 }, 47 },
48 'includes': [ '../build/java.gypi' ], 48 'includes': [ '../../build/java.gypi' ],
49 }, 49 },
50 { 50 {
51 'target_name': 'web_contents_delegate_android_jni_headers', 51 'target_name': 'web_contents_delegate_android_jni_headers',
52 'type': 'none', 52 'type': 'none',
53 'sources': [ 53 'sources': [
54 'components/web_contents_delegate_android/java/src/org/chromium/cont ent/components/web_contents_delegate_android/ColorChooserAndroid.java', 54 'android/java/src/org/chromium/components/web_contents_delegate_andr oid/ColorChooserAndroid.java',
55 'components/web_contents_delegate_android/java/src/org/chromium/cont ent/components/web_contents_delegate_android/WebContentsDelegateAndroid.java', 55 'android/java/src/org/chromium/components/web_contents_delegate_andr oid/WebContentsDelegateAndroid.java',
56 ], 56 ],
57 'variables': { 57 'variables': {
58 'jni_gen_dir': 'web_contents_delegate_android', 58 'jni_gen_dir': '.',
boliu 2013/01/10 20:20:22 This is due to the gypi file moved relatively to t
Yaron 2013/01/10 21:56:40 So what does this path end up being?
boliu 2013/01/10 22:02:13 <(SHARED_INTERMEDIATE_DIR)/web_contents_delegate_a
59 }, 59 },
60 'includes': [ '../build/jni_generator.gypi' ], 60 'includes': [ '../../build/jni_generator.gypi' ],
61 }, 61 },
62 ], 62 ],
63 }], 63 }],
64 ], 64 ],
65 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698