Bug 55041
Summary: | [Chromium] JavaScriptCore.gypi contains Android related files, which breaks a build. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Hajime Morrita <morrita> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | abarth, evan, ojan |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Hajime Morrita
http://trac.webkit.org/changeset/79418 (Bug 55020) added android related file, which breaks linux shlib build.
http://build.chromium.org/p/chromium/builders/Linux%20Builder%20%28dbg-shlib%29/builds/8194
LINK(target) out/Debug/test_shell_tests
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/ImageDiff] Error 1
LINK(target) out/Debug/webkit_unit_tests
COPY out/Debug/lib.target/libbrowser.so
COPY out/Debug/lib.target/librenderer.so
LINK(target) out/Debug/chrome
SOLINK(target) out/Debug/obj.target/chrome/libtest_support_common.so
LINK(target) out/Debug/perf_tests
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/webkit_unit_tests] Error 1
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/chrome] Error 1
COPY out/Debug/lib.target/libtest_support_common.so
SOLINK(target) out/Debug/obj.target/chrome/libtest_support_ui.so
SOLINK(target) out/Debug/obj.target/chrome/libtest_support_unit.so
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/perf_tests] Error 1
COPY out/Debug/lib.target/libtest_support_unit.so
LINK(target) out/Debug/sync_unit_tests
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/test_shell] Error 1
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/sync_unit_tests] Error 1
COPY out/Debug/lib.target/libtest_support_ui.so
LINK(target) out/Debug/automated_ui_tests
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/test_shell_tests] Error 1
/usr/bin/ld: out/Debug/obj.target/third_party/WebKit/Source/JavaScriptCore/JavaScriptCore.gyp/libwtf.so: error: undefined reference to 'WTF::AndroidThreading::scheduleDispatchFunctionsOnMainThread()'
collect2: ld returned 1 exit status
make: *** [out/Debug/automated_ui_tests] Error 1
make: Target `all' not remade because of errors.
program finished with exit code 2
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Hajime Morrita
*** This bug has been marked as a duplicate of bug 55043 ***
Adam Barth
JavaScriptCore.gypi is supposed to contain all the files. We need to adjust Chromium's filter to pick up just the files that it wants.