[Webkit-unassigned] [Bug 109144] New: build-webkit --chromium-android produces non-functional test binaries missing ChromiumActivity class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 7 00:32:09 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=109144

           Summary: build-webkit --chromium-android produces
                    non-functional test binaries missing ChromiumActivity
                    class
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Android
        OS/Version: Android
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dominicc at chromium.org
                CC: thakis at chromium.org, bulach at chromium.org


Version: WebKit r142063
OS: Ubuntu 12.04

What steps will reproduce the problem?

1. Check out WebKit
2. Tools/Scripts/update-webkit --chromium-android
3. Tools/Scripts/build-webkit --chromium-android
4. Tools/Scripts/run-webkit-tests --chromium-android

What is the expected output? What do you see instead?

I expect the tests to run.

Instead, the tests hang. Inspecting with adb logcat, the test binary is failing to start because the ChromiumActivity superclass is not found.

Inspecting the APK, indeed the class is missing.

I started digging into this and looked at GYP (dependencies on chromium_base which contains ChromiumActivity looks OK) and generate_native_test.py (looks OK, passes the chromium_base JAR to ant.)

If I turn on verbose ant output, I see this:

[dex] Using Pre-Dexed chromium_base-a1936b86d1a1176fd0026791ff4d6303.jar <- /work/WebKit/out/Release/lib.java/chromium_base.jar

and if I dig up this file I find it just contains MANIFEST/MANIFEST.MF. It looks like ChromiumActivity has been... "aggressively optimized."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list