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