Use if conditional function in DerivedSources.make to reduce duplication
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Oct 2017 17:57:38 +0000 (17:57 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Oct 2017 17:57:38 +0000 (17:57 +0000)
commit5378557eda032a33060333ce0783efbe26276493
tree85ad28e0f3fd787a0caa0d8973f355a522528c19
parent4efca01d50539232d59b1ba73ed1525da738b583
Use if conditional function in DerivedSources.make to reduce duplication
https://bugs.webkit.org/show_bug.cgi?id=178989

Reviewed by Darin Adler.

In DerivedSources.make we currently duplicate most of the Makefile recipe for generating HTML/SVG
tags and attributes to support passing the optional command line option --extraDefines when one
or more HTML/SVG compile-time features are enabled. Instead we can make use of a Makefile
conditional function in the recipe itself to avoid code duplication.

* DerivedSources.make:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@224186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make