OLD | NEW |
1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 { | 9 { |
10 'variables': { | 10 'variables': { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 ], | 174 ], |
175 'dependencies': [ | 175 'dependencies': [ |
176 'libyuv.gyp:libyuv', | 176 'libyuv.gyp:libyuv', |
177 ], | 177 ], |
178 }, | 178 }, |
179 ], # targets | 179 ], # targets |
180 'conditions': [ | 180 'conditions': [ |
181 ['OS=="android"', { | 181 ['OS=="android"', { |
182 'targets': [ | 182 'targets': [ |
183 { | 183 { |
184 # TODO(kjellander): Figure out what to change in build/apk_test.gypi | 184 'target_name': 'yuv_unittest_apk', |
185 # to it can be used instead of the copied code below. Using it in its | |
186 # current version was not possible, since the target starts with 'lib'
, | |
187 # which somewhere confuses the variables. | |
188 'target_name': 'libyuv_unittest_apk', | |
189 'type': 'none', | 185 'type': 'none', |
190 'variables': { | 186 'variables': { |
191 # These are used to configure java_apk.gypi included below. | 187 'test_suite_name': 'yuv_unittest', |
192 'test_type': 'gtest', | 188 'input_shlib_path': '<(SHARED_LIB_DIR)/(SHARED_LIB_PREFIX)libyuv_uni
ttest<(SHARED_LIB_SUFFIX)', |
193 'apk_name': 'libyuv_unittest', | |
194 'test_suite_name': 'libyuv_unittest', | |
195 'intermediate_dir': '<(PRODUCT_DIR)/libyuv_unittest_apk', | |
196 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)libyuv_un
ittest<(SHARED_LIB_SUFFIX)', | |
197 'final_apk_path': '<(intermediate_dir)/libyuv_unittest-debug.apk', | |
198 'java_in_dir': '<(DEPTH)/testing/android/native_test/java', | |
199 'test_runner_path': '<(DEPTH)/util/android/test_runner.py', | |
200 'native_lib_target': 'libyuv_unittest', | |
201 'gyp_managed_install': 0, | |
202 }, | 189 }, |
203 'includes': [ | 190 'includes': [ |
204 'build/android/test_runner.gypi', | 191 'build/apk_test.gypi', |
205 'build/java_apk.gypi', | 192 ], |
206 ], | |
207 'dependencies': [ | 193 'dependencies': [ |
208 '<(DEPTH)/base/base.gyp:base_java', | |
209 # TODO(kjellander): Figure out why base_build_config_gen is needed | |
210 # here. It really shouldn't since it's a dependency of base_java | |
211 # above, but there's always 0 tests run if it's missing. | |
212 '<(DEPTH)/base/base.gyp:base_build_config_gen', | |
213 '<(DEPTH)/build/android/pylib/device/commands/commands.gyp:chromium_
commands', | |
214 '<(DEPTH)/build/android/pylib/remote/device/dummy/dummy.gyp:remote_d
evice_dummy_apk', | |
215 '<(DEPTH)/testing/android/appurify_support.gyp:appurify_support_java
', | |
216 '<(DEPTH)/testing/android/on_device_instrumentation.gyp:reporter_jav
a', | |
217 '<(DEPTH)/tools/android/android_tools.gyp:android_tools', | |
218 'libyuv_unittest', | 194 'libyuv_unittest', |
219 ], | 195 ], |
220 }, | 196 }, |
221 ], | 197 ], |
222 }], | 198 }], |
223 ], | 199 ], |
224 } | 200 } |
225 | 201 |
226 # Local Variables: | 202 # Local Variables: |
227 # tab-width:2 | 203 # tab-width:2 |
228 # indent-tabs-mode:nil | 204 # indent-tabs-mode:nil |
229 # End: | 205 # End: |
230 # vim: set expandtab tabstop=2 shiftwidth=2: | 206 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |