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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 }, | 98 }, |
99 { | 99 { |
100 # This target is the shared library used by Android APK (i.e. | 100 # This target is the shared library used by Android APK (i.e. |
101 # JNI-friendly) tests. | 101 # JNI-friendly) tests. |
102 'target_name': 'sandbox_linux_jni_unittests', | 102 'target_name': 'sandbox_linux_jni_unittests', |
103 'includes': [ | 103 'includes': [ |
104 'sandbox_linux_test_sources.gypi', | 104 'sandbox_linux_test_sources.gypi', |
105 ], | 105 ], |
106 'type': 'shared_library', | 106 'type': 'shared_library', |
107 'conditions': [ | 107 'conditions': [ |
108 [ 'OS == "android" and gtest_target_type == "shared_library"', { | 108 [ 'OS == "android"', { |
109 'dependencies': [ | 109 'dependencies': [ |
110 '../testing/android/native_test.gyp:native_test_native_code', | 110 '../testing/android/native_test.gyp:native_test_native_code', |
111 ], | 111 ], |
112 }], | 112 }], |
113 ], | 113 ], |
114 }, | 114 }, |
115 { | 115 { |
116 'target_name': 'seccomp_bpf', | 116 'target_name': 'seccomp_bpf', |
117 'type': '<(component)', | 117 'type': '<(component)', |
118 'sources': [ | 118 'sources': [ |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 'dependencies': [ 'sandbox_linux_unittests' ], | 312 'dependencies': [ 'sandbox_linux_unittests' ], |
313 'actions': [{ | 313 'actions': [{ |
314 'action_name': 'strip sandbox_linux_unittests', | 314 'action_name': 'strip sandbox_linux_unittests', |
315 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ], | 315 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ], |
316 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ], | 316 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ], |
317 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], | 317 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], |
318 }], | 318 }], |
319 } | 319 } |
320 ], | 320 ], |
321 }], | 321 }], |
322 # Strategy copied from base_unittests_apk in base/base.gyp. | 322 [ 'OS=="android"', { |
323 [ 'OS=="android" and gtest_target_type == "shared_library"', { | |
324 'targets': [ | 323 'targets': [ |
325 { | 324 { |
326 'target_name': 'sandbox_linux_jni_unittests_apk', | 325 'target_name': 'sandbox_linux_jni_unittests_apk', |
327 'type': 'none', | 326 'type': 'none', |
328 'variables': { | 327 'variables': { |
329 'test_suite_name': 'sandbox_linux_jni_unittests', | 328 'test_suite_name': 'sandbox_linux_jni_unittests', |
330 }, | 329 }, |
331 'dependencies': [ | 330 'dependencies': [ |
332 'sandbox_linux_jni_unittests', | 331 'sandbox_linux_jni_unittests', |
333 ], | 332 ], |
334 'includes': [ '../../build/apk_test.gypi' ], | 333 'includes': [ '../../build/apk_test.gypi' ], |
335 } | 334 } |
336 ], | 335 ], |
337 }], | 336 }], |
338 ], | 337 ], |
339 } | 338 } |
OLD | NEW |