Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: sandbox/linux/sandbox_linux.gypi

Issue 278443003: Android: cleanup gtest_target_type conditions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/net.gyp ('k') | sql/sql.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | sql/sql.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698