1 # Copyright (c) 2012 Google Inc. 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 'targets': [ 6 { 7 'target_name': 'action', 8 'type': 'none', 9 'actions': [ 10 { 11 'inputs': [ ], 12 'outputs': [ 13 '<(PRODUCT_DIR)/result', 14 '<(SHARED_INTERMEDIATE_DIR)/tempfile', 15 ], 16 'action_name': 'Test action', 17 'action': ['./action.sh', '<(SHARED_INTERMEDIATE_DIR)/tempfile' ], 18 }, 19 { 20 'inputs': [ 21 '<(SHARED_INTERMEDIATE_DIR)/tempfile', 22 ], 23 'outputs': [ 24 '<(PRODUCT_DIR)/other_result', 25 ], 26 'action_name': 'Other test action', 27 'action': ['cp', '<(SHARED_INTERMEDIATE_DIR)/tempfile', 28 '<(PRODUCT_DIR)/other_result' ], 29 }, 30 ], 31 }, 32 ], 33 } 34 35