File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
lldb/packages/Python/lldbsuite/test Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -88,17 +88,18 @@ def getExtraMakeArgs(self):
88
88
args ["FRAMEWORK_INCLUDES" ] = "-F{}" .format (private_frameworks )
89
89
90
90
operating_system , env = get_os_and_env ()
91
- if operating_system and operating_system != "macosx" :
92
- builder_dir = os .path .dirname (os .path .abspath (__file__ ))
93
- test_dir = os .path .dirname (builder_dir )
91
+
92
+ builder_dir = os .path .dirname (os .path .abspath (__file__ ))
93
+ test_dir = os .path .dirname (builder_dir )
94
+ if not operating_system :
95
+ entitlements_file = "entitlements-macos.plist"
96
+ else :
94
97
if env == "simulator" :
95
98
entitlements_file = "entitlements-simulator.plist"
96
99
else :
97
100
entitlements_file = "entitlements.plist"
98
- entitlements = os .path .join (test_dir , "make" , entitlements_file )
99
- args ["CODESIGN" ] = "codesign --entitlements {}" .format (entitlements )
100
- else :
101
- args ["CODESIGN" ] = "codesign"
101
+ entitlements = os .path .join (test_dir , "make" , entitlements_file )
102
+ args ["CODESIGN" ] = "codesign --entitlements {}" .format (entitlements )
102
103
103
104
# Return extra args as a formatted string.
104
105
return ["{}={}" .format (key , value ) for key , value in args .items ()]
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version =" 1.0" >
4
+ <dict >
5
+ <key >com.apple.security.get-task-allow </key >
6
+ <true />
7
+ </dict >
8
+ </plist >
You can’t perform that action at this time.
0 commit comments