Bug 91973 - [Chromium] Enable web audio IPP for x86 chromium android
Summary: [Chromium] Enable web audio IPP for x86 chromium android
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: 528+ (Nightly build)
Hardware: Android Android
: P2 Normal
Assignee: Wei James (wistoch)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 02:27 PDT by Wei James (wistoch)
Modified: 2012-07-30 19:46 PDT (History)
6 users (show)

See Also:


Attachments
Patch (2.12 KB, patch)
2012-07-23 02:27 PDT, Wei James (wistoch)
no flags Details | Formatted Diff | Diff
Patch (2.27 KB, patch)
2012-07-23 02:47 PDT, Wei James (wistoch)
no flags Details | Formatted Diff | Diff
Patch (2.27 KB, patch)
2012-07-24 00:22 PDT, Wei James (wistoch)
no flags Details | Formatted Diff | Diff
Patch (2.27 KB, patch)
2012-07-29 18:59 PDT, Wei James (wistoch)
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from gce-cr-linux-02 (657.48 KB, application/zip)
2012-07-29 19:35 PDT, WebKit Review Bot
no flags Details
Patch (2.31 KB, patch)
2012-07-30 15:50 PDT, Wei James (wistoch)
no flags Details | Formatted Diff | Diff
Patch (2.31 KB, patch)
2012-07-30 16:06 PDT, Wei James (wistoch)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wei James (wistoch) 2012-07-23 02:27:08 PDT
Enable web audio IPP for x86 chromium android
Comment 1 Wei James (wistoch) 2012-07-23 02:27:48 PDT
Created attachment 153757 [details]
Patch
Comment 2 Wei James (wistoch) 2012-07-23 02:28:45 PDT
use static link for android.
Comment 3 Peter Beverloo 2012-07-23 02:35:34 PDT
Comment on attachment 153757 [details]
Patch

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

> Source/WebCore/ChangeLog:3
> +        Enable web audio IPP for x86 chromium android

It'd be great if you could prefix this with [Chromium], since it only touches Chromium-specific code. A brief explanation in the ChangeLog about what this change does would be useful too, despite it being a minor change. Something among the lines of "Include the IPP libraries at link-time for Android builds when compiling the Web Audio API with IPP support." would work.

> Source/WebCore/WebCore.gyp/WebCore.gyp:2123
> +        # Use static link for Android.

Maybe emphasize that the libraries are x86-libraries, different from the often assumed ARM?
Comment 4 Wei James (wistoch) 2012-07-23 02:47:24 PDT
Created attachment 153761 [details]
Patch
Comment 5 Wei James (wistoch) 2012-07-23 02:48:08 PDT
Comment on attachment 153757 [details]
Patch

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

>> Source/WebCore/ChangeLog:3
>> +        Enable web audio IPP for x86 chromium android
> 
> It'd be great if you could prefix this with [Chromium], since it only touches Chromium-specific code. A brief explanation in the ChangeLog about what this change does would be useful too, despite it being a minor change. Something among the lines of "Include the IPP libraries at link-time for Android builds when compiling the Web Audio API with IPP support." would work.

fixed. thanks

>> Source/WebCore/WebCore.gyp/WebCore.gyp:2123
>> +        # Use static link for Android.
> 
> Maybe emphasize that the libraries are x86-libraries, different from the often assumed ARM?

fixed. thanks
Comment 6 Peter Beverloo 2012-07-23 02:57:31 PDT
LGTM from Android's side, thank you! I also confirmed that the normal (non-x86) build works correctly.

Please wait for a formal review before submitting this. It's probably fine to ask anyone to rubberstamp this as it's a really isolated change.
Comment 7 Wei James (wistoch) 2012-07-23 07:46:32 PDT
(In reply to comment #6)
> LGTM from Android's side, thank you! I also confirmed that the normal (non-x86) build works correctly.
> 
> Please wait for a formal review before submitting this. It's probably fine to ask anyone to rubberstamp this as it's a really isolated change.

thanks!
Comment 8 Tony Chang 2012-07-23 11:16:23 PDT
Comment on attachment 153761 [details]
Patch

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

> Source/WebCore/WebCore.gyp/WebCore.gyp:1234
> +        ['OS in ["linux", "android"] and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {

Nit: Use a tuple () instead of a list [].

> Source/WebCore/WebCore.gyp/WebCore.gyp:1437
> +        ['OS in ["linux", "android"] and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {

Nit: Use a tuple () instead of a list [].
Comment 9 Wei James (wistoch) 2012-07-24 00:22:51 PDT
Created attachment 153975 [details]
Patch
Comment 10 Wei James (wistoch) 2012-07-24 00:25:22 PDT
Comment on attachment 153761 [details]
Patch

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

>> Source/WebCore/WebCore.gyp/WebCore.gyp:1234
>> +        ['OS in ["linux", "android"] and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
> 
> Nit: Use a tuple () instead of a list [].

fixed. thanks

>> Source/WebCore/WebCore.gyp/WebCore.gyp:1437
>> +        ['OS in ["linux", "android"] and "WTF_USE_WEBAUDIO_IPP=1" in feature_defines', {
> 
> Nit: Use a tuple () instead of a list [].

fixed. thanks
Comment 11 Wei James (wistoch) 2012-07-29 18:59:35 PDT
Created attachment 155195 [details]
Patch
Comment 12 Wei James (wistoch) 2012-07-29 19:00:22 PDT
Comment on attachment 155195 [details]
Patch

re-submit the patch for win-ews issue.
Comment 13 WebKit Review Bot 2012-07-29 19:35:12 PDT
Comment on attachment 155195 [details]
Patch

Attachment 155195 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13394182

New failing tests:
platform/chromium/compositing/accelerated-drawing/svg-filters.html
platform/chromium/compositing/accelerated-drawing/alpha.html
Comment 14 WebKit Review Bot 2012-07-29 19:35:15 PDT
Created attachment 155197 [details]
Archive of layout-test-results from gce-cr-linux-02

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-02  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 15 Wei James (wistoch) 2012-07-30 15:50:30 PDT
Created attachment 155387 [details]
Patch
Comment 16 Peter Beverloo 2012-07-30 15:52:58 PDT
(In reply to comment #15)
> Created an attachment (id=155387) [details]
> Patch

The patch is identical to the previous one, as such, LGTM. Thanks :).
Comment 17 Wei James (wistoch) 2012-07-30 15:56:20 PDT
(In reply to comment #16)
> (In reply to comment #15)
> > Created an attachment (id=155387) [details] [details]
> > Patch
> 
> The patch is identical to the previous one, as such, LGTM. Thanks :).

yes. the cr-linux bot failed, but I think it is not caused by this patch. 

so I re-submit it to try it again. 

how can I trigger the trybot without re-submitting the patch?
Comment 18 Peter Beverloo 2012-07-30 15:56:49 PDT
Also, since Tony already r+'ed your patch and you made no code changes except for his review feedback, it's fine to change the:

"Reviewed by NOBODY (OOPS!)."

line in the review to read:

"Reviewed by Tony Chang."

Then, when uploading your patch, use the "webkit-patch upload --no-review --request-commit" command. This will not set "r?" (because it has already been reviewed!), but instead sets "cq?", which is short for requesting commit queue. Any committer can set that (including you, when you get your commit rights), which often makes it easier to land the patch. For other reviewers it makes it clear that the patch has already been reviewed.
Comment 19 Peter Beverloo 2012-07-30 15:57:55 PDT
(In reply to comment #17)
> yes. the cr-linux bot failed, but I think it is not caused by this patch. 
> 
> so I re-submit it to try it again. 
> 
> how can I trigger the trybot without re-submitting the patch?

You can't.. The failure seen by the bot was unrelated.
Comment 20 Wei James (wistoch) 2012-07-30 16:06:16 PDT
Created attachment 155390 [details]
Patch
Comment 21 Tony Chang 2012-07-30 16:07:18 PDT
(In reply to comment #17)
> (In reply to comment #16)
> > (In reply to comment #15)
> > > Created an attachment (id=155387) [details] [details] [details]
> > > Patch
> > 
> > The patch is identical to the previous one, as such, LGTM. Thanks :).
> 
> yes. the cr-linux bot failed, but I think it is not caused by this patch. 
> 
> so I re-submit it to try it again. 
> 
> how can I trigger the trybot without re-submitting the patch?

You can just cq? again and anyone can cq+ the same patch to try again.
Comment 22 Wei James (wistoch) 2012-07-30 16:10:06 PDT
(In reply to comment #18)
> Also, since Tony already r+'ed your patch and you made no code changes except for his review feedback, it's fine to change the:
> 
> "Reviewed by NOBODY (OOPS!)."
> 
> line in the review to read:
> 
> "Reviewed by Tony Chang."
> 
> Then, when uploading your patch, use the "webkit-patch upload --no-review --request-commit" command. This will not set "r?" (because it has already been reviewed!), but instead sets "cq?", which is short for requesting commit queue. Any committer can set that (including you, when you get your commit rights), which often makes it easier to land the patch. For other reviewers it makes it clear that the patch has already been reviewed.

peter, thanks a lot for the instruction.
Comment 23 Wei James (wistoch) 2012-07-30 16:11:54 PDT
(In reply to comment #21)
> (In reply to comment #17)
> > (In reply to comment #16)
> > > (In reply to comment #15)
> > > > Created an attachment (id=155387) [details] [details] [details] [details]
> > > > Patch
> > > 
> > > The patch is identical to the previous one, as such, LGTM. Thanks :).
> > 
> > yes. the cr-linux bot failed, but I think it is not caused by this patch. 
> > 
> > so I re-submit it to try it again. 
> > 
> > how can I trigger the trybot without re-submitting the patch?
> 
> You can just cq? again and anyone can cq+ the same patch to try again.

tony, thanks!

so committer can cq+ without waiting for all bots green? I have thought you will wait for all bots green and then r+ and cq+. 

thanks!
Comment 24 WebKit Review Bot 2012-07-30 19:46:33 PDT
Comment on attachment 155390 [details]
Patch

Clearing flags on attachment: 155390

Committed r124154: <http://trac.webkit.org/changeset/124154>
Comment 25 WebKit Review Bot 2012-07-30 19:46:38 PDT
All reviewed patches have been landed.  Closing bug.