naiveproxy/tools/gyp/test/mac/copy-dylib/test.gyp

32 lines
714 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# Copyright (c) 2012 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
'target_name': 'my_dylib',
'type': 'shared_library',
'sources': [ 'empty.c', ],
},
{
'target_name': 'test_app',
'product_name': 'Test App',
'type': 'executable',
'mac_bundle': 1,
'dependencies': [ 'my_dylib', ],
'sources': [
'empty.c',
],
'copies': [
{
'destination': '<(PRODUCT_DIR)/Test App.app/Contents/Resources',
'files': [
'<(PRODUCT_DIR)/libmy_dylib.dylib',
],
},
],
},
],
}