OLD | NEW |
1 # Description: | 1 # Description: |
2 # Skia graphics library. | 2 # Skia graphics library. |
3 # | 3 # |
4 # Definitions for Google BUILD file. | 4 # Definitions for Google BUILD file. |
5 | 5 |
6 exports_files(["BUILD.public"]) | 6 exports_files(["BUILD.public"]) |
7 | 7 |
8 # Platform-independent SRCS | 8 # Platform-independent SRCS |
9 SRCS = glob( | 9 SRCS = glob( |
10 [ | 10 [ |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 "src/pipe/utils", | 212 "src/pipe/utils", |
213 "src/utils/debugger", | 213 "src/utils/debugger", |
214 "tests", | 214 "tests", |
215 "tools", | 215 "tools", |
216 "tools/flags", | 216 "tools/flags", |
217 "tools/timer", | 217 "tools/timer", |
218 ] | 218 ] |
219 | 219 |
220 COPTS = [ | 220 COPTS = [ |
221 "-Wno-implicit-fallthrough", # Some intentional fallthrough. | 221 "-Wno-implicit-fallthrough", # Some intentional fallthrough. |
| 222 "-Wno-deprecated-declarations", # Internal use of deprecated methods. :( |
222 ] | 223 ] |
223 | 224 |
224 DEFINES = [ | 225 DEFINES = [ |
225 # It'd be nice for fastbuild, dbg -> SK_DEBUG, opt -> SK_RELEASE. | 226 # It'd be nice for fastbuild, dbg -> SK_DEBUG, opt -> SK_RELEASE. |
226 "SK_RELEASE", | 227 "SK_RELEASE", |
227 # Chrome DEFINES. | 228 # Chrome DEFINES. |
228 "SK_USE_FLOATBITS", | 229 "SK_USE_FLOATBITS", |
229 "SK_USE_FREETYPE_EMBOLDEN", | 230 "SK_USE_FREETYPE_EMBOLDEN", |
230 # Turn on a few Google3-specific build fixes. | 231 # Turn on a few Google3-specific build fixes. |
231 "GOOGLE3", | 232 "GOOGLE3", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 "--images %s/resources" % BASE_DIR, | 281 "--images %s/resources" % BASE_DIR, |
281 ], | 282 ], |
282 copts = COPTS, | 283 copts = COPTS, |
283 data = glob(["resources/*"]), | 284 data = glob(["resources/*"]), |
284 defines = DEFINES, | 285 defines = DEFINES, |
285 includes = DM_INCLUDES, | 286 includes = DM_INCLUDES, |
286 deps = DM_EXTERNAL_DEPS + [ | 287 deps = DM_EXTERNAL_DEPS + [ |
287 ":skia", | 288 ":skia", |
288 ], | 289 ], |
289 ) | 290 ) |
OLD | NEW |