Make it reusable across the ports using CMake. We are about to enable the WTF, WebCore and WebKit 2 API's at Tools/TestWebKitAPI and other ports can get it almost for free.
Created attachment 152240 [details] Patch
Comment on attachment 152240 [details] Patch LGTM.
Comment on attachment 152240 [details] Patch I don't see an option to enable API tests in FeatureLists.pm, so the idea is that these features in WebKitFeatures.cmake, OptionsEfl.cmake and the rest should have their values changed manually?
(In reply to comment #3) > (From update of attachment 152240 [details]) > I don't see an option to enable API tests in FeatureLists.pm, so the idea is that these features in WebKitFeatures.cmake, OptionsEfl.cmake and the rest should have their values changed manually? It doesn't go to FeatureList.pm because it only makes sense for the cmake build system. Not manually, you can disable it by doing: $ Tools/Scripts/build-webkit --efl --cmakearg="-DENABLE_API_TESTS=OFF"
Comment on attachment 152240 [details] Patch Looks good, thanks for doing this work, BlackBerry port also wants to enable this soonish.
Comment on attachment 152240 [details] Patch Clearing flags on attachment: 152240 Committed r122601: <http://trac.webkit.org/changeset/122601>
All reviewed patches have been landed. Closing bug.