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

Side by Side Diff: ipc/ipc.gyp

Issue 10387086: Run APK tests on the android_test trybot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated SDK on bots. Ready for review. Created 8 years, 7 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'sources/': [ 10 'sources/': [
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 'type': 'none', 103 'type': 'none',
104 'dependencies': [ 104 'dependencies': [
105 'ipc_tests', 105 'ipc_tests',
106 ], 106 ],
107 'actions': [ 107 'actions': [
108 { 108 {
109 # Generate apk files (including source and antfile) from 109 # Generate apk files (including source and antfile) from
110 # a template, and builds them. 110 # a template, and builds them.
111 'action_name': 'generate_and_build', 111 'action_name': 'generate_and_build',
112 'inputs': [ 112 'inputs': [
113 '../testing/android/AndroidManifest.xml',
113 '../testing/android/generate_native_test.py', 114 '../testing/android/generate_native_test.py',
114 '<(PRODUCT_DIR)/lib.target/libipc_tests.so', 115 '<(PRODUCT_DIR)/lib.target/libipc_tests.so',
115 '<(PRODUCT_DIR)/lib.java/chromium_base.jar' 116 '<(PRODUCT_DIR)/lib.java/chromium_base.jar'
116 ], 117 ],
117 'outputs': [ 118 'outputs': [
118 '<(PRODUCT_DIR)/ChromeNativeTests_ipc_tests-debug.apk', 119 '<(PRODUCT_DIR)/ipc_tests_apk/ipc_tests-debug.apk',
119 ], 120 ],
120 'action': [ 121 'action': [
121 '../testing/android/generate_native_test.py', 122 '../testing/android/generate_native_test.py',
122 '--native_library', 123 '--native_library',
123 '<(PRODUCT_DIR)/lib.target/libipc_tests.so', 124 '<(PRODUCT_DIR)/lib.target/libipc_tests.so',
124 # TODO(jrg): find a better way to specify jar 125 # TODO(jrg): find a better way to specify jar
125 # dependencies. Hard coding seems fragile. 126 # dependencies. Hard coding seems fragile.
126 '--jar', 127 '--jar',
127 '<(PRODUCT_DIR)/lib.java/chromium_base.jar', 128 '<(PRODUCT_DIR)/lib.java/chromium_base.jar',
128 '--output', 129 '--output',
129 '<(PRODUCT_DIR)/ipc_tests_apk', 130 '<(PRODUCT_DIR)/ipc_tests_apk',
130 '--ant-args', 131 '--ant-args',
131 '-DPRODUCT_DIR=<(PRODUCT_DIR)', 132 '-DPRODUCT_DIR=<(PRODUCT_DIR)',
132 '--ant-compile' 133 '--ant-compile'
133 ], 134 ],
134 }, 135 },
135 ], 136 ],
136 }], 137 }],
137 }], 138 }],
138 ], 139 ],
139 } 140 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698