OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 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 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'classes', |
| 9 'type': 'static_library', |
| 10 'sources': [ |
| 11 'MyClass.h', |
| 12 'MyClass.m', |
| 13 ], |
| 14 'link_settings': { |
| 15 'libraries': [ |
| 16 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', |
| 17 ], |
| 18 }, |
| 19 }, |
| 20 { |
| 21 'target_name': 'tests', |
| 22 'type': 'loadable_module', |
| 23 'mac_xctest_bundle': 1, |
| 24 'sources': [ |
| 25 'TestCase.m', |
| 26 ], |
| 27 'dependencies': [ |
| 28 'classes', |
| 29 ], |
| 30 'mac_bundle_resources': [ |
| 31 'resource.txt', |
| 32 ], |
| 33 'xcode_settings': { |
| 34 'WRAPPER_EXTENSION': 'xctest', |
| 35 'FRAMEWORK_SEARCH_PATHS': [ |
| 36 '$(inherited)', |
| 37 '$(DEVELOPER_FRAMEWORKS_DIR)', |
| 38 ], |
| 39 'OTHER_LDFLAGS': [ |
| 40 '$(inherited)', |
| 41 '-ObjC', |
| 42 ], |
| 43 }, |
| 44 }, |
| 45 ], |
| 46 } |
| 47 |
OLD | NEW |