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

Side by Side Diff: Makefile

Issue 15855006: prepare skia for shared library build on android (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | gyp/FileReaderApp.gyp » ('j') | gyp/skia_lib.gyp » ('J')
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 "make" to build on Unix, and "xcodebuild" to build on Mac. 2 # Uses "make" to build on Unix, and "xcodebuild" to build on Mac.
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 tests 10 # make tests
(...skipping 27 matching lines...) Expand all
38 # need for VALID_TARGETS in toplevel Makefile') 38 # need for VALID_TARGETS in toplevel Makefile')
39 VALID_TARGETS := \ 39 VALID_TARGETS := \
40 bench \ 40 bench \
41 debugger \ 41 debugger \
42 everything \ 42 everything \
43 gm \ 43 gm \
44 most \ 44 most \
45 pathops_unittest \ 45 pathops_unittest \
46 SampleApp \ 46 SampleApp \
47 SkiaAndroidApp \ 47 SkiaAndroidApp \
48 skia_base_libs \ 48 skia_lib \
borenet 2013/05/31 14:29:57 I think it would be nice to have this just be "ski
49 tests \ 49 tests \
50 tools 50 tools
51 51
52 # Default target. This must be listed before all other targets. 52 # Default target. This must be listed before all other targets.
53 .PHONY: default 53 .PHONY: default
54 default: most 54 default: most
55 55
56 # As noted in http://code.google.com/p/skia/issues/detail?id=330 , building 56 # As noted in http://code.google.com/p/skia/issues/detail?id=330 , building
57 # multiple targets in parallel was failing. The special .NOTPARALLEL target 57 # multiple targets in parallel was failing. The special .NOTPARALLEL target
58 # tells gnu make not to run targets within _this_ Makefile in parallel, but the 58 # tells gnu make not to run targets within _this_ Makefile in parallel, but the
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 else ifneq (,$(findstring make, $(GYP_GENERATORS))) 117 else ifneq (,$(findstring make, $(GYP_GENERATORS)))
118 $(MAKE) -C $(SKIA_OUT) $@ BUILDTYPE=$(BUILDTYPE) 118 $(MAKE) -C $(SKIA_OUT) $@ BUILDTYPE=$(BUILDTYPE)
119 else ifneq (,$(findstring Darwin, $(uname))) 119 else ifneq (,$(findstring Darwin, $(uname)))
120 rm -f out/$(BUILDTYPE) || if test -d out/$(BUILDTYPE); then echo "run 'm ake clean' or otherwise delete out/$(BUILDTYPE)"; exit 1; fi 120 rm -f out/$(BUILDTYPE) || if test -d out/$(BUILDTYPE); then echo "run 'm ake clean' or otherwise delete out/$(BUILDTYPE)"; exit 1; fi
121 xcodebuild -project out/gyp/$@.xcodeproj -configuration $(BUILDTYPE) 121 xcodebuild -project out/gyp/$@.xcodeproj -configuration $(BUILDTYPE)
122 ln -s $(CWD)/xcodebuild/$(BUILDTYPE) out/$(BUILDTYPE) 122 ln -s $(CWD)/xcodebuild/$(BUILDTYPE) out/$(BUILDTYPE)
123 else 123 else
124 echo "unknown platform $(uname)" 124 echo "unknown platform $(uname)"
125 exit 1 125 exit 1
126 endif 126 endif
OLDNEW
« no previous file with comments | « no previous file | gyp/FileReaderApp.gyp » ('j') | gyp/skia_lib.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698