| OLD | NEW |
| (Empty) | |
| 1 # Copyright (c) 2012 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 'targets': [ |
| 6 { |
| 7 # Target for creating common output build directories. Creating output |
| 8 # dirs beforehand ensures that build scripts can assume these folders to |
| 9 # exist and there are no race conditions resulting from build scripts |
| 10 # trying to create these directories. |
| 11 # The build/java.gypi target depends on this target. |
| 12 'target_name': 'build_output_dirs', |
| 13 'type': 'none', |
| 14 'actions': [ |
| 15 { |
| 16 'action_name': 'create_java_output_dirs', |
| 17 'variables' : { |
| 18 'output_dirs' : [ |
| 19 '<(PRODUCT_DIR)/apks', |
| 20 '<(PRODUCT_DIR)/lib.java', |
| 21 '<(PRODUCT_DIR)/test.lib.java', |
| 22 ] |
| 23 }, |
| 24 'inputs' : [], |
| 25 'outputs': [ |
| 26 '<@(output_dirs)' |
| 27 ], |
| 28 'action': [ |
| 29 'mkdir', |
| 30 '-p', |
| 31 '<@(output_dirs)', |
| 32 ], |
| 33 }, |
| 34 ], |
| 35 }, # build_output_dirs |
| 36 ], # targets |
| 37 } |
| OLD | NEW |