RESOLVED FIXED 82513
minidom configurations should be based on ToolExecutable.xcconfig
https://bugs.webkit.org/show_bug.cgi?id=82513
Summary minidom configurations should be based on ToolExecutable.xcconfig
David Kilzer (:ddkilzer)
Reported 2012-03-28 13:16:51 PDT
Created attachment 134380 [details] Patch Reviewed by NOBODY (OOPS!). * Configurations/ToolExecutable.xcconfig: Extract JAVASCRIPTCORE_RESOURCES_DIR into its own variable. Define INSTALL_PATH based on TARGET_NAME. * JavaScriptCore.xcodeproj/project.pbxproj: Base minidom configurations on ToolExecutable.xcconfig. Remove redundant PRODUCT_NAME and SKIP_INSTALL variables. --- 3 files changed, 23 insertions(+), 9 deletions(-)
Attachments
Patch (3.50 KB, patch)
2012-03-28 13:16 PDT, David Kilzer (:ddkilzer)
no flags
Patch (3.14 KB, patch)
2012-03-28 16:54 PDT, David Kilzer (:ddkilzer)
mrowe: review+
WebKit Review Bot
Comment 1 2012-03-28 13:19:12 PDT
Attachment 134380 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Rowe (bdash)
Comment 2 2012-03-28 13:24:07 PDT
Comment on attachment 134380 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=134380&action=review > Source/JavaScriptCore/Configurations/ToolExecutable.xcconfig:29 > +INSTALL_PATH = $(INSTALL_PATH_$(TARGET_NAME)); > +INSTALL_PATH_JSCLLIntOffsetsExtractor = $(JAVASCRIPTCORE_RESOURCES_DIR); > +INSTALL_PATH_minidom = /usr/local/bin; > +INSTALL_PATH_testapi = $(JAVASCRIPTCORE_RESOURCES_DIR); > +INSTALL_PATH_testRegExp = $(JAVASCRIPTCORE_RESOURCES_DIR); This seems unnecessary. There's no good reason for minidom to be put in /usr/local/bin when everything else is going in to JavaScriptCore.framework/Resources.
David Kilzer (:ddkilzer)
Comment 3 2012-03-28 16:54:27 PDT
David Kilzer (:ddkilzer)
Comment 4 2012-03-28 16:56:59 PDT
(In reply to comment #2) > (From update of attachment 134380 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=134380&action=review > > > Source/JavaScriptCore/Configurations/ToolExecutable.xcconfig:29 > > +INSTALL_PATH = $(INSTALL_PATH_$(TARGET_NAME)); > > +INSTALL_PATH_JSCLLIntOffsetsExtractor = $(JAVASCRIPTCORE_RESOURCES_DIR); > > +INSTALL_PATH_minidom = /usr/local/bin; > > +INSTALL_PATH_testapi = $(JAVASCRIPTCORE_RESOURCES_DIR); > > +INSTALL_PATH_testRegExp = $(JAVASCRIPTCORE_RESOURCES_DIR); > > This seems unnecessary. There's no good reason for minidom to be put in /usr/local/bin when everything else is going in to JavaScriptCore.framework/Resources. Fixed in second patch. (I kept the semi-colon, though!)
David Kilzer (:ddkilzer)
Comment 5 2012-03-28 20:00:49 PDT
Note You need to log in before you can comment on or make changes to this bug.