Bug 89015 - [CMAKE] Move JSDeprecatedPeerConnectionCustom.cpp from CMakeLists.txt to UseJSC.cmake
Summary: [CMAKE] Move JSDeprecatedPeerConnectionCustom.cpp from CMakeLists.txt to UseJ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sudarsana Nagineni (babu)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 10:18 PDT by Sudarsana Nagineni (babu)
Modified: 2012-06-14 17:51 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.71 KB, patch)
2012-06-13 10:30 PDT, Sudarsana Nagineni (babu)
no flags Details | Formatted Diff | Diff
Patch (1.73 KB, patch)
2012-06-14 03:41 PDT, Sudarsana Nagineni (babu)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sudarsana Nagineni (babu) 2012-06-13 10:18:25 PDT
Move JSDeprecatedPeerConnectionCustom.cpp from CMakeLists.txt to UseJSC.cmake.
Comment 1 Sudarsana Nagineni (babu) 2012-06-13 10:30:05 PDT
Created attachment 147356 [details]
Patch
Comment 2 Robin Cao 2012-06-13 19:25:05 PDT
Thanks for the patch. I agree this file should move to UseJSC.cmake.
Comment 3 Raphael Kubo da Costa (:rakuco) 2012-06-13 19:35:46 PDT
Comment on attachment 147356 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=147356&action=review

> Source/WebCore/UseJSC.cmake:300
> +IF (ENABLE_MEDIA_STREAM)
> +    LIST (APPEND WebCore_SOURCES
> +        bindings/js/JSDeprecatedPeerConnectionCustom.cpp
> +    )
> +ENDIF ()

I think you can add this file to the list unconditionally, as it is already protected by an #ifdef.
Comment 4 Sudarsana Nagineni (babu) 2012-06-14 03:31:48 PDT
Comment on attachment 147356 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=147356&action=review

>> Source/WebCore/UseJSC.cmake:300
>> +ENDIF ()
> 
> I think you can add this file to the list unconditionally, as it is already protected by an #ifdef.

Yes, it can be moved outside of ifdef guards. I just followed same as other modules included the .cpp files.
Comment 5 Sudarsana Nagineni (babu) 2012-06-14 03:41:58 PDT
Created attachment 147548 [details]
Patch

Fixed review comment #3.
Comment 6 Raphael Kubo da Costa (:rakuco) 2012-06-14 16:22:50 PDT
Looks fine to me.
Comment 7 WebKit Review Bot 2012-06-14 17:51:21 PDT
Comment on attachment 147548 [details]
Patch

Clearing flags on attachment: 147548

Committed r120382: <http://trac.webkit.org/changeset/120382>
Comment 8 WebKit Review Bot 2012-06-14 17:51:27 PDT
All reviewed patches have been landed.  Closing bug.