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

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

Issue 157743004: android: Require exe unittests to have a foo_unittest_stripped target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: debug more Created 6 years, 10 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 | « 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 'dependencies': [ 244 'dependencies': [
245 '../base/base.gyp:base', 245 '../base/base.gyp:base',
246 'sandbox_services', 246 'sandbox_services',
247 ], 247 ],
248 'include_dirs': [ 248 'include_dirs': [
249 '..', 249 '..',
250 ], 250 ],
251 }, 251 },
252 ], 252 ],
253 'conditions': [ 253 'conditions': [
254 [ 'OS=="android"', {
255 'targets': [
256 {
257 'target_name': 'sandbox_linux_unittests_stripped',
258 'type': 'none',
259 'dependencies': [ 'sandbox_linux_unittests' ],
260 'actions': [{
261 'action_name': 'strip sandbox_linux_unittests',
262 'inputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests' ],
263 'outputs': [ '<(PRODUCT_DIR)/sandbox_linux_unittests_stripped' ],
264 'action': [ '<(android_strip)', '<@(_inputs)', '-o', '<@(_outputs)' ],
265 }],
266 }
267 ],
268 }],
254 # Strategy copied from base_unittests_apk in base/base.gyp. 269 # Strategy copied from base_unittests_apk in base/base.gyp.
255 [ 'OS=="android" and gtest_target_type == "shared_library"', { 270 [ 'OS=="android" and gtest_target_type == "shared_library"', {
256 'targets': [ 271 'targets': [
257 { 272 {
258 'target_name': 'sandbox_linux_jni_unittests_apk', 273 'target_name': 'sandbox_linux_jni_unittests_apk',
259 'type': 'none', 274 'type': 'none',
260 'variables': { 275 'variables': {
261 'test_suite_name': 'sandbox_linux_jni_unittests', 276 'test_suite_name': 'sandbox_linux_jni_unittests',
262 'input_shlib_path': 277 'input_shlib_path':
263 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)' 278 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)'
264 'sandbox_linux_jni_unittests' 279 'sandbox_linux_jni_unittests'
265 '<(SHARED_LIB_SUFFIX)', 280 '<(SHARED_LIB_SUFFIX)',
266 }, 281 },
267 'dependencies': [ 282 'dependencies': [
268 'sandbox_linux_jni_unittests', 283 'sandbox_linux_jni_unittests',
269 ], 284 ],
270 'includes': [ '../../build/apk_test.gypi' ], 285 'includes': [ '../../build/apk_test.gypi' ],
271 } 286 }
272 ], 287 ],
273 }], 288 }],
274 ], 289 ],
275 } 290 }
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