Bug 101506

Summary: [EFL] Remove non-variable options from the build system
Product: WebKit Reporter: Laszlo Gombos <laszlo.gombos>
Component: WebKit EFLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, kenneth, lucas.de.marchi, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Laszlo Gombos
Reported 2012-11-07 13:27:17 PST
Some cmake variables - that are only used in the EFL specific part of the build system - are constants. As an example the WTF_USE_ICU_UNICODE cmake variable is only used in the EFL build system and for EFL it is always set to 1. The EFL port does not allow WTF_USE_ICU_UNICODE to be anything other than 1 (otherwise the port would probably not even build). I find it confusing to have variables for things that can not be changed. I think it make the build system code more readable if we remove these variables.
Attachments
patch (9.72 KB, patch)
2012-11-07 16:40 PST, Laszlo Gombos
no flags
Laszlo Gombos
Comment 1 2012-11-07 16:40:51 PST
Created attachment 172890 [details] patch This patch is first step to allow us to share list of files to build with other ports/build system and it will also allow EFL to use files like TextAllInOne.cpp.
Kenneth Rohde Christiansen
Comment 2 2012-11-08 00:07:42 PST
Comment on attachment 172890 [details] patch Lets have rafael look before committing
Raphael Kubo da Costa (:rakuco)
Comment 3 2012-11-08 04:50:08 PST
Comment on attachment 172890 [details] patch The cleanup looks fine, but since you have removed the IF checks from WebCore/PlatformEfl.cmake you should merge the changes to WebCore_SOURCES & co. to the original call at the top of the file.
Laszlo Gombos
Comment 4 2012-11-08 05:54:36 PST
(In reply to comment #3) > (From update of attachment 172890 [details]) > The cleanup looks fine, but since you have removed the IF checks from WebCore/PlatformEfl.cmake you should merge the changes to WebCore_SOURCES & co. to the original call at the top of the file. I agree. I will do that in a follow-up patch (also sort them and maybe start using some of the AllInOne files where it make sense). Thanks for helping with the review.
WebKit Review Bot
Comment 5 2012-11-08 06:15:50 PST
Comment on attachment 172890 [details] patch Clearing flags on attachment: 172890 Committed r133891: <http://trac.webkit.org/changeset/133891>
WebKit Review Bot
Comment 6 2012-11-08 06:15:55 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.