Bug 101506 - [EFL] Remove non-variable options from the build system
Summary: [EFL] Remove non-variable options from the build system
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-07 13:27 PST by Laszlo Gombos
Modified: 2012-11-08 06:15 PST (History)
5 users (show)

See Also:


Attachments
patch (9.72 KB, patch)
2012-11-07 16:40 PST, Laszlo Gombos
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Gombos 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.
Comment 1 Laszlo Gombos 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.
Comment 2 Kenneth Rohde Christiansen 2012-11-08 00:07:42 PST
Comment on attachment 172890 [details]
patch

Lets have rafael look before committing
Comment 3 Raphael Kubo da Costa (:rakuco) 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.
Comment 4 Laszlo Gombos 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.
Comment 5 WebKit Review Bot 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>
Comment 6 WebKit Review Bot 2012-11-08 06:15:55 PST
All reviewed patches have been landed.  Closing bug.