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

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

Issue 1854233002: Reland 2 of GN: Make breakpad_unittests & sandbox_linux_unittests use test() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test-minor-renames
Patch Set: Fix PIE errors, fix component mode. Created 4 years, 8 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
« no previous file with comments | « sandbox/linux/BUILD.gn ('k') | testing/test.gni » ('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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 ], 369 ],
370 'message': 'Generating header from golden files ...', 370 'message': 'Generating header from golden files ...',
371 }, 371 },
372 ], 372 ],
373 }, 373 },
374 ], 374 ],
375 'conditions': [ 375 'conditions': [
376 [ 'OS=="android"', { 376 [ 'OS=="android"', {
377 'targets': [ 377 'targets': [
378 { 378 {
379 'target_name': 'sandbox_linux_unittests_stripped',
380 'type': 'none',
381 'dependencies': [ 'sandbox_linux_unittests' ],
382 'actions': [{
383 'action_name': 'strip sandbox_linux_unittests',
384 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ],
385 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ],
386 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
387 }],
388 },
389 {
390 'target_name': 'sandbox_linux_unittests_deps', 379 'target_name': 'sandbox_linux_unittests_deps',
391 'type': 'none', 380 'type': 'none',
392 'dependencies': [ 381 'dependencies': [
393 'sandbox_linux_unittests_stripped', 382 'sandbox_linux_unittests',
394 ], 383 ],
395 # For the component build, ensure dependent shared libraries are
396 # stripped and put alongside sandbox_linux_unittests to simplify pushing
397 # to the device.
398 'variables': { 384 'variables': {
399 'output_dir': '<(PRODUCT_DIR)/sandbox_linux_unittests_deps/', 385 'output_dir': '<(PRODUCT_DIR)/sandbox_linux_unittests__dist/',
400 'native_binary': '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped', 386 'native_binary': '<(PRODUCT_DIR)/sandbox_linux_unittests',
401 'include_main_binary': 0, 387 'include_main_binary': 1,
402 }, 388 },
403 'includes': [ 389 'includes': [
404 '../../build/android/native_app_dependencies.gypi' 390 '../../build/android/native_app_dependencies.gypi'
405 ], 391 ],
406 }], 392 }],
407 }], 393 }],
408 [ 'OS=="android"', { 394 [ 'OS=="android"', {
409 'conditions': [ 395 'conditions': [
410 ['test_isolation_mode != "noop"', { 396 ['test_isolation_mode != "noop"', {
411 'targets': [ 397 'targets': [
(...skipping 27 matching lines...) Expand all
439 '../../build/isolate.gypi', 425 '../../build/isolate.gypi',
440 ], 426 ],
441 'sources': [ 427 'sources': [
442 '../sandbox_linux_unittests.isolate', 428 '../sandbox_linux_unittests.isolate',
443 ], 429 ],
444 }, 430 },
445 ], 431 ],
446 }], 432 }],
447 ], 433 ],
448 } 434 }
OLDNEW
« no previous file with comments | « sandbox/linux/BUILD.gn ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698