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

Side by Side Diff: Makefile.old

Issue 22881005: Replace uses of GR_API by SK_API. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 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/common_conditions.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Simple makefile for skia library and test apps 1 # Simple makefile for skia library and test apps
2 # 2 #
3 # This is the handmade Makefile that we *used* to use before changing over 3 # This is the handmade Makefile that we *used* to use before changing over
4 # to gyp. Keeping it around for now in case some folks need to use it... 4 # to gyp. Keeping it around for now in case some folks need to use it...
5 # but please contact epoger@google.com about anything you're still using in 5 # but please contact epoger@google.com about anything you're still using in
6 # here, so we can provide equivalent functionality in the gyp build. 6 # here, so we can provide equivalent functionality in the gyp build.
7 7
8 # setup our defaults 8 # setup our defaults
9 CC := gcc 9 CC := gcc
10 GPP := g++ 10 GPP := g++
(...skipping 15 matching lines...) Expand all
26 endif 26 endif
27 27
28 ifeq ($(SKIA_DEBUG),true) 28 ifeq ($(SKIA_DEBUG),true)
29 DEFINES += -DSK_DEBUG -DSK_SUPPORT_UNIT -DGR_DEBUG=1 29 DEFINES += -DSK_DEBUG -DSK_SUPPORT_UNIT -DGR_DEBUG=1
30 CFLAGS += -g 30 CFLAGS += -g
31 else 31 else
32 CFLAGS += -O3 32 CFLAGS += -O3
33 DEFINES += -DSK_RELEASE -DGR_DEBUG=0 33 DEFINES += -DSK_RELEASE -DGR_DEBUG=0
34 endif 34 endif
35 35
36 DEFINES += -DGR_IMPLEMENTATION=1
37
38 ifneq ($(SKIA_PDF_SUPPORT),false) 36 ifneq ($(SKIA_PDF_SUPPORT),false)
39 DEFINES += -DSK_SUPPORT_PDF 37 DEFINES += -DSK_SUPPORT_PDF
40 DEFINES += -DSK_ZLIB_INCLUDE="<zlib.h>" 38 DEFINES += -DSK_ZLIB_INCLUDE="<zlib.h>"
41 endif 39 endif
42 40
43 ifeq ($(SKIA_SHARED),true) 41 ifeq ($(SKIA_SHARED),true)
44 CFLAGS += -fPIC 42 CFLAGS += -fPIC
45 LIBSKIA = out/libskia.so 43 LIBSKIA = out/libskia.so
46 else 44 else
47 LIBSKIA = out/libskia.a 45 LIBSKIA = out/libskia.a
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 @echo " clean: removes entire out/ directory" 318 @echo " clean: removes entire out/ directory"
321 @echo " help: this text" 319 @echo " help: this text"
322 @echo "Options: (after make, or in bash shell)" 320 @echo "Options: (after make, or in bash shell)"
323 @echo " SKIA_DEBUG=true for debug build" 321 @echo " SKIA_DEBUG=true for debug build"
324 @echo " SKIA_SHARED=true for shared-object libskia build" 322 @echo " SKIA_SHARED=true for shared-object libskia build"
325 @echo " SKIA_SCALAR=fixed for fixed-point build" 323 @echo " SKIA_SCALAR=fixed for fixed-point build"
326 @echo " SKIA_BUILD_FOR=mac for mac build (e.g. CG for image decoding) " 324 @echo " SKIA_BUILD_FOR=mac for mac build (e.g. CG for image decoding) "
327 @echo " SKIA_PDF_SUPPORT=false to disable the pdf generation backend" 325 @echo " SKIA_PDF_SUPPORT=false to disable the pdf generation backend"
328 @echo " SKIA_MESA=true to build with osmesa instead of native GL. 326 @echo " SKIA_MESA=true to build with osmesa instead of native GL.
329 @echo "" 327 @echo ""
OLDNEW
« no previous file with comments | « no previous file | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698