Description[GN]: Precompiled header support for GCC.
+ Adds `gcc` as an option for `precompiled_header_type`
+ Fixes a bug where build targets had superfluous pch deps.
+ GCH files are compiled using the `-x <header lang>` and used via the `-header` flag. Since the two are mutually exclusive and we didn’t want to add `-header` to every build target line, the global cflags_* vars contain `-include` and each pch build target includes its own copy of the cflags_* values while replacing `-include` with `-x <header lang>`
BUG=297681
Committed: https://crrev.com/1ae777a027b5243924f2b3ba774067a7bf5926cf
Cr-Commit-Position: refs/heads/master@{#349518}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : switch statement. error handling. some initial docs. #
Total comments: 2
Patch Set 4 : use .gch suffix #Patch Set 5 : cflags_pch_* #Patch Set 6 : merge #Patch Set 7 : #Patch Set 8 : #Patch Set 9 : #Patch Set 10 : fixed include #Patch Set 11 : #Patch Set 12 : #Patch Set 13 : #Patch Set 14 : #Patch Set 15 : #Patch Set 16 : #Patch Set 17 : #Patch Set 18 : fix bug with superfluous pch deps. #Patch Set 19 : #Patch Set 20 : #Patch Set 21 : #Patch Set 22 : #
Total comments: 6
Patch Set 23 : #
Total comments: 4
Patch Set 24 : fix use-after-free bug #
Total comments: 8
Patch Set 25 : Address Brett’s comments... (hopefully) #
Total comments: 6
Patch Set 26 : #
Messages
Total messages: 34 (2 generated)
|