Bug 101482 - [EFL] Define WTF_PLATFORM_EFL in Platform.h
Summary: [EFL] Define WTF_PLATFORM_EFL in Platform.h
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 09:35 PST by Laszlo Gombos
Modified: 2012-11-23 07:37 PST (History)
6 users (show)

See Also:


Attachments
1st try (2.41 KB, patch)
2012-11-07 09: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 09:35:10 PST
to be consistent with other ports.
Comment 1 Laszlo Gombos 2012-11-07 09:40:14 PST
Created attachment 172823 [details]
1st try
Comment 2 Raphael Kubo da Costa (:rakuco) 2012-11-07 10:28:01 PST
Comment on attachment 172823 [details]
1st try

Was anything broken with the current behavior? The FIXME before the sections you change in Platform.h suggests that this isn't really a nice place to add more definitions (and, for consistency, this should also be changed in OptionsWindows.cmake).
Comment 3 Laszlo Gombos 2012-11-07 11:21:36 PST
(In reply to comment #2)
> (From update of attachment 172823 [details])
> Was anything broken with the current behavior?

Nothing is broken with the current solution. As the ChangeLog mentions this change is primary to align the EFL port with other ports. Improve readability/hackability for people not working on the EFL port on a daily basis if you wish.

> The FIXME before the sections you change in Platform.h suggests that this isn't really a nice place to add more definitions 

My reading of the FIXME is different. To me it means that we should minimize the usage of PLATFORM(XX) and use instead USE(XX), OS(XX) and other macros. I think it is easier to act on the FIXME if these definitions are all in common C/C++ code and not in port/build system specific files.

> (and, for consistency, this should also be changed in OptionsWindows.cmake).

I agree, thanks for pointing this out. It is probably better to do it in another patch as it impacts another port and not EFL.
Comment 4 WebKit Review Bot 2012-11-23 07:37:19 PST
Comment on attachment 172823 [details]
1st try

Clearing flags on attachment: 172823

Committed r135612: <http://trac.webkit.org/changeset/135612>
Comment 5 WebKit Review Bot 2012-11-23 07:37:24 PST
All reviewed patches have been landed.  Closing bug.