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

Side by Side Diff: build/uiautomator_test.gypi

Issue 13619009: [Android] Fix reference to dex.py after it was moved in r192265. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | 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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # This file is meant to be included into a target to provide a rule 5 # This file is meant to be included into a target to provide a rule
6 # to build uiautomator dexed tests jar. 6 # to build uiautomator dexed tests jar.
7 # 7 #
8 # To use this, create a gyp target with the following form: 8 # To use this, create a gyp target with the following form:
9 # { 9 # {
10 # 'target_name': 'test_suite_name', 10 # 'target_name': 'test_suite_name',
11 # 'type': 'none', 11 # 'type': 'none',
12 # 'includes': ['path/to/this/gypi/file'], 12 # 'includes': ['path/to/this/gypi/file'],
13 # } 13 # }
14 # 14 #
15 15
16 { 16 {
17 'dependencies': [ 17 'dependencies': [
18 '<(DEPTH)/tools/android/android_tools.gyp:android_tools', 18 '<(DEPTH)/tools/android/android_tools.gyp:android_tools',
19 ], 19 ],
20 'variables': { 20 'variables': {
21 'output_dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar', 21 'output_dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar',
22 }, 22 },
23 'actions': [ 23 'actions': [
24 { 24 {
25 'action_name': 'dex_<(_target_name)', 25 'action_name': 'dex_<(_target_name)',
26 'message': 'Dexing <(_target_name) jar', 26 'message': 'Dexing <(_target_name) jar',
27 'inputs': [ 27 'inputs': [
28 '<(DEPTH)/build/android/pylib/build_utils.py', 28 '<(DEPTH)/build/android/pylib/build_utils.py',
29 '<(DEPTH)/build/android/dex.py', 29 '<(DEPTH)/build/android/gyp/dex.py',
30 '>@(library_dexed_jars_paths)', 30 '>@(library_dexed_jars_paths)',
31 ], 31 ],
32 'outputs': [ 32 'outputs': [
33 '<(output_dex_path)', 33 '<(output_dex_path)',
34 ], 34 ],
35 'action': [ 35 'action': [
36 'python', '<(DEPTH)/build/android/dex.py', 36 'python', '<(DEPTH)/build/android/gyp/dex.py',
37 '--dex-path=<(output_dex_path)', 37 '--dex-path=<(output_dex_path)',
38 '--android-sdk-root=<(android_sdk_root)', 38 '--android-sdk-root=<(android_sdk_root)',
39 39
40 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja . 40 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja .
41 '--ignore=>!(echo \'>(_inputs)\' | md5sum)', 41 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
42 42
43 '>@(library_dexed_jars_paths)', 43 '>@(library_dexed_jars_paths)',
44 ], 44 ],
45 }, 45 },
46 ], 46 ],
47 } 47 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698