1 # Copyright 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.
5 # This file is meant to be included into a target to provide a rule to
6 # copy a prebuilt JAR for use on a host to the output directory.
8 # To use this, create a gyp target with the following form:
10 # 'target_name': 'my_prebuilt_jar',
13 # 'jar_path': 'path/to/prebuilt.jar',
15 # 'includes': [ 'path/to/this/gypi/file' ],
19 # jar_path - The path to the prebuilt jar.
25 'dest_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).jar',
26 'src_path': '<(jar_path)',
28 'all_dependent_settings': {
37 'action_name': 'copy_prebuilt_jar',
38 'message': 'Copy <(src_path) to <(dest_path)',
46 'python', '<(DEPTH)/build/cp.py', '<(src_path)', '<(dest_path)',