RESOLVED FIXED 40489
Chromium shouldn't build inside the source directory
https://bugs.webkit.org/show_bug.cgi?id=40489
Summary Chromium shouldn't build inside the source directory
Eric Seidel (no email)
Reported 2010-06-11 12:29:15 PDT
Chromium shouldn't build inside the source directory It breaks assumptions of some of our scripts at least: Renaming WebKit/chromium/xcodebuild/DerivedSources/Debug/webcore/bindings/V8WebGLFloatArray.cpp to WebKit/chromium/xcodebuild/DerivedSources/Debug/webcore/bindings/V8WebGLFloat32Array.cpp fatal: not under version control, source=WebKit/chromium/xcodebuild/DerivedSources/Debug/webcore/bindings/V8WebGLFloatArray.cpp, destination=WebKit/chromium/xcodebuild/DerivedSources/Debug/webcore/bindings/V8WebGLFloat32Array.cpp Renaming WebKit/chromium/xcodebuild/DerivedSources/Debug/webkit/bindings/V8WebGLFloatArray.h to WebKit/chromium/xcodebuild/DerivedSources/Debug/webkit/bindings/V8WebGLFloat32Array.h fatal: not under version control, source=WebKit/chromium/xcodebuild/DerivedSources/Debug/webkit/bindings/V8WebGLFloatArray.h, destination=WebKit/chromium/xcodebuild/DerivedSources/Debug/webkit/bindings/V8WebGLFloat32Array.h Renaming WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/V8WebGLFloatArrayCustom.o to WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/V8WebGLFloat32ArrayCustom.o fatal: not under version control, source=WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/V8WebGLFloatArrayCustom.o, destination=WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/V8WebGLFloat32ArrayCustom.o Renaming WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/WebGLFloatArray.o to WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/WebGLFloat32Array.o fatal: not under version control, source=WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/WebGLFloatArray.o, destination=WebKit/chromium/xcodebuild/WebCore.build/Debug/webcore.build/Objects-normal/i386/WebGLFloat32Array.o Died at /Projects/WebKit/WebKitTools/Scripts/do-webcore-rename line 210.
Attachments
Patch (1.16 KB, patch)
2010-06-13 18:57 PDT, Tony Chang
fishd: review+
Eric Seidel (no email)
Comment 1 2010-06-11 12:30:38 PDT
Related. Chromium should either not unpack files inside the source directory, or it should gitignore/svn ignore them: # WebKit/chromium/app/ # WebKit/chromium/base/ # WebKit/chromium/chromium_deps/ # WebKit/chromium/gfx/ # WebKit/chromium/googleurl/ # WebKit/chromium/gpu/ # WebKit/chromium/media/ # WebKit/chromium/net/ # WebKit/chromium/sdch/ # WebKit/chromium/skia/ # WebKit/chromium/testing/ # WebKit/chromium/third_party/ # WebKit/chromium/tools/ # WebKit/chromium/v8/ # WebKit/chromium/webkit/
Tony Chang
Comment 2 2010-06-13 16:57:14 PDT
I think we can just svn/git ignore the related directories. I seems better that WebKit Mac and WebKit Chromium Mac build into different directories. WebKit Chromium Mac happens to use WebKit/chromium/xcodebuild.
Tony Chang
Comment 3 2010-06-13 18:57:50 PDT
Tony Chang
Comment 4 2010-06-13 18:59:07 PDT
svn diff shows: Property changes on: . ___________________________________________________________________ Modified: svn:ignore - configure depcomp compile config.guess GNUmakefile.in config.sub ltmain.sh aconfig.h.in autom4te.cache missing aclocal.m4 install-sh + configure depcomp compile config.guess GNUmakefile.in config.sub ltmain.sh aconfig.h.in autom4te.cache missing aclocal.m4 install-sh out Makefile.chromium Property changes on: WebKit/chromium ___________________________________________________________________ Added: svn:ignore + app base build chromium_deps gfx googleurl gpu media net sdch skia testing third_party tools v8 webkit xcodebuild
Tony Chang
Comment 5 2010-06-14 17:00:45 PDT
Tony Chang
Comment 6 2010-06-14 17:05:26 PDT
r61162 Adds the directories to svn:ignore, however, some scripts will still error out. For example, do-webcore-rename will still crawl every file in WebKit. It would probably take some effort to unpack in a different directory. I'm not sure how hard it is to move the build directory on Mac/Win (on Linux, I already moved it to the top level for correctness issues with the Makefile). It might be easier to make the scripts skip these directories.
Note You need to log in before you can comment on or make changes to this bug.