| 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 # All platform-independent SRCS. | 8 # All platform-independent SRCS. |
| 9 BASE_SRCS = glob( | 9 BASE_SRCS = glob( |
| 10 [ | 10 [ |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 "src/utils/mac/**/*", | 34 "src/utils/mac/**/*", |
| 35 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? | 35 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? |
| 36 "src/utils/win/**/*", | 36 "src/utils/win/**/*", |
| 37 "src/views/sdl/*", | 37 "src/views/sdl/*", |
| 38 "src/views/win/*", | 38 "src/views/win/*", |
| 39 "src/views/unix/*", | 39 "src/views/unix/*", |
| 40 | 40 |
| 41 # Exclude multiple definitions. | 41 # Exclude multiple definitions. |
| 42 # TODO(mtklein): Move to opts? | 42 # TODO(mtklein): Move to opts? |
| 43 "src/doc/SkDocument_PDF_None.cpp", # We use SkDocument_PDF.cpp. | 43 "src/doc/SkDocument_PDF_None.cpp", # We use SkDocument_PDF.cpp. |
| 44 "src/fonts/*fontconfig*", | |
| 45 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", | 44 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", |
| 46 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | 45 "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
| 47 | 46 |
| 48 # Exclude files that don't compile with the current DEFINES. | 47 # Exclude files that don't compile with the current DEFINES. |
| 49 "src/codec/SkJpegCodec.cpp", # libjpeg_turbo version mismatch. | 48 "src/codec/SkJpegCodec.cpp", # libjpeg_turbo version mismatch. |
| 50 "src/gpu/gl/angle/*", # Requires SK_ANGLE define. | 49 "src/gpu/gl/angle/*", # Requires SK_ANGLE define. |
| 51 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE' | 50 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE' |
| 52 "src/gpu/gl/mesa/*", # Requires SK_MESA define. | 51 "src/gpu/gl/mesa/*", # Requires SK_MESA define. |
| 53 "src/svg/parser/*", # Missing SkSVG.h. | 52 "src/svg/parser/*", # Missing SkSVG.h. |
| 54 | 53 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 81 "src/opts/*SSSE3*", | 80 "src/opts/*SSSE3*", |
| 82 "src/opts/*ssse3*", | 81 "src/opts/*ssse3*", |
| 83 # Included in :opts_sse4 library. | 82 # Included in :opts_sse4 library. |
| 84 "src/opts/*SSE4*", | 83 "src/opts/*SSE4*", |
| 85 "src/opts/*sse4*", | 84 "src/opts/*sse4*", |
| 86 "src/opts/SkBitmapProcState_opts_none.cpp", | 85 "src/opts/SkBitmapProcState_opts_none.cpp", |
| 87 "src/opts/SkBlitMask_opts_none.cpp", | 86 "src/opts/SkBlitMask_opts_none.cpp", |
| 88 "src/opts/SkBlitRow_opts_none.cpp", | 87 "src/opts/SkBlitRow_opts_none.cpp", |
| 89 "src/ports/*android*", | 88 "src/ports/*android*", |
| 90 "src/ports/*chromium*", | 89 "src/ports/*chromium*", |
| 91 "src/ports/*fontconfig*", | |
| 92 "src/ports/*FontConfig*", | |
| 93 "src/ports/*mac*", | 90 "src/ports/*mac*", |
| 94 "src/ports/*mozalloc*", | 91 "src/ports/*mozalloc*", |
| 95 "src/ports/*nacl*", | 92 "src/ports/*nacl*", |
| 96 "src/ports/*win*", | 93 "src/ports/*win*", |
| 94 "src/ports/SkFontConfigInterface_direct.cpp", |
| 95 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
| 97 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 96 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
| 98 "src/ports/SkFontMgr_empty_factory.cpp", | 97 "src/ports/SkFontMgr_empty_factory.cpp", |
| 99 "src/ports/SkImageDecoder_CG.cpp", | 98 "src/ports/SkImageDecoder_CG.cpp", |
| 99 "src/ports/SkFontMgr_fontconfig_factory.cpp", |
| 100 "src/ports/SkImageDecoder_WIC.cpp", | 100 "src/ports/SkImageDecoder_WIC.cpp", |
| 101 "src/ports/SkImageDecoder_empty.cpp", | 101 "src/ports/SkImageDecoder_empty.cpp", |
| 102 "src/ports/SkImageGenerator_none.cpp", | 102 "src/ports/SkImageGenerator_none.cpp", |
| 103 "src/ports/SkTLS_none.cpp", | 103 "src/ports/SkTLS_none.cpp", |
| 104 ], | 104 ], |
| 105 ) | 105 ) |
| 106 | 106 |
| 107 # Platform-dependent SRCS for google3-default Android. | 107 # Platform-dependent SRCS for google3-default Android. |
| 108 BASE_SRCS_ANDROID = glob( | 108 BASE_SRCS_ANDROID = glob( |
| 109 [ | 109 [ |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 "include/utils/mac", | 254 "include/utils/mac", |
| 255 "include/utils/win", | 255 "include/utils/win", |
| 256 "include/svg", | 256 "include/svg", |
| 257 "include/xml", | 257 "include/xml", |
| 258 "src/codec", | 258 "src/codec", |
| 259 "src/core", | 259 "src/core", |
| 260 "src/gpu", | 260 "src/gpu", |
| 261 "src/image", | 261 "src/image", |
| 262 "src/lazy", | 262 "src/lazy", |
| 263 "src/opts", | 263 "src/opts", |
| 264 "src/ports", |
| 264 "src/pdf", | 265 "src/pdf", |
| 265 "src/sfnt", | 266 "src/sfnt", |
| 266 "src/utils", | 267 "src/utils", |
| 267 "third_party/etc1", | 268 "third_party/etc1", |
| 268 "third_party/ktx", | 269 "third_party/ktx", |
| 269 ] | 270 ] + EXTERNAL_INCLUDES |
| 270 | 271 |
| 271 ## :dm | 272 ## :dm |
| 272 | 273 |
| 273 # Platform-independent SRCS for DM. | 274 # Platform-independent SRCS for DM. |
| 274 DM_SRCS = glob( | 275 DM_SRCS = glob( |
| 275 [ | 276 [ |
| 276 "dm/*.cpp", | 277 "dm/*.cpp", |
| 277 "dm/*.h", | 278 "dm/*.h", |
| 278 "gm/*.c", | 279 "gm/*.c", |
| 279 "gm/*.cpp", | 280 "gm/*.cpp", |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 "--images %s/resources" % BASE_DIR, | 445 "--images %s/resources" % BASE_DIR, |
| 445 ], | 446 ], |
| 446 copts = COPTS, | 447 copts = COPTS, |
| 447 data = glob(["resources/**/*"]), | 448 data = glob(["resources/**/*"]), |
| 448 defines = DEFINES, | 449 defines = DEFINES, |
| 449 includes = DM_INCLUDES, | 450 includes = DM_INCLUDES, |
| 450 deps = DM_EXTERNAL_DEPS + [ | 451 deps = DM_EXTERNAL_DEPS + [ |
| 451 ":skia", | 452 ":skia", |
| 452 ] + EXTERNAL_DEPS_ALL, | 453 ] + EXTERNAL_DEPS_ALL, |
| 453 ) | 454 ) |
| OLD | NEW |