RESOLVED DUPLICATE of bug 55043 55041
[Chromium] JavaScriptCore.gypi contains Android related files, which breaks a build.
https://bugs.webkit.org/show_bug.cgi?id=55041
Summary [Chromium] JavaScriptCore.gypi contains Android related files, which breaks a...
Hajime Morrita
Reported 2011-02-23 06:06:03 PST
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
Hajime Morrita
Comment 1 2011-02-23 06:13:06 PST
*** This bug has been marked as a duplicate of bug 55043 ***
Adam Barth
Comment 2 2011-02-23 12:49:45 PST
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.
Note You need to log in before you can comment on or make changes to this bug.