Skip to content

Commit 2147e49

Browse files
richardlauaduh95
authored andcommitted
build: tidy up cares.gyp
Add comment noting that `cares_sources_common` is generated by tooling. Remove duplicated entries. PR-URL: #55445 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 2beae50 commit 2147e49

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

deps/cares/cares.gyp

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
'variables': {
3+
# This list is generated by `tools/dep_updaters/update-c-ares.mjs`.
34
'cares_sources_common': [
45
'include/ares.h',
56
'include/ares_build.h',
@@ -135,13 +136,6 @@
135136
],
136137
'cares_sources_mac': [
137138
'config/darwin/ares_config.h',
138-
'src/lib/ares_sysconfig_mac.c',
139-
'src/lib/thirdparty/apple/dnsinfo.h',
140-
],
141-
'cares_sources_win': [
142-
'src/lib/ares_sysconfig_win.c',
143-
'src/lib/config-win32.h',
144-
'src/lib/windows_port.c',
145139
],
146140
},
147141

@@ -203,9 +197,6 @@
203197
'_WINSOCK_DEPRECATED_NO_WARNINGS',
204198
],
205199
'include_dirs': [ 'config/win32' ],
206-
'sources': [
207-
'<@(cares_sources_win)',
208-
],
209200
'libraries': [
210201
'-lws2_32.lib',
211202
'-liphlpapi.lib'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy