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

Side by Side Diff: public.bzl

Issue 1710493002: Speculative fix for Google3 iOS build (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Exclude srcs with dependencies Created 4 years, 10 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ################################################################################ 1 ################################################################################
2 # Skylark macros 2 # Skylark macros
3 ################################################################################ 3 ################################################################################
4 4
5 is_bazel = not hasattr(native, "genmpm") 5 is_bazel = not hasattr(native, "genmpm")
6 6
7 def portable_select(select_dict, bazel_condition, default_condition): 7 def portable_select(select_dict, bazel_condition, default_condition):
8 """Replaces select() with a Bazel-friendly wrapper. 8 """Replaces select() with a Bazel-friendly wrapper.
9 9
10 Args: 10 Args:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "src/**/*.cpp", 63 "src/**/*.cpp",
64 64
65 # Third Party 65 # Third Party
66 "third_party/etc1/*.cpp", 66 "third_party/etc1/*.cpp",
67 "third_party/etc1/*.h", 67 "third_party/etc1/*.h",
68 "third_party/ktx/*.cpp", 68 "third_party/ktx/*.cpp",
69 "third_party/ktx/*.h", 69 "third_party/ktx/*.h",
70 ], 70 ],
71 exclude = [ 71 exclude = [
72 # Exclude platform-dependent files. 72 # Exclude platform-dependent files.
73 "src/android/*",
74 "src/codec/*",
75 "src/device/xps/*", # Windows-only. Move to ports? 73 "src/device/xps/*", # Windows-only. Move to ports?
76 "src/doc/*_XPS.cpp", # Windows-only. Move to ports? 74 "src/doc/*_XPS.cpp", # Windows-only. Move to ports?
77 "src/fonts/SkFontMgr_fontconfig.cpp", 75 "src/fonts/SkFontMgr_fontconfig.cpp",
78 "src/gpu/gl/android/*", 76 "src/gpu/gl/android/*",
79 "src/gpu/gl/egl/*", 77 "src/gpu/gl/egl/*",
80 "src/gpu/gl/glx/*", 78 "src/gpu/gl/glx/*",
81 "src/gpu/gl/iOS/*", 79 "src/gpu/gl/iOS/*",
82 "src/gpu/gl/mac/*", 80 "src/gpu/gl/mac/*",
83 "src/gpu/gl/win/*", 81 "src/gpu/gl/win/*",
84 "src/images/*", 82 "src/images/*",
(...skipping 27 matching lines...) Expand all
112 "src/views/**/*", 110 "src/views/**/*",
113 "src/xml/SkBML_Verbs.h", 111 "src/xml/SkBML_Verbs.h",
114 "src/xml/SkBML_XMLParser.cpp", 112 "src/xml/SkBML_XMLParser.cpp",
115 "src/xml/SkXMLPullParser.cpp", 113 "src/xml/SkXMLPullParser.cpp",
116 ], 114 ],
117 ) 115 )
118 116
119 # Platform-dependent SRCS for google3-default platform. 117 # Platform-dependent SRCS for google3-default platform.
120 BASE_SRCS_UNIX = struct( 118 BASE_SRCS_UNIX = struct(
121 include = [ 119 include = [
122 "src/android/*",
123 "src/codec/*",
124 "src/fonts/SkFontMgr_fontconfig.cpp", 120 "src/fonts/SkFontMgr_fontconfig.cpp",
125 "src/images/*", 121 "src/images/*",
126 "src/opts/**/*.cpp", 122 "src/opts/**/*.cpp",
127 "src/opts/**/*.h", 123 "src/opts/**/*.h",
128 "src/ports/**/*.cpp", 124 "src/ports/**/*.cpp",
129 "src/ports/**/*.h", 125 "src/ports/**/*.h",
130 ], 126 ],
131 exclude = [ 127 exclude = [
132 "src/opts/*arm*", 128 "src/opts/*arm*",
133 "src/opts/*mips*", 129 "src/opts/*mips*",
(...skipping 26 matching lines...) Expand all
160 "src/ports/SkImageDecoder_WIC.cpp", 156 "src/ports/SkImageDecoder_WIC.cpp",
161 "src/ports/SkImageDecoder_empty.cpp", 157 "src/ports/SkImageDecoder_empty.cpp",
162 "src/ports/SkImageGenerator_none.cpp", 158 "src/ports/SkImageGenerator_none.cpp",
163 "src/ports/SkTLS_none.cpp", 159 "src/ports/SkTLS_none.cpp",
164 ], 160 ],
165 ) 161 )
166 162
167 # Platform-dependent SRCS for google3-default Android. 163 # Platform-dependent SRCS for google3-default Android.
168 BASE_SRCS_ANDROID = struct( 164 BASE_SRCS_ANDROID = struct(
169 include = [ 165 include = [
170 "src/android/*",
171 "src/codec/*",
172 "src/images/*", 166 "src/images/*",
173 # TODO(benjaminwagner): Figure out how to compile with EGL. 167 # TODO(benjaminwagner): Figure out how to compile with EGL.
174 "src/opts/**/*.cpp", 168 "src/opts/**/*.cpp",
175 "src/opts/**/*.h", 169 "src/opts/**/*.h",
176 "src/ports/**/*.cpp", 170 "src/ports/**/*.cpp",
177 "src/ports/**/*.h", 171 "src/ports/**/*.h",
178 ], 172 ],
179 exclude = [ 173 exclude = [
180 "src/opts/*mips*", 174 "src/opts/*mips*",
181 "src/opts/*SSE2*", 175 "src/opts/*SSE2*",
(...skipping 30 matching lines...) Expand all
212 # Platform-dependent SRCS for google3-default iOS. 206 # Platform-dependent SRCS for google3-default iOS.
213 BASE_SRCS_IOS = struct( 207 BASE_SRCS_IOS = struct(
214 include = [ 208 include = [
215 "src/opts/**/*.cpp", 209 "src/opts/**/*.cpp",
216 "src/opts/**/*.h", 210 "src/opts/**/*.h",
217 "src/ports/**/*.cpp", 211 "src/ports/**/*.cpp",
218 "src/ports/**/*.h", 212 "src/ports/**/*.h",
219 "src/utils/mac/*.cpp", 213 "src/utils/mac/*.cpp",
220 ], 214 ],
221 exclude = [ 215 exclude = [
216 "src/codec/*Gif*",
dogben 2016/02/17 20:00:58 Can't exclude these here, because they're already
msarett 2016/02/17 20:09:22 Oh gotcha - trying a new approach.
217 "src/codec/*Ico*",
218 "src/codec/*Jpeg*",
219 "src/codec/*Webp*",
220 "src/codec/*Png*",
221 "src/codec/*Raw*",
222 "src/opts/*mips*", 222 "src/opts/*mips*",
223 "src/opts/*NEON*", 223 "src/opts/*NEON*",
224 "src/opts/*neon*", 224 "src/opts/*neon*",
225 "src/opts/*SSE2*", 225 "src/opts/*SSE2*",
226 "src/opts/*SSSE3*", 226 "src/opts/*SSSE3*",
227 "src/opts/*ssse3*", 227 "src/opts/*ssse3*",
228 "src/opts/*SSE4*", 228 "src/opts/*SSE4*",
229 "src/opts/*sse4*", 229 "src/opts/*sse4*",
230 "src/opts/*avx*", 230 "src/opts/*avx*",
231 "src/opts/*x86*", 231 "src/opts/*x86*",
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 516
517 LINKOPTS_ANDROID = [ 517 LINKOPTS_ANDROID = [
518 "-lEGL", 518 "-lEGL",
519 ] 519 ]
520 520
521 LINKOPTS_IOS = [] 521 LINKOPTS_IOS = []
522 522
523 LINKOPTS_ALL = [ 523 LINKOPTS_ALL = [
524 "-ldl", 524 "-ldl",
525 ] 525 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698