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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['OS=="linux"', { | 8 ['OS=="linux"', { |
9 'compile_suid_client': 1, | 9 'compile_suid_client': 1, |
10 'compile_credentials': 1, | 10 'compile_credentials': 1, |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 'dependencies': [ | 244 'dependencies': [ |
245 '../base/base.gyp:base', | 245 '../base/base.gyp:base', |
246 'sandbox_services', | 246 'sandbox_services', |
247 ], | 247 ], |
248 'include_dirs': [ | 248 'include_dirs': [ |
249 '..', | 249 '..', |
250 ], | 250 ], |
251 }, | 251 }, |
252 ], | 252 ], |
253 'conditions': [ | 253 'conditions': [ |
| 254 [ 'OS=="android"', { |
| 255 'targets': [ |
| 256 { |
| 257 'target_name': 'sandbox_linux_unittests_stripped', |
| 258 'type': 'none', |
| 259 'dependencies': [ 'sandbox_linux_unittests' ], |
| 260 'actions': [{ |
| 261 'action_name': 'strip sandbox_linux_unittests', |
| 262 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ], |
| 263 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ], |
| 264 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], |
| 265 }], |
| 266 } |
| 267 ], |
| 268 }], |
254 # Strategy copied from base_unittests_apk in base/base.gyp. | 269 # Strategy copied from base_unittests_apk in base/base.gyp. |
255 [ 'OS=="android" and gtest_target_type == "shared_library"', { | 270 [ 'OS=="android" and gtest_target_type == "shared_library"', { |
256 'targets': [ | 271 'targets': [ |
257 { | 272 { |
258 'target_name': 'sandbox_linux_jni_unittests_apk', | 273 'target_name': 'sandbox_linux_jni_unittests_apk', |
259 'type': 'none', | 274 'type': 'none', |
260 'variables': { | 275 'variables': { |
261 'test_suite_name': 'sandbox_linux_jni_unittests', | 276 'test_suite_name': 'sandbox_linux_jni_unittests', |
262 'input_shlib_path': | 277 'input_shlib_path': |
263 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)' | 278 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)' |
264 'sandbox_linux_jni_unittests' | 279 'sandbox_linux_jni_unittests' |
265 '<(SHARED_LIB_SUFFIX)', | 280 '<(SHARED_LIB_SUFFIX)', |
266 }, | 281 }, |
267 'dependencies': [ | 282 'dependencies': [ |
268 'sandbox_linux_jni_unittests', | 283 'sandbox_linux_jni_unittests', |
269 ], | 284 ], |
270 'includes': [ '../../build/apk_test.gypi' ], | 285 'includes': [ '../../build/apk_test.gypi' ], |
271 } | 286 } |
272 ], | 287 ], |
273 }], | 288 }], |
274 ], | 289 ], |
275 } | 290 } |
OLD | NEW |