OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2014 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. |
| 4 |
| 5 { |
| 6 'variables': { |
| 7 'hamcrest_jar_name': 'hamcrest-core-1.3.jar', |
| 8 'junit_lib_directory': '../../third_party/junit/src/lib/', |
| 9 }, |
| 10 'targets': [ |
| 11 { |
| 12 'target_name': 'hamcrest_jar', |
| 13 'type': 'none', |
| 14 'variables': { |
| 15 'src_path': '<(junit_lib_directory)/<(hamcrest_jar_name)', |
| 16 'dest_path': '<(PRODUCT_DIR)/lib.java/<(hamcrest_jar_name)', |
| 17 }, |
| 18 'all_dependent_settings': { |
| 19 'variables': { |
| 20 'input_jars_paths': [ |
| 21 '<(dest_path)', |
| 22 ], |
| 23 }, |
| 24 }, |
| 25 'actions': [ |
| 26 { |
| 27 'action_name': 'copy_hamcrest', |
| 28 'message': 'Copy <(hamcrest_jar_name) to <(PRODUCT_DIR)/lib.java/', |
| 29 'inputs': [ |
| 30 '<(src_path)', |
| 31 ], |
| 32 'outputs': [ |
| 33 '<(dest_path)' |
| 34 ], |
| 35 'action': [ |
| 36 'python', '../../build/cp.py', '<(src_path)', '<(dest_path)', |
| 37 ], |
| 38 }, |
| 39 ], |
| 40 }, |
| 41 { |
| 42 'target_name': 'junit_jar', |
| 43 'type': 'none', |
| 44 'dependencies': [ |
| 45 'hamcrest_jar', |
| 46 ], |
| 47 'variables': { |
| 48 'src_paths': [ '../../third_party/junit/src/src/main/java' ], |
| 49 }, |
| 50 'includes': [ |
| 51 '../../build/host_jar.gypi', |
| 52 ], |
| 53 }, |
| 54 ], |
| 55 } |
| 56 |
OLD | NEW |