Descriptionaction_derivedsourcesallinone.py: Fix Python style and conditional bug
This fixes Python style in action_derivedsourcesallinone.py
per Eric's request:
https://codereview.chromium.org/24053003/#msg35
It also makes the code more Pythonic and a bit better-factored,
though it's admittedly not esp. beautiful.
I also noticed that the code was broken, due mostly to a wrong regex,
so I've fixed that so it now inserts if/endif conditionals into
derived sources.
HOWEVER, this makes linking fail (in SVGs), so turned off for now.
(This hasn't worked for a while.)
The code is fixed, so it's just a question of figuring out the
conditional problem and turning it back on
(or removing this code).
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159445
Patch Set 1 #Patch Set 2 : Polished #Patch Set 3 : Exceptions #
Total comments: 2
Patch Set 4 : makedirs #Patch Set 5 : Revised, finalized #Patch Set 6 : Turn *off* conditionals #Messages
Total messages: 17 (0 generated)
|