OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 is all.gyp file for Android to prevent breakage in Android and other | 5 # This is all.gyp file for Android to prevent breakage in Android and other |
6 # platform; It will be churning a lot in the short term and eventually be merged | 6 # platform; It will be churning a lot in the short term and eventually be merged |
7 # into all.gyp. | 7 # into all.gyp. |
8 | 8 |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 }, | 108 }, |
109 { | 109 { |
110 # In-progress targets that are expected to fail and are NOT run | 110 # In-progress targets that are expected to fail and are NOT run |
111 # on any bot. | 111 # on any bot. |
112 'target_name': 'android_in_progress', | 112 'target_name': 'android_in_progress', |
113 'type': 'none', | 113 'type': 'none', |
114 'dependencies': [ | 114 'dependencies': [ |
115 '../content/content.gyp:content_browsertests', | 115 '../content/content.gyp:content_browsertests', |
116 ], | 116 ], |
117 }, | 117 }, |
| 118 { |
| 119 # Target for creating common output build directories. Creating output |
| 120 # dirs beforehand ensures that build scripts can assume these folders to |
| 121 # exist and there are no race conditions resulting from build scripts |
| 122 # trying to create these directories. |
| 123 # The build/java.gypi target depends on this target. |
| 124 'target_name': 'build_output_dirs', |
| 125 'type': 'none', |
| 126 'actions': [ |
| 127 { |
| 128 'action_name': 'create_java_output_dirs', |
| 129 'variables' : { |
| 130 'output_dirs' : [ |
| 131 '<(PRODUCT_DIR)/apks', |
| 132 '<(PRODUCT_DIR)/lib.java', |
| 133 '<(PRODUCT_DIR)/test.lib.java', |
| 134 ] |
| 135 }, |
| 136 'inputs' : [], |
| 137 'outputs': [ |
| 138 '<@(output_dirs)' |
| 139 ], |
| 140 'action': [ |
| 141 'mkdir', |
| 142 '-p', |
| 143 '<@(output_dirs)', |
| 144 ], |
| 145 }, |
| 146 ], |
| 147 }, # build_output_dirs |
118 ], # targets | 148 ], # targets |
119 } | 149 } |
OLD | NEW |