| 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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |