RESOLVED FIXED Bug 88598
[Chromium-Android] Build DumpRenderTree with Android SDK
https://bugs.webkit.org/show_bug.cgi?id=88598
Summary [Chromium-Android] Build DumpRenderTree with Android SDK
Xianzhu Wang
Reported 2012-06-07 17:39:52 PDT
This is follow-up of bug 86862, to change WebKit side accordingly after some changes at chromium side.
Attachments
patch (6.19 KB, patch)
2012-06-07 21:04 PDT, Xianzhu Wang
abarth: review+
patch for landing (5.67 KB, patch)
2012-06-08 12:11 PDT, Xianzhu Wang
webkit.review.bot: commit-queue-
patch for landing (with correct reviewer line) (5.66 KB, patch)
2012-06-08 13:12 PDT, Xianzhu Wang
no flags
Xianzhu Wang
Comment 1 2012-06-07 21:04:54 PDT
Wei James (wistoch)
Comment 2 2012-06-07 22:10:15 PDT
*** Bug 88610 has been marked as a duplicate of this bug. ***
Wei James (wistoch)
Comment 3 2012-06-07 22:11:22 PDT
*** Bug 88607 has been marked as a duplicate of this bug. ***
Adam Barth
Comment 4 2012-06-08 11:03:23 PDT
Comment on attachment 146468 [details] patch I'm happy to rubber-stamp this change. You might want to check with Peter before landing.
Xianzhu Wang
Comment 5 2012-06-08 11:21:52 PDT
Comment on attachment 146468 [details] patch Peter (sorry I should have cc'ed you), does the patch look good to you? If yes, please just set cq+. Thanks. We will still have many layout test failures with this patch. Hao, could you create a meta bug for remaining Android DRT upstreaming tasks? Two things I just thought of are: test expectations, font settings.
Peter Beverloo
Comment 6 2012-06-08 11:41:55 PDT
Comment on attachment 146468 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=146468&action=review LGTM. I'm building the patch at the moment to verify it won't break the build. After it succeeds I'll put it on the commit queue. Cheers! > Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:433 > + 'action_name': 'apk_<(test_suite_name)', Since this gyp-code is copied and not marked as FIXME, can we get rid of the test_suite_name variable and just fill in "DumpRenderTree"? At one point we'll move all of these support scripts (including generate_native_test.py, for example) to their own repository. > Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:454 > + '--ant-compile', I think this may need a rebase, given that the patch from bug 88626 is already on the commit queue. > Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:276 > + return self._build_path(configuration, 'DumpRenderTree_apk/DumpRenderTree-debug.apk') Why do we use "-debug" here, again? Seems fine, but I forgot the reason :).
Xianzhu Wang
Comment 7 2012-06-08 11:54:16 PDT
Comment on attachment 146468 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=146468&action=review Will upload the new patch soon after I verify it locally. >> Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:433 >> + 'action_name': 'apk_<(test_suite_name)', > > Since this gyp-code is copied and not marked as FIXME, can we get rid of the test_suite_name variable and just fill in "DumpRenderTree"? At one point we'll move all of these support scripts (including generate_native_test.py, for example) to their own repository. Agreed. Done. >> Tools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:454 >> + '--ant-compile', > > I think this may need a rebase, given that the patch from bug 88626 is already on the commit queue. Done. >> Tools/Scripts/webkitpy/layout_tests/port/chromium_android.py:276 >> + return self._build_path(configuration, 'DumpRenderTree_apk/DumpRenderTree-debug.apk') > > Why do we use "-debug" here, again? Seems fine, but I forgot the reason :). This is the naming convention of Android SDK's ant rule. In our ant build script (called from generate_native_test.py) the default type is 'debug'.
Xianzhu Wang
Comment 8 2012-06-08 12:11:01 PDT
Created attachment 146624 [details] patch for landing Peter has verified it and admitted cq in offline.
WebKit Review Bot
Comment 9 2012-06-08 12:51:00 PDT
Comment on attachment 146624 [details] patch for landing Rejecting attachment 146624 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 ERROR: /mnt/git/webkit-commit-queue/Tools/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://queues.webkit.org/results/12924400
Xianzhu Wang
Comment 10 2012-06-08 13:12:39 PDT
Created attachment 146633 [details] patch for landing (with correct reviewer line)
WebKit Review Bot
Comment 11 2012-06-08 19:45:42 PDT
Comment on attachment 146633 [details] patch for landing (with correct reviewer line) Clearing flags on attachment: 146633 Committed r119888: <http://trac.webkit.org/changeset/119888>
WebKit Review Bot
Comment 12 2012-06-08 19:45:47 PDT
All reviewed patches have been landed. Closing bug.
Hao Zheng
Comment 13 2012-06-10 20:12:36 PDT
(In reply to comment #5) > (From update of attachment 146468 [details]) > Peter (sorry I should have cc'ed you), does the patch look good to you? If yes, please just set cq+. Thanks. > > We will still have many layout test failures with this patch. > > Hao, could you create a meta bug for remaining Android DRT upstreaming tasks? Two things I just thought of are: test expectations, font settings. Bug for font settings: https://bugs.webkit.org/show_bug.cgi?id=87006 We can file expectation bugs after we run layout test on some bot.
Note You need to log in before you can comment on or make changes to this bug.