# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'includes': [ 'chrome_android_paks.gypi', # Included for the list of pak resources. ], 'targets': [ { 'target_name': 'libchromiumtestshell', 'type': 'shared_library', 'dependencies': [ 'chrome_android_core', ], 'sources': [ 'android/testshell/chrome_main_delegate_testshell_android.cc', 'android/testshell/chrome_main_delegate_testshell_android.h', 'android/testshell/testshell_entry_point.cc', 'android/testshell/testshell_stubs.cc', ], 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)/android', '../skia/config', ], 'conditions': [ [ 'order_profiling!=0', { 'conditions': [ [ 'OS="android"', { 'dependencies': [ '../tools/cygprofile/cygprofile.gyp:cygprofile', ], }], ], }], ], }, { 'target_name': 'chromium_testshell', 'type': 'none', 'dependencies': [ 'chrome_android_paks', 'libchromiumtestshell', ], 'actions': [ { 'action_name': 'copy_and_strip_so', 'inputs': ['<(SHARED_LIB_DIR)/libchromiumtestshell.so'], 'outputs': ['<(PRODUCT_DIR)/chromium_testshell/libs/<(android_app_abi)/libchromiumtestshell.so'], 'action': [ '<(android_strip)', '--strip-unneeded', '<@(_inputs)', '-o', '<@(_outputs)', ], }, { 'action_name': 'chromium_testshell_generate_apk', 'inputs': [ '<@(chrome_android_pak_output_resources)', '