File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 3434 'variables' : {
3535 'libffi_arch_sources' : [
3636 'src/aarch64/ffi.c' ,
37- 'src/aarch64/win64_armasm.S' ,
3837 ],
3938 },
4039 }],
170169 },
171170 ],
172171 }],
172+ ['OS == "win" and target_arch == "arm64"' , {
173+ 'actions' : [
174+ {
175+ 'action_name' : 'preprocess_win64_arm_asm' ,
176+ 'process_outputs_as_sources' : 1 ,
177+ 'inputs' : [
178+ 'preprocess_asm.py' ,
179+ 'include/ffi_cfi.h' ,
180+ 'src/aarch64/internal.h' ,
181+ 'src/aarch64/ksarm64.h' ,
182+ 'src/aarch64/win64_armasm.S' ,
183+ '<(INTERMEDIATE_DIR)/ffi.h' ,
184+ '<(INTERMEDIATE_DIR)/fficonfig.h' ,
185+ ],
186+ 'outputs' : [
187+ '<(INTERMEDIATE_DIR)/win64_armasm.asm' ,
188+ ],
189+ 'action' : [
190+ '<(python)' ,
191+ 'preprocess_asm.py' ,
192+ '--input' ,
193+ 'src/aarch64/win64_armasm.S' ,
194+ '--output' ,
195+ '<@(_outputs)' ,
196+ '--include-dir' ,
197+ 'include' ,
198+ '--include-dir' ,
199+ 'src/aarch64' ,
200+ '--define' ,
201+ 'FFI_STATIC_BUILD' ,
202+ ],
203+ },
204+ ],
205+ }],
173206 ],
174207 'direct_dependent_settings' : {
175208 'include_dirs' : [
You can’t perform that action at this time.
0 commit comments