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 'sources': [ 'empty.c' ], |
| 14 'conditions': [ |
| 15 ['OS == "ios" or OS == "mac"', { |
| 16 'copies': [{ |
| 17 'destination': '$(BUILT_PRODUCTS_DIR)', |
| 18 'files': [ |
| 19 'file0', |
| 20 ], |
| 21 }, { |
| 22 'destination': '$(BUILT_PRODUCTS_DIR)/$(WRAPPER_NAME)', |
| 23 'files': [ |
| 24 'file1', |
| 25 ], |
| 26 }, { |
| 27 'destination': '<(PRODUCT_DIR)/$(EXECUTABLE_FOLDER_PATH)', |
| 28 'files': [ |
| 29 'file2', |
| 30 ], |
| 31 }, { |
| 32 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)', |
| 33 'files': [ |
| 34 'file3', |
| 35 ], |
| 36 }, { |
| 37 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/te
stimages', |
| 38 'files': [ |
| 39 'file4', |
| 40 ], |
| 41 }, { |
| 42 'destination': '$(BUILT_PRODUCTS_DIR)/$(JAVA_FOLDER_PATH)', |
| 43 'files': [ |
| 44 'file5', |
| 45 ], |
| 46 }, { |
| 47 'destination': '<(PRODUCT_DIR)/$(FRAMEWORKS_FOLDER_PATH)', |
| 48 'files': [ |
| 49 'file6', |
| 50 ], |
| 51 }, { |
| 52 # NOTE: This is not an Xcode macro name but |
| 53 # xcodeproj_file.py recognizes it and sends |
| 54 # the output to the same place as |
| 55 # $(FRAMEWORKS_FOLDER_PATH). xcode_emulation.py |
| 56 # sets its value to an absolute path. |
| 57 'destination': '$(BUILT_FRAMEWORKS_DIR)', |
| 58 'files': [ |
| 59 'file7', |
| 60 ], |
| 61 }, { |
| 62 'destination': '<(PRODUCT_DIR)/$(SHARED_FRAMEWORKS_FOLDER_PATH)', |
| 63 'files': [ |
| 64 'file8', |
| 65 ], |
| 66 }, { |
| 67 'destination': '<(PRODUCT_DIR)/$(SHARED_SUPPORT_FOLDER_PATH)', |
| 68 'files': [ |
| 69 'file9', |
| 70 ], |
| 71 }, { |
| 72 'destination': '<(PRODUCT_DIR)/$(PLUGINS_FOLDER_PATH)', |
| 73 'files': [ |
| 74 'file10', |
| 75 ], |
| 76 }, { |
| 77 'destination': '<(PRODUCT_DIR)/$(XPCSERVICES_FOLDER_PATH)', |
| 78 'files': [ |
| 79 'file11', |
| 80 ], |
| 81 }], # copies |
| 82 }], # OS == "ios" or OS == "mac" |
| 83 ], # conditions |
| 84 }], # targets |
| 85 } |
| 86 |
| 87 # vim:ai:ts=4:sts=4:sw=2:expandtab:textwidth=70 |
OLD | NEW |