Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: Makefile

Issue 972943003: Run gyp with --no-parallel -G config=$(BUILDTYPE) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Makefile that wraps the Gyp and build steps for Unix and Mac (but not Windows) 1 # Makefile that wraps the Gyp and build steps for Unix and Mac (but not Windows)
2 # Uses "ninja" to build the code. 2 # Uses "ninja" to build the code.
3 # 3 #
4 # Some usage examples (tested on both Linux and Mac): 4 # Some usage examples (tested on both Linux and Mac):
5 # 5 #
6 # # Clean everything 6 # # Clean everything
7 # make clean 7 # make clean
8 # 8 #
9 # # Build and run tests (in Debug mode) 9 # # Build and run tests (in Debug mode)
10 # make dm 10 # make dm
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 .PHONY: clean 79 .PHONY: clean
80 clean: 80 clean:
81 rm -rf out xcodebuild 81 rm -rf out xcodebuild
82 ifneq (out, $(SKIA_OUT)) 82 ifneq (out, $(SKIA_OUT))
83 rm -rf $(SKIA_OUT) 83 rm -rf $(SKIA_OUT)
84 endif 84 endif
85 85
86 # Run gyp no matter what. 86 # Run gyp no matter what.
87 .PHONY: gyp 87 .PHONY: gyp
88 gyp: 88 gyp:
89 » $(CWD)/gyp_skia 89 » $(CWD)/gyp_skia --no-parallel -G config=$(BUILDTYPE)
90 90
91 # For all specific targets: run gyp if necessary, and then pass control to 91 # For all specific targets: run gyp if necessary, and then pass control to
92 # the gyp-generated buildfiles. 92 # the gyp-generated buildfiles.
93 .PHONY: $(VALID_TARGETS) 93 .PHONY: $(VALID_TARGETS)
94 $(VALID_TARGETS):: gyp 94 $(VALID_TARGETS):: gyp
95 ninja -C $(SKIA_OUT)/$(BUILDTYPE) $@ 95 ninja -C $(SKIA_OUT)/$(BUILDTYPE) $@
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698