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

Side by Side Diff: chrome/chrome_android.gypi

Issue 10943014: Add support for the ChromiumTestShellTest APK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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
« no previous file with comments | « chrome/android/testshell/res/drawable/progress.xml ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ],
(...skipping 21 matching lines...) Expand all
32 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], 32 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ],
33 }], 33 }],
34 ], 34 ],
35 }], 35 }],
36 ], 36 ],
37 }, 37 },
38 { 38 {
39 'target_name': 'chromium_testshell', 39 'target_name': 'chromium_testshell',
40 'type': 'none', 40 'type': 'none',
41 'dependencies': [ 41 'dependencies': [
42 '../media/media.gyp:media_java',
43 'chrome.gyp:chrome_java',
42 'chrome_android_paks', 44 'chrome_android_paks',
43 'libchromiumtestshell', 45 'libchromiumtestshell',
44 ], 46 ],
47 'variables': {
48 'package_name': 'chromium_testshell',
49 'apk_name': 'ChromiumTestShell',
50 'java_in_dir': 'android/testshell/java',
51 'resource_dir': '../res',
52 'native_libs_paths': [ '<(PRODUCT_DIR)/chromium_testshell/libs/<(android _app_abi)/libchromiumtestshell.so', ],
53 'additional_input_paths': [ '<@(chrome_android_pak_output_resources)', ] ,
54 },
45 'actions': [ 55 'actions': [
46 { 56 {
47 'action_name': 'copy_and_strip_so', 57 'action_name': 'copy_and_strip_so',
48 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], 58 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'],
49 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'], 59 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'],
50 'action': [ 60 'action': [
51 '<(android_strip)', 61 '<(android_strip)',
52 '--strip-unneeded', 62 '--strip-unneeded',
53 '<@(_inputs)', 63 '<@(_inputs)',
54 '-o', 64 '-o',
55 '<@(_outputs)', 65 '<@(_outputs)',
56 ], 66 ],
57 }, 67 },
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 ], 68 ],
69 'includes': [ '../build/java_apk.gypi', ],
92 }, 70 },
93 { 71 {
94 'target_name': 'chrome_android_core', 72 'target_name': 'chrome_android_core',
95 'type': 'static_library', 73 'type': 'static_library',
96 'dependencies': [ 74 'dependencies': [
97 'chrome.gyp:browser', 75 'chrome.gyp:browser',
98 'chrome.gyp:plugin', 76 'chrome.gyp:plugin',
99 'chrome.gyp:renderer', 77 'chrome.gyp:renderer',
100 'chrome.gyp:utility', 78 'chrome.gyp:utility',
101 '../content/content.gyp:content', 79 '../content/content.gyp:content',
(...skipping 29 matching lines...) Expand all
131 'copies': [ 109 'copies': [
132 { 110 {
133 'destination': '<(chrome_android_pak_output_folder)', 111 'destination': '<(chrome_android_pak_output_folder)',
134 'files': [ '<@(chrome_android_pak_input_resources)' ], 112 'files': [ '<@(chrome_android_pak_input_resources)' ],
135 } 113 }
136 ], 114 ],
137 }, 115 },
138 ], 116 ],
139 } 117 }
140 118
OLDNEW
« no previous file with comments | « chrome/android/testshell/res/drawable/progress.xml ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698