[util] Generate separate GN source sets for headers and sources
This separates the source lists for the crypto and ssl targets from their headers, so the header files can be listed in the 'public' section of the targets. This allows tighter GN checking and expresses the build structure more cleanly. Change-Id: Ifb20c90977d7e858734654d9a03949be19a9c43a Reviewed-on: https://boringssl-review.googlesource.com/27344 Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
5b2a51de6c
commit
98dd68fb97
@ -294,11 +294,13 @@ class GN(object):
|
||||
out.write(self.header)
|
||||
|
||||
self.PrintVariableSection(out, 'crypto_sources',
|
||||
files['crypto'] + files['crypto_headers'] +
|
||||
files['crypto'] +
|
||||
files['crypto_internal_headers'])
|
||||
self.PrintVariableSection(out, 'crypto_headers',
|
||||
files['crypto_headers'])
|
||||
self.PrintVariableSection(out, 'ssl_sources',
|
||||
files['ssl'] + files['ssl_headers'] +
|
||||
files['ssl_internal_headers'])
|
||||
files['ssl'] + files['ssl_internal_headers'])
|
||||
self.PrintVariableSection(out, 'ssl_headers', files['ssl_headers'])
|
||||
|
||||
for ((osname, arch), asm_files) in asm_outputs:
|
||||
self.PrintVariableSection(
|
||||
|
Loading…
Reference in New Issue
Block a user