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

Side by Side Diff: skia/build.scons

Issue 354011: This change kills the SCons build, since we have switched completely... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 1 month 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 | « serializer/build.scons ('k') | statsreport/build.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2009, Google Inc.
2 # All rights reserved.
3 #
4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are
6 # met:
7 #
8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above
11 # copyright notice, this list of conditions and the following disclaimer
12 # in the documentation and/or other materials provided with the
13 # distribution.
14 # * Neither the name of Google Inc. nor the names of its
15 # contributors may be used to endorse or promote products derived from
16 # this software without specific prior written permission.
17 #
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30
31 Import('env')
32
33 env.Prepend(
34 CPPPATH = [
35 '$SKIA_DIR/include/core',
36 '$SKIA_DIR/include/ports',
37 '$SKIA_DIR/include/effects',
38 ],
39 )
40
41 inputs = [
42 'core/Sk64',
43 'core/SkAlphaRuns',
44 'core/SkBitmap',
45 'core/SkBitmapProcShader',
46 'core/SkBitmapProcState',
47 'core/SkBitmapProcState_matrixProcs',
48 'core/SkBitmapSampler',
49 'core/SkBitmapShader',
50 'core/SkBitmap_scroll',
51 'core/SkBlitRow_D16',
52 'core/SkBlitRow_D4444',
53 'core/SkBlitter',
54 'core/SkBlitter_4444',
55 'core/SkBlitter_A1',
56 'core/SkBlitter_A8',
57 'core/SkBlitter_ARGB32',
58 'core/SkBlitter_RGB16',
59 'core/SkBlitter_Sprite',
60 'core/SkBuffer',
61 'core/SkCanvas',
62 'core/SkChunkAlloc',
63 'core/SkColor',
64 'core/SkColorFilter',
65 'core/SkColorTable',
66 'core/SkComposeShader',
67 'core/SkCordic',
68 'core/SkDebug',
69 'core/SkDebug_stdio',
70 'core/SkDeque',
71 'core/SkDevice',
72 'core/SkDither',
73 'core/SkDraw',
74 'core/SkEdge',
75 'core/SkFilterProc',
76 'core/SkFlattenable',
77 'core/SkFloat',
78 'core/SkFloatBits',
79 'core/SkGeometry',
80 'core/SkGlobals',
81 'core/SkGlyphCache',
82 'core/SkGraphics',
83 'core/SkMask',
84 'core/SkMaskFilter',
85 'core/SkMath',
86 'core/SkMatrix',
87 'core/SkMemory_stdlib',
88 # 'core/SkMMapStream',
89 'core/SkPackBits',
90 'core/SkPaint',
91 'core/SkPath',
92 'core/SkPathEffect',
93 'core/SkPathHeap',
94 'core/SkPathMeasure',
95 'core/SkPicture',
96 'core/SkPictureFlat',
97 'core/SkPicturePlayback',
98 'core/SkPictureRecord',
99 'core/SkPixelRef',
100 'core/SkPoint',
101 'core/SkProcSpriteBlitter',
102 'core/SkPtrRecorder',
103 'core/SkQuadClipper',
104 'core/SkRasterizer',
105 'core/SkRect',
106 'core/SkRefCnt',
107 'core/SkRegion',
108 'core/SkRegion_path',
109 'core/SkScalerContext',
110 'core/SkScan',
111 'core/SkScan_Antihair',
112 'core/SkScan_AntiPath',
113 'core/SkScan_Hairline',
114 'core/SkScan_Path',
115 'core/SkShader',
116 'core/SkSpriteBlitter_ARGB32',
117 'core/SkSpriteBlitter_RGB16',
118 'core/SkStream',
119 'core/SkString',
120 'core/SkStroke',
121 'core/SkStrokerPriv',
122 'core/SkTSearch',
123 'core/SkTypeface',
124 'core/SkUnPreMultiply',
125 'core/SkUtils',
126 'core/SkWriter32',
127 'core/SkXfermode',
128
129 'effects/SkBlurDrawLooper',
130 'effects/SkBlurMask',
131 'effects/SkBlurMaskFilter',
132 'effects/SkGradientShader',
133 'effects/SkLayerDrawLooper',
134 'effects/SkStrokeDrawLooper',
135
136 'ports/SkOSFile_stdio',
137 'ports/SkGlobals_global',
138 ]
139
140 if env.Bit('windows'):
141 inputs += [
142 'ports/SkFontHost_win',
143 'ports/SkThread_win',
144 ]
145
146 if env.Bit('mac'):
147 inputs += [
148 'ports/SkFontHost_mac',
149 'ports/SkThread_pthread'
150 ]
151
152 # TODO: Until the appropriate SkFontHost file is substituted here,
153 # we won't have font support on linux.
154 if env.Bit('linux'):
155 inputs += [
156 'ports/SkFontHost_none',
157 'ports/SkThread_pthread'
158 ]
159
160 # gcc crashes on SkDraw.cpp when run with the -O3 flag so
161 # we compile Skia with -O2 instead.
162 if env.Bit('mac') or env.Bit('linux'):
163 if not env['DEBUG']:
164 env.FilterOut(CCFLAGS=['-O3'])
165 env.Append(CCFLAGS=['-O2'])
166
167 objects = env.MakeObjects(inputs, '$SKIA_DIR/src', 'cpp')
168 env.ComponentLibrary('skia', inputs)
OLDNEW
« no previous file with comments | « serializer/build.scons ('k') | statsreport/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698