1 # Copyright (c) 2011 Google Inc. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 { 5 'targets': [ 6 { 7 'target_name': 'test_framework_headers_framework', 8 'product_name': 'TestFramework', 9 'type': 'shared_library', 10 'mac_bundle': 1, 11 'sources': [ 12 'myframework.h', 13 'myframework.m', 14 ], 15 'mac_framework_headers': [ 16 'myframework.h', 17 ], 18 'link_settings': { 19 'libraries': [ 20 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 21 ], 22 }, 23 },{ 24 'target_name': 'test_framework_headers_static', 25 'product_name': 'TestLibrary', 26 'type': 'static_library', 27 'xcode_settings': { 28 'PUBLIC_HEADERS_FOLDER_PATH': 'include', 29 }, 30 'sources': [ 31 'myframework.h', 32 'myframework.m', 33 ], 34 'mac_framework_headers': [ 35 'myframework.h', 36 ], 37 'link_settings': { 38 'libraries': [ 39 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', 40 ], 41 }, 42 }, 43 ], 44 } 45