| OLD | NEW |
| 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)/build/android/pylib/device/commands/commands.gyp:chromium_commands
', |
| 18 '<(DEPTH)/tools/android/android_tools.gyp:android_tools', | 19 '<(DEPTH)/tools/android/android_tools.gyp:android_tools', |
| 19 ], | 20 ], |
| 20 'variables': { | 21 'variables': { |
| 21 'output_dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar', | 22 'output_dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar', |
| 22 }, | 23 }, |
| 23 'actions': [ | 24 'actions': [ |
| 24 { | 25 { |
| 25 'action_name': 'dex_<(_target_name)', | 26 'action_name': 'dex_<(_target_name)', |
| 26 'message': 'Dexing <(_target_name) jar', | 27 'message': 'Dexing <(_target_name) jar', |
| 27 'variables': { | 28 'variables': { |
| 28 'dex_input_paths': [ | 29 'dex_input_paths': [ |
| 29 '>@(library_dexed_jars_paths)', | 30 '>@(library_dexed_jars_paths)', |
| 30 ], | 31 ], |
| 31 'output_path': '<(output_dex_path)', | 32 'output_path': '<(output_dex_path)', |
| 32 }, | 33 }, |
| 33 'includes': [ 'android/dex_action.gypi' ], | 34 'includes': [ 'android/dex_action.gypi' ], |
| 34 }, | 35 }, |
| 35 ], | 36 ], |
| 36 } | 37 } |
| OLD | NEW |