OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 'dependencies': [ | 137 'dependencies': [ |
138 '<(DEPTH)/base/base.gyp:base_java', | 138 '<(DEPTH)/base/base.gyp:base_java', |
139 '<(DEPTH)/net/net.gyp:net_java', | 139 '<(DEPTH)/net/net.gyp:net_java', |
140 'blink_heap_unittests', | 140 'blink_heap_unittests', |
141 ], | 141 ], |
142 'conditions': [ | 142 'conditions': [ |
143 ['v8_use_external_startup_data==1', { | 143 ['v8_use_external_startup_data==1', { |
144 'dependencies': [ | 144 'dependencies': [ |
145 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_external_snapshot', | 145 '<(DEPTH)/v8/tools/gyp/v8.gyp:v8_external_snapshot', |
146 ], | 146 ], |
147 'copies': [ | 147 'variables': { |
148 { | 148 'dest_path': '<(asset_location)', |
149 'destination': '<(asset_location)', | 149 'renaming_sources': [ |
150 'files': [ | 150 '<(PRODUCT_DIR)/natives_blob.bin', |
151 '<(PRODUCT_DIR)/natives_blob.bin', | 151 '<(PRODUCT_DIR)/snapshot_blob.bin', |
152 '<(PRODUCT_DIR)/snapshot_blob.bin', | 152 ], |
153 ], | 153 'renaming_destinations': [ |
154 }, | 154 'natives_blob_<(arch_suffix).bin', |
155 ], | 155 'snapshot_blob_<(arch_suffix).bin', |
| 156 ], |
| 157 'clear': 1, |
| 158 }, |
| 159 'includes': ['../../../../build/android/copy_ex.gypi'], |
156 }], | 160 }], |
157 ], | 161 ], |
158 'variables': { | 162 'variables': { |
159 'test_suite_name': 'blink_heap_unittests', | 163 'test_suite_name': 'blink_heap_unittests', |
160 'conditions': [ | 164 'conditions': [ |
161 ['v8_use_external_startup_data==1', { | 165 ['v8_use_external_startup_data==1', { |
162 'asset_location': '<(PRODUCT_DIR)/blink_heap_unittests_apk/assets'
, | 166 'asset_location': '<(PRODUCT_DIR)/blink_heap_unittests_apk/assets'
, |
163 'additional_input_paths': [ | 167 'additional_input_paths': [ |
164 '<(PRODUCT_DIR)/blink_heap_unittests_apk/assets/natives_blob.bin
', | 168 '<(PRODUCT_DIR)/blink_heap_unittests_apk/assets/natives_blob_<(a
rch_suffix).bin', |
165 '<(PRODUCT_DIR)/blink_heap_unittests_apk/assets/snapshot_blob.bi
n', | 169 '<(PRODUCT_DIR)/blink_heap_unittests_apk/assets/snapshot_blob_<(
arch_suffix).bin', |
166 ], | 170 ], |
167 }], | 171 }], |
168 ], | 172 ], |
169 }, | 173 }, |
170 'includes': [ '../../../../build/apk_test.gypi' ], | 174 'includes': [ |
| 175 '../../../../build/apk_test.gypi', |
| 176 '../../../../build/android/v8_external_startup_data_arch_suffix.gypi', |
| 177 ], |
171 }, | 178 }, |
172 { | 179 { |
173 'target_name': 'blink_platform_unittests_apk', | 180 'target_name': 'blink_platform_unittests_apk', |
174 'type': 'none', | 181 'type': 'none', |
175 'dependencies': [ | 182 'dependencies': [ |
176 '<(DEPTH)/base/base.gyp:base_java', | 183 '<(DEPTH)/base/base.gyp:base_java', |
177 '<(DEPTH)/net/net.gyp:net_java', | 184 '<(DEPTH)/net/net.gyp:net_java', |
178 'blink_platform_unittests', | 185 'blink_platform_unittests', |
179 ], | 186 ], |
180 'variables': { | 187 'variables': { |
(...skipping 27 matching lines...) Expand all Loading... |
208 '../../../../build/isolate.gypi', | 215 '../../../../build/isolate.gypi', |
209 ], | 216 ], |
210 'sources': [ | 217 'sources': [ |
211 'blink_platform_unittests.isolate', | 218 'blink_platform_unittests.isolate', |
212 ], | 219 ], |
213 } | 220 } |
214 ], | 221 ], |
215 }], | 222 }], |
216 ], | 223 ], |
217 } | 224 } |
OLD | NEW |