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

Side by Side Diff: chrome/chrome_android.gypi

Issue 10968003: Add rendering support to the TestShell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables': { 5 'variables': {
6 'chromium_code': 1, 6 'chromium_code': 1,
7 }, 7 },
8 'includes': [ 8 'includes': [
9 'chrome_android_paks.gypi', # Included for the list of pak resources. 9 'chrome_android_paks.gypi', # Included for the list of pak resources.
10 ], 10 ],
11 'targets': [ 11 'targets': [
12 { 12 {
13 'target_name': 'libchromiumtestshell', 13 'target_name': 'libchromiumtestshell',
14 'type': 'shared_library', 14 'type': 'shared_library',
15 'dependencies': [ 15 'dependencies': [
16 'chrome_android_core', 16 'chrome_android_core',
17 'chromium_testshell_jni_headers',
17 ], 18 ],
18 'sources': [ 19 'sources': [
19 'android/testshell/chrome_main_delegate_testshell_android.cc', 20 'android/testshell/chrome_main_delegate_testshell_android.cc',
20 'android/testshell/chrome_main_delegate_testshell_android.h', 21 'android/testshell/chrome_main_delegate_testshell_android.h',
22 'android/testshell/tab_manager.cc',
23 'android/testshell/tab_manager.h',
21 'android/testshell/testshell_entry_point.cc', 24 'android/testshell/testshell_entry_point.cc',
22 'android/testshell/testshell_stubs.cc', 25 'android/testshell/testshell_stubs.cc',
23 ], 26 ],
24 'include_dirs': [ 27 'include_dirs': [
25 '<(SHARED_INTERMEDIATE_DIR)/android', 28 '<(SHARED_INTERMEDIATE_DIR)/android',
29 '<(SHARED_INTERMEDIATE_DIR)/chromium_testshell',
26 '../skia/config', 30 '../skia/config',
27 ], 31 ],
28 'conditions': [ 32 'conditions': [
29 [ 'order_profiling!=0', { 33 [ 'order_profiling!=0', {
30 'conditions': [ 34 'conditions': [
31 [ 'OS="android"', { 35 [ 'OS="android"', {
32 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], 36 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
33 }], 37 }],
34 ], 38 ],
35 }], 39 }],
36 ], 40 ],
37 }, 41 },
38 { 42 {
39 'target_name': 'chromium_testshell', 43 'target_name': 'chromium_testshell',
40 'type': 'none', 44 'type': 'none',
41 'dependencies': [ 45 'dependencies': [
46 '../base/base.gyp:base_java',
47 '../content/content.gyp:content_java',
48 '../media/media.gyp:media_java',
49 '../net/net.gyp:net_java',
50 '../ui/ui.gyp:ui_java',
Ted C 2012/09/20 17:23:59 same thing as the other CL about trimming the list
David Trainor- moved to gerrit 2012/09/21 22:59:10 Done.
51 'chrome.gyp:chrome_java',
42 'chrome_android_paks', 52 'chrome_android_paks',
43 'libchromiumtestshell', 53 'libchromiumtestshell',
44 ], 54 ],
55 'variables': {
56 'package_name': 'chromium_testshell',
57 'apk_name': 'ChromiumTestShell',
58 'java_in_dir': 'android/testshell/java',
59 'resource_dir': '../res',
60 'native_libs_paths': [ '<(PRODUCT_DIR)/chromium_testshell/libs/<(android _app_abi)/libchromiumtestshell.so', ],
61 'additional_input_paths': [ '<@(chrome_android_pak_output_resources)', ] ,
62 },
45 'actions': [ 63 'actions': [
46 { 64 {
47 'action_name': 'copy_and_strip_so', 65 'action_name': 'copy_and_strip_so',
48 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], 66 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'],
49 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'], 67 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'],
50 'action': [ 68 'action': [
51 '<(android_strip)', 69 '<(android_strip)',
52 '--strip-unneeded', 70 '--strip-unneeded',
53 '<@(_inputs)', 71 '<@(_inputs)',
54 '-o', 72 '-o',
55 '<@(_outputs)', 73 '<@(_outputs)',
56 ], 74 ],
57 }, 75 },
58 {
59 'action_name': 'chromium_testshell_generate_apk',
60 'inputs': [
61 '<@(chrome_android_pak_output_resources)',
62 '<!@(find android/testshell/java/src -name "*.java")',
63 # TODO(dtrainor): Uncomment these once resources are added.
64 #'<!@(find android/testshell/java/res -name "*.png")',
65 #'<!@(find android/testshell/java/res -name "*.xml")',
66 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
67 '<(PRODUCT_DIR)/lib.java/chromium_net.jar',
68 '<(PRODUCT_DIR)/lib.java/chromium_media.jar',
69 '<(PRODUCT_DIR)/lib.java/chromium_content.jar',
70 '<(PRODUCT_DIR)/lib.java/chromium_chrome.jar',
71 '<(PRODUCT_DIR)/lib.java/chromium_web_contents_delegate_android.jar' ,
72 '<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi)/libchromi umtestshell.so'
73 ],
74 'outputs': [
75 '<(PRODUCT_DIR)/chromium_testshell/ChromiumTestShell-debug.apk',
76 ],
77 'action': [
78 'ant',
79 '-DPRODUCT_DIR=<(ant_build_out)',
80 '-DAPP_ABI=<(android_app_abi)',
81 '-DANDROID_SDK=<(android_sdk)',
82 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
83 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
84 '-DANDROID_SDK_VERSION=<(android_sdk_version)',
85 '-DANDROID_GDBSERVER=<(android_gdbserver)',
86 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)',
87 '-buildfile',
88 '<(DEPTH)/chrome/android/testshell/java/chromium_testshell_apk.xml',
89 ],
90 },
91 ], 76 ],
77 'includes': [ '../build/java_apk.gypi', ],
78 },
79 {
80 'target_name': 'chromium_testshell_jni_headers',
81 'type': 'none',
82 'sources': [
83 'android/testshell/java/src/org/chromium/chrome/testshell/TabManager.jav a',
84 ],
85 'variables': {
86 'jni_gen_dir': 'chromium_testshell',
87 },
88 'includes': [ '../build/jni_generator.gypi' ],
92 }, 89 },
93 { 90 {
94 'target_name': 'chrome_android_core', 91 'target_name': 'chrome_android_core',
95 'type': 'static_library', 92 'type': 'static_library',
96 'dependencies': [ 93 'dependencies': [
97 'chrome.gyp:browser', 94 'chrome.gyp:browser',
98 'chrome.gyp:plugin', 95 'chrome.gyp:plugin',
99 'chrome.gyp:renderer', 96 'chrome.gyp:renderer',
100 'chrome.gyp:utility', 97 'chrome.gyp:utility',
101 '../content/content.gyp:content', 98 '../content/content.gyp:content',
(...skipping 29 matching lines...) Expand all
131 'copies': [ 128 'copies': [
132 { 129 {
133 'destination': '<(chrome_android_pak_output_folder)', 130 'destination': '<(chrome_android_pak_output_folder)',
134 'files': [ '<@(chrome_android_pak_input_resources)' ], 131 'files': [ '<@(chrome_android_pak_input_resources)' ],
135 } 132 }
136 ], 133 ],
137 }, 134 },
138 ], 135 ],
139 } 136 }
140 137
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698