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

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

Issue 655543005: Added support of shared_library build for tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments formatting in GYPs Created 6 years, 1 month 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
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | no next file » | 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 'sandbox_services', 293 'sandbox_services',
294 ], 294 ],
295 'include_dirs': [ 295 'include_dirs': [
296 '..', 296 '..',
297 ], 297 ],
298 }, 298 },
299 ], 299 ],
300 'conditions': [ 300 'conditions': [
301 [ 'OS=="android"', { 301 [ 'OS=="android"', {
302 'targets': [ 302 'targets': [
303 { 303 {
304 'target_name': 'sandbox_linux_unittests_stripped', 304 'target_name': 'sandbox_linux_unittests_stripped',
305 'type': 'none', 305 'type': 'none',
306 'dependencies': [ 'sandbox_linux_unittests' ], 306 'dependencies': [ 'sandbox_linux_unittests' ],
307 'actions': [{ 307 'actions': [{
308 'action_name': 'strip sandbox_linux_unittests', 308 'action_name': 'strip sandbox_linux_unittests',
309 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ], 309 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ],
310 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ], 310 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ],
311 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ], 311 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
312 }], 312 }],
313 } 313 },
314 ], 314 {
315 'target_name': 'sandbox_linux_unittests_deps',
316 'type': 'none',
317 'dependencies': [
318 'sandbox_linux_unittests_stripped',
319 ],
320 # For the component build, ensure dependent shared libraries are
321 # stripped and put alongside sandbox_linux_unittests to simplify pushing
322 # to the device.
323 'variables': {
324 'output_dir': '<(PRODUCT_DIR)/sandbox_linux_unittests_deps/',
325 'native_binary': '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped',
326 'include_main_binary': 0,
327 },
328 'includes': [
329 '../../build/android/native_app_dependencies.gypi'
330 ],
331 }],
315 }], 332 }],
316 [ 'OS=="android"', { 333 [ 'OS=="android"', {
317 'targets': [ 334 'targets': [
318 { 335 {
319 'target_name': 'sandbox_linux_jni_unittests_apk', 336 'target_name': 'sandbox_linux_jni_unittests_apk',
320 'type': 'none', 337 'type': 'none',
321 'variables': { 338 'variables': {
322 'test_suite_name': 'sandbox_linux_jni_unittests', 339 'test_suite_name': 'sandbox_linux_jni_unittests',
323 }, 340 },
324 'dependencies': [ 341 'dependencies': [
(...skipping 15 matching lines...) Expand all
340 '../../build/isolate.gypi', 357 '../../build/isolate.gypi',
341 ], 358 ],
342 'sources': [ 359 'sources': [
343 '../sandbox_linux_unittests.isolate', 360 '../sandbox_linux_unittests.isolate',
344 ], 361 ],
345 }, 362 },
346 ], 363 ],
347 }], 364 }],
348 ], 365 ],
349 } 366 }
OLDNEW
« no previous file with comments | « build/android/pylib/gtest/test_package_exe.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698