OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2016 Mark Callow. 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 # For testing use of the UI settings & environment variables |
| 6 # available in Xcode's PBXCopyFilesBuildPhase. |
| 7 { |
| 8 'targets': [ |
| 9 { |
| 10 'target_name': 'copies-with-xcode-envvars', |
| 11 'type': 'executable', |
| 12 'mac_bundle': 1, |
| 13 'xcode_settings': { |
| 14 'SDKROOT': 'iphoneos', |
| 15 'TARGETED_DEVICE_FAMILY': '1,2', |
| 16 'IPHONEOS_DEPLOYMENT_TARGET': '7.0', |
| 17 'CODE_SIGNING_REQUIRED': 'NO', |
| 18 'INFOPLIST_FILE': 'Info.plist', |
| 19 # This is where the test framework looks for results. Without |
| 20 # this line the result will be in build/Default-iphoneos. |
| 21 'CONFIGURATION_BUILD_DIR':'build/Default', |
| 22 }, |
| 23 'sources': [ 'empty.c' ], |
| 24 'conditions': [ |
| 25 ['OS == "ios" or OS == "mac"', { |
| 26 'copies': [{ |
| 27 'destination': '$(BUILT_PRODUCTS_DIR)', |
| 28 'files': [ |
| 29 'file0', |
| 30 ], |
| 31 }, { |
| 32 'destination': '$(BUILT_PRODUCTS_DIR)/$(WRAPPER_NAME)', |
| 33 'files': [ |
| 34 'file1', |
| 35 ], |
| 36 }, { |
| 37 'destination': '<(PRODUCT_DIR)/$(EXECUTABLE_FOLDER_PATH)', |
| 38 'files': [ |
| 39 'file2', |
| 40 ], |
| 41 }, { |
| 42 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)', |
| 43 'files': [ |
| 44 'file3', |
| 45 ], |
| 46 }, { |
| 47 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/te
stimages', |
| 48 'files': [ |
| 49 'file4', |
| 50 ], |
| 51 }, { |
| 52 'destination': '$(BUILT_PRODUCTS_DIR)/$(JAVA_FOLDER_PATH)', |
| 53 'files': [ |
| 54 'file5', |
| 55 ], |
| 56 }, { |
| 57 'destination': '<(PRODUCT_DIR)/$(FRAMEWORKS_FOLDER_PATH)', |
| 58 'files': [ |
| 59 'file6', |
| 60 ], |
| 61 }, { |
| 62 # NOTE: This is not an Xcode macro name but |
| 63 # xcodeproj_file.py recognizes it and sends |
| 64 # the output to the same place as |
| 65 # $(FRAMEWORKS_FOLDER_PATH). xcode_emulation.py |
| 66 # sets its value to an absolute path. |
| 67 'destination': '$(BUILT_FRAMEWORKS_DIR)', |
| 68 'files': [ |
| 69 'file7', |
| 70 ], |
| 71 }, { |
| 72 'destination': '<(PRODUCT_DIR)/$(SHARED_FRAMEWORKS_FOLDER_PATH)', |
| 73 'files': [ |
| 74 'file8', |
| 75 ], |
| 76 }, { |
| 77 'destination': '<(PRODUCT_DIR)/$(SHARED_SUPPORT_FOLDER_PATH)', |
| 78 'files': [ |
| 79 'file9', |
| 80 ], |
| 81 }, { |
| 82 'destination': '<(PRODUCT_DIR)/$(PLUGINS_FOLDER_PATH)', |
| 83 'files': [ |
| 84 'file10', |
| 85 ], |
| 86 }, { |
| 87 'destination': '<(PRODUCT_DIR)/$(XPCSERVICES_FOLDER_PATH)', |
| 88 'files': [ |
| 89 'file11', |
| 90 ], |
| 91 }], # copies |
| 92 }], # OS == "ios" or OS == "mac" |
| 93 ], # conditions |
| 94 }], # targets |
| 95 } |
| 96 |
| 97 # vim:ai:ts=4:sts=4:sw=2:expandtab:textwidth=70 |
OLD | NEW |