Skip to content

Commit afb64b0

Browse files
committed
deps: include cpu_features.h to root sources
1 parent 44e9317 commit afb64b0

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

deps/zlib/zlib.gyp

+1-11
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
'compress.c',
2020
'contrib/optimizations/insert_string.h',
2121
'cpu_features.c',
22+
'cpu_features.h',
2223
'crc32.c',
2324
'crc32.h',
2425
'deflate.c',
@@ -85,8 +86,6 @@
8586
'CRC32_SIMD_SSE42_PCLMUL',
8687
],
8788
'sources': [
88-
'cpu_features.c',
89-
'cpu_features.h',
9089
'crc32_simd.c',
9190
'crc32_simd.h',
9291
'crc_folding.c',
@@ -103,13 +102,6 @@
103102
}]
104103
],
105104
}],
106-
['target_arch in "arm64" and OS=="win"', {
107-
'defines': [
108-
'ARMV8_OS_WINDOWS',
109-
'__ARM_NEON',
110-
],
111-
'sources': ['cpu_features.c'],
112-
}],
113105
['arm_fpu=="neon"', {
114106
'defines': [
115107
'ADLER32_SIMD_NEON',
@@ -119,8 +111,6 @@
119111
['OS!="ios"', {
120112
'defines': [ 'CRC32_ARMV8_CRC32' ],
121113
'sources': [
122-
'cpu_features.c',
123-
'cpu_features.h',
124114
'crc32_simd.c',
125115
'crc32_simd.h',
126116
],

0 commit comments

Comments
 (0)