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

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: Updated gyp/ant rules 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 ],
(...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 '../base/base.gyp:base_java',
43 '../content/content.gyp:content_java',
44 '../media/media.gyp:media_java',
45 '../net/net.gyp:net_java',
46 #'browser/component/components.gyp:web_contents_delegate_android_java'
Ted C 2012/09/19 21:18:49 remove?
David Trainor- moved to gerrit 2012/09/20 02:28:17 Done.
47 'chrome.gyp:chrome_java',
42 'chrome_android_paks', 48 'chrome_android_paks',
43 'libchromiumtestshell', 49 'libchromiumtestshell',
44 ], 50 ],
45 'actions': [ 51 'actions': [
46 { 52 {
47 'action_name': 'copy_and_strip_so', 53 'action_name': 'copy_and_strip_so',
48 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], 54 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'],
49 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'], 55 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi) /libchromiumtestshell.so'],
50 'action': [ 56 'action': [
51 '<(android_strip)', 57 '<(android_strip)',
52 '--strip-unneeded', 58 '--strip-unneeded',
53 '<@(_inputs)', 59 '<@(_inputs)',
54 '-o', 60 '-o',
55 '<@(_outputs)', 61 '<@(_outputs)',
56 ], 62 ],
57 }, 63 },
58 { 64 {
59 'action_name': 'chromium_testshell_generate_apk', 65 'action_name': 'chromium_testshell_generate_apk',
60 'inputs': [ 66 'inputs': [
61 '<@(chrome_android_pak_output_resources)', 67 '<@(chrome_android_pak_output_resources)',
62 '<!@(find android/testshell/java/src -name "*.java")',
63 # TODO(dtrainor): Uncomment these once resources are added. 68 # TODO(dtrainor): Uncomment these once resources are added.
64 #'<!@(find android/testshell/java/res -name "*.png")', 69 #'<!@(find android/testshell/java/res -name "*.png")',
65 #'<!@(find android/testshell/java/res -name "*.xml")', 70 #'<!@(find android/testshell/java/res -name "*.xml")',
66 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 71 # Right now comment out the find call, relying on the jar version in stead.
Ted C 2012/09/19 21:18:49 huh? what does this mean? Should this be a TODO
David Trainor- moved to gerrit 2012/09/20 02:28:17 Sorry, remnants of my fight with gyp and ant. On
67 '<(PRODUCT_DIR)/lib.java/chromium_net.jar', 72 '<!@(find android/testshell/java/src -name "*.java")',
68 '<(PRODUCT_DIR)/lib.java/chromium_media.jar', 73 '>@(input_jars_paths)',
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' 74 '<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi)/libchromi umtestshell.so'
73 ], 75 ],
74 'outputs': [ 76 'outputs': [
75 '<(PRODUCT_DIR)/chromium_testshell/ChromiumTestShell-debug.apk', 77 '<(PRODUCT_DIR)/chromium_testshell/ChromiumTestShell-debug.apk',
76 ], 78 ],
77 'action': [ 79 'action': [
78 'ant', 80 'ant',
79 '-DPRODUCT_DIR=<(ant_build_out)', 81 '-DPRODUCT_DIR=<(ant_build_out)',
80 '-DAPP_ABI=<(android_app_abi)', 82 '-DAPP_ABI=<(android_app_abi)',
81 '-DANDROID_SDK=<(android_sdk)', 83 '-DANDROID_SDK=<(android_sdk)',
82 '-DANDROID_SDK_ROOT=<(android_sdk_root)', 84 '-DANDROID_SDK_ROOT=<(android_sdk_root)',
83 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)', 85 '-DANDROID_SDK_TOOLS=<(android_sdk_tools)',
84 '-DANDROID_SDK_VERSION=<(android_sdk_version)', 86 '-DANDROID_SDK_VERSION=<(android_sdk_version)',
85 '-DANDROID_GDBSERVER=<(android_gdbserver)', 87 '-DANDROID_GDBSERVER=<(android_gdbserver)',
86 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)', 88 '-DCONFIGURATION_NAME=<(CONFIGURATION_NAME)',
89 '-DINPUT_JARS_PATHS=>(input_jars_paths)',
87 '-buildfile', 90 '-buildfile',
88 '<(DEPTH)/chrome/android/testshell/java/chromium_testshell_apk.xml', 91 '<(DEPTH)/chrome/android/testshell/java/chromium_testshell_apk.xml',
89 ], 92 ],
90 }, 93 },
91 ], 94 ],
92 }, 95 },
93 { 96 {
94 'target_name': 'chrome_android_core', 97 'target_name': 'chrome_android_core',
95 'type': 'static_library', 98 'type': 'static_library',
96 'dependencies': [ 99 'dependencies': [
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 'copies': [ 134 'copies': [
132 { 135 {
133 'destination': '<(chrome_android_pak_output_folder)', 136 'destination': '<(chrome_android_pak_output_folder)',
134 'files': [ '<@(chrome_android_pak_input_resources)' ], 137 'files': [ '<@(chrome_android_pak_input_resources)' ],
135 } 138 }
136 ], 139 ],
137 }, 140 },
138 ], 141 ],
139 } 142 }
140 143
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698