Bug 42601

Summary: Web Inspector: Do Not Copy *.re2js Inspector Resources in XCode Build Phase
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Remove *.re2js in "Copy Inspector Resources" Build Phase mrowe: review+

Description Joseph Pecoraro 2010-07-19 15:33:44 PDT
Just noticed this. I fixed `build-webkit --inspector-frontend` but I didn't fix
the XCode build script. Might the same be necessary somehow for Windows?
Comment 1 Joseph Pecoraro 2010-07-19 15:39:44 PDT
Created attachment 62006 [details]
[PATCH] Remove *.re2js in "Copy Inspector Resources" Build Phase

This adds the following two lines to the Build Phase:

    # Remove *.re2js files, they are only used to generate some .js files.
    rm -f "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector/"*.re2js

Note that `*` does not work inside a string, so I tack it on the end. Its
acceptable to use different quoting techniques in the shell, hence the trick.

  shell> echo "a"'b'c
  abc

If there is an easier way, let me know!
Comment 2 Joseph Pecoraro 2010-07-19 16:20:10 PDT
Thanks Mark!

Committed r63696
	M	WebCore/ChangeLog
	M	WebCore/WebCore.xcodeproj/project.pbxproj
r63696 = c2b1cbce8e33adf129f3fab7b5032c44e7b23dd3 (refs/remotes/trunk)
http://trac.webkit.org/changeset/63696