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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 strippe d | |
jln (very slow on Chromium)
2014/10/22 19:10:26
Nit: line wrap
ripp
2014/10/23 06:17:51
Done.
| |
321 # and put alongside forwarder to simplify pushing to the device. | |
cjhopman
2014/10/22 19:21:49
s/forwarder/sandbox_linux_unittests (or some such)
ripp
2014/10/23 06:17:51
Done.
| |
322 'variables': { | |
323 'output_dir': '<(PRODUCT_DIR)/sandbox_linux_unittests_deps/', | |
324 'native_binary': '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped', | |
325 'include_main_binary': 0, | |
326 }, | |
327 'includes': [ | |
328 '../../build/android/native_app_dependencies.gypi' | |
329 ], | |
330 }], | |
315 }], | 331 }], |
316 [ 'OS=="android"', { | 332 [ 'OS=="android"', { |
317 'targets': [ | 333 'targets': [ |
318 { | 334 { |
319 'target_name': 'sandbox_linux_jni_unittests_apk', | 335 'target_name': 'sandbox_linux_jni_unittests_apk', |
320 'type': 'none', | 336 'type': 'none', |
321 'variables': { | 337 'variables': { |
322 'test_suite_name': 'sandbox_linux_jni_unittests', | 338 'test_suite_name': 'sandbox_linux_jni_unittests', |
323 }, | 339 }, |
324 'dependencies': [ | 340 'dependencies': [ |
(...skipping 15 matching lines...) Expand all Loading... | |
340 '../../build/isolate.gypi', | 356 '../../build/isolate.gypi', |
341 ], | 357 ], |
342 'sources': [ | 358 'sources': [ |
343 '../sandbox_linux_unittests.isolate', | 359 '../sandbox_linux_unittests.isolate', |
344 ], | 360 ], |
345 }, | 361 }, |
346 ], | 362 ], |
347 }], | 363 }], |
348 ], | 364 ], |
349 } | 365 } |
OLD | NEW |