Changeset 106634 in webkit
- Timestamp:
- Feb 2, 2012 11:44:38 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r106538 r106634 1 2012-02-02 Mark Rowe <mrowe@apple.com> 2 3 <http://webkit.org/b/77717> Makefile should provide control over output verbosity 4 5 Allow the filtering of the output of our Makefile to be configured via a user default 6 and overriden via a command-line argument to make. 7 8 The Makefile takes the verbosity from BuildTranscriptVerbosity default in the 9 org.webkit.BuildConfiguration domain. The supported values are "default", "quiet" 10 and "noisy". "default" maintains the existing behavior of only filtering out 11 the setenv lines from Xcode's shell script build phases. "quiet" filters all output 12 through filter-build-webkit. "noisy" provides unfiltered output. The verbosity can 13 be overriden for a single invocation of make by specifying the VERBOSITY variable 14 on the make command line. 15 16 To always get full output: 17 defaults write org.webkit.BuildConfiguration BuildTranscriptVerbosity noisy 18 19 To always get filtered ouptut: 20 defaults write org.webkit.BuildConfiguration BuildTranscriptVerbosity quiet 21 22 To get full output for a single build: 23 make VERBOSITY=noisy 24 25 Reviewed by Dan Bernstein. 26 27 * Makefile.shared: 28 1 29 2012-02-02 Rakesh KN <rakesh.kn@motorola.com> 2 30 -
trunk/Makefile.shared
r74301 r106634 2 2 XCODE_OPTIONS = `perl -I$(SCRIPTS_PATH) -Mwebkitdirs -e 'print XcodeOptionString()'` $(ARGS) 3 3 4 DEFAULT_VERBOSITY := $(shell defaults read org.webkit.BuildConfiguration BuildTranscriptVerbosity 2>/dev/null || echo "default") 5 VERBOSITY ?= $(DEFAULT_VERBOSITY) 6 7 ifeq ($(VERBOSITY),default) 8 OUTPUT_FILTER = grep -v setenv 9 else 10 ifeq ($(VERBOSITY),noisy) 11 OUTPUT_FILTER = cat 12 else 13 OUTPUT_FILTER = $(SCRIPTS_PATH)/filter-build-webkit 14 endif 15 endif 16 4 17 all: 5 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv&& exit $${PIPESTATUS[0]} )18 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} ) 6 19 7 20 debug d development dev develop: force 8 21 $(SCRIPTS_PATH)/set-webkit-configuration --debug 9 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv&& exit $${PIPESTATUS[0]} )22 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} ) 10 23 11 24 release r deployment dep deploy: force 12 25 $(SCRIPTS_PATH)/set-webkit-configuration --release 13 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | grep -v setenv&& exit $${PIPESTATUS[0]} )26 ( xcodebuild $(OTHER_OPTIONS) $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} ) 14 27 15 28 clean: 16 ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | grep -v setenv&& exit $${PIPESTATUS[0]} )29 ( xcodebuild $(OTHER_OPTIONS) -alltargets clean $(XCODE_OPTIONS) | $(OUTPUT_FILTER) && exit $${PIPESTATUS[0]} ) 17 30 18 31 force: ;
Note: See TracChangeset
for help on using the changeset viewer.