Bug 42601 - Web Inspector: Do Not Copy *.re2js Inspector Resources in XCode Build Phase
Summary: Web Inspector: Do Not Copy *.re2js Inspector Resources in XCode Build Phase
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 15:33 PDT by Joseph Pecoraro
Modified: 2010-07-19 16:20 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Remove *.re2js in "Copy Inspector Resources" Build Phase (1.92 KB, patch)
2010-07-19 15:39 PDT, Joseph Pecoraro
mrowe: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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