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
3 # found in the LICENSE file.
5 # This file is meant to be included into a target to provide a rule
6 # to build uiautomator dexed tests jar.
8 # To use this, create a gyp target with the following form:
10 # 'target_name': 'test_suite_name',
12 # 'includes': ['path/to/this/gypi/file'],
18 '<(DEPTH)/tools/android/android_tools.gyp:android_tools',
21 'output_dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar',
25 'action_name': 'dex_<(_target_name)',
26 'message': 'Dexing <(_target_name) jar',
28 '<(DEPTH)/build/android/gyp/util/build_utils.py',
29 '<(DEPTH)/build/android/gyp/dex.py',
30 '>@(library_dexed_jars_paths)',
36 'python', '<(DEPTH)/build/android/gyp/dex.py',
37 '--dex-path=<(output_dex_path)',
38 '--android-sdk-tools=<(android_sdk_tools)',
40 # TODO(newt): remove this once http://crbug.com/177552 is fixed in ninja.
41 '--ignore=>!(echo \'>(_inputs)\' | md5sum)',
43 '>@(library_dexed_jars_paths)',