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

Side by Side Diff: BUILD.public

Issue 1298003007: Update BUILD.public a bit. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: exclude include/private from hdrs Created 5 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
« no previous file with comments | « no previous file | tools/BUILD.public.expected » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 13 matching lines...) Expand all
24 "src/sfnt/*.cpp", 24 "src/sfnt/*.cpp",
25 "src/utils/*.cpp", 25 "src/utils/*.cpp",
26 "src/gpu/*.cpp", 26 "src/gpu/*.cpp",
27 "src/gpu/effects/*.cpp", 27 "src/gpu/effects/*.cpp",
28 "src/gpu/gl/*.cpp", 28 "src/gpu/gl/*.cpp",
29 "src/gpu/gl/builders/*.cpp", 29 "src/gpu/gl/builders/*.cpp",
30 "src/gpu/gl/debug/*.cpp", 30 "src/gpu/gl/debug/*.cpp",
31 "src/gpu/gl/glx/*.cpp", 31 "src/gpu/gl/glx/*.cpp",
32 "src/opts/opts_check_x86.cpp", 32 "src/opts/opts_check_x86.cpp",
33 "src/opts/*SSE2*.cpp", 33 "src/opts/*SSE2*.cpp",
34 "src/opts/*sse2*.cpp",
34 "src/opts/SkTextureCompression_opts_none.cpp", 35 "src/opts/SkTextureCompression_opts_none.cpp",
35 36
36 # TODO(mtklein): might be more maintainable with a blacklist instead? 37 # TODO(mtklein): might be more maintainable with a blacklist instead?
37 "src/ports/SkBarriers_x86.cpp", 38 "src/ports/SkBarriers_x86.cpp",
38 "src/ports/SkDebug_stdio.cpp", 39 "src/ports/SkDebug_stdio.cpp",
39 "src/ports/SkDiscardableMemory_none.cpp", 40 "src/ports/SkDiscardableMemory_none.cpp",
40 "src/ports/SkFontHost_linux.cpp", 41 "src/ports/SkFontHost_linux.cpp",
41 "src/ports/SkFontHost_FreeType.cpp", 42 "src/ports/SkFontHost_FreeType.cpp",
42 "src/ports/SkFontHost_FreeType_common.cpp", 43 "src/ports/SkFontHost_FreeType_common.cpp",
43 "src/ports/SkGlobalInitialization_default.cpp", 44 "src/ports/SkGlobalInitialization_default.cpp",
44 "src/ports/SkImageGenerator_skia.cpp", 45 "src/ports/SkImageGenerator_skia.cpp",
45 "src/ports/SkMemory_malloc.cpp", 46 "src/ports/SkMemory_malloc.cpp",
46 "src/ports/SkMutex_pthread.h", 47 "src/ports/SkMutex_pthread.h",
47 "src/ports/SkOSFile_posix.cpp", 48 "src/ports/SkOSFile_posix.cpp",
48 "src/ports/SkOSFile_stdio.cpp", 49 "src/ports/SkOSFile_stdio.cpp",
49 "src/ports/SkTLS_pthread.cpp", 50 "src/ports/SkTLS_pthread.cpp",
50 "src/ports/SkTime_Unix.cpp", 51 "src/ports/SkTime_Unix.cpp",
51 52
52 » # Third Party 53 # Third Party
53 "third_party/etc1/*.cpp", 54 "third_party/etc1/*.cpp",
54 "third_party/ktx/*.cpp", 55 "third_party/ktx/*.cpp",
55 ], 56 ],
56 exclude = [ 57 exclude = [
57 "src/pdf/SkPDFFont.cpp", # Wrapped by google/SkPDFFont_sfntly.cpp 58 "src/pdf/SkPDFFont.cpp", # Wrapped by google/SkPDFFont_sfntly.cpp
58 "src/gpu/gl/GrGLDefaultInterface_none.cpp", 59 "src/gpu/gl/GrGLDefaultInterface_none.cpp",
59 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", 60 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
60 # TODO(mtklein): files below here probably want upstream fixes 61 # TODO(mtklein): files below here probably want upstream fixes
61 "src/utils/SkThreadUtils_pthread_mach.cpp", # Mac-only. Move to ports? 62 "src/utils/SkThreadUtils_pthread_mach.cpp", # Mac-only. Move to ports?
62 » # Non-Mac-non-Linux. Move to ports? 63 # Non-Mac-non-Linux. Move to ports?
63 "src/utils/SkThreadUtils_pthread_other.cpp", 64 "src/utils/SkThreadUtils_pthread_other.cpp",
64 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? 65 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports?
65 "src/doc/*_XPS.cpp", 66 "src/doc/*_XPS.cpp", # Windows-only.
67 "src/doc/SkDocument_PDF_None.cpp", # We use SkDocument_PDF.cpp.
66 68
67 # TODO(melanielc): These don't compile. Maybe remove them? 69 # TODO(melanielc): These don't compile. Maybe remove them?
68 "src/pathops/SkConicLineIntersection.cpp", 70 "src/pathops/SkConicLineIntersection.cpp",
69 "src/pathops/SkPathOpsPostSect.cpp", 71 "src/pathops/SkPathOpsPostSect.cpp",
70 ], 72 ],
71 ) 73 )
72 74
75 SRCS_SSSE3 = glob(
76 [
77 "src/opts/*SSSE3*.cpp",
78 "src/opts/*ssse3*.cpp",
79 ]
80 )
81
82 SRCS_SSE4 = glob(
83 [
84 "src/opts/*SSE4*.cpp",
85 "src/opts/*sse4*.cpp",
86 ]
87 )
88
73 HDRS = glob( 89 HDRS = glob(
74 [ 90 [
75 "include/**/*.h", 91 "include/**/*.h",
76 ], 92 ],
93 exclude = [
94 "include/animator/*.h",
95 "include/private/*.h",
dogben 2015/08/18 13:17:52 Do these need to be in SRCS?
96 ],
77 ) 97 )
78 98
79 # Includes needed by Skia implementation. Not public includes. 99 # Includes needed by Skia implementation. Not public includes.
80 INCLUDES = [ 100 INCLUDES = [
81 "include/animator",
82 "include/c", 101 "include/c",
83 "include/codec", 102 "include/codec",
84 "include/config", 103 "include/config",
85 "include/core", 104 "include/core",
86 "include/device", 105 "include/device",
87 "include/effects", 106 "include/effects",
88 "include/gpu", 107 "include/gpu",
89 "include/images", 108 "include/images",
90 "include/pathops", 109 "include/pathops",
91 "include/pdf", 110 "include/pdf",
(...skipping 28 matching lines...) Expand all
120 # Chrome DEFINES. 139 # Chrome DEFINES.
121 "SK_USE_FLOATBITS", 140 "SK_USE_FLOATBITS",
122 "SK_USE_FREETYPE_EMBOLDEN", 141 "SK_USE_FREETYPE_EMBOLDEN",
123 # Turn on a few Google3-specific build fixes. 142 # Turn on a few Google3-specific build fixes.
124 "GOOGLE3", 143 "GOOGLE3",
125 "SK_BUILD_FOR_UNIX", 144 "SK_BUILD_FOR_UNIX",
126 "SK_SAMPLES_FOR_X", 145 "SK_SAMPLES_FOR_X",
127 ] 146 ]
128 147
129 LINKOPTS = ["-ldl"] 148 LINKOPTS = ["-ldl"]
OLDNEW
« no previous file with comments | « no previous file | tools/BUILD.public.expected » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698