benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # Skylark macros |
| 3 | ################################################################################ |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 4 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 5 | is_bazel = not hasattr(native, "genmpm") |
| 6 | |
| 7 | def portable_select(select_dict, bazel_condition, default_condition): |
| 8 | """Replaces select() with a Bazel-friendly wrapper. |
| 9 | |
| 10 | Args: |
| 11 | select_dict: Dictionary in the same format as select(). |
| 12 | Returns: |
| 13 | If Blaze platform, returns select() using select_dict. |
| 14 | If Bazel platform, returns dependencies for condition |
| 15 | bazel_condition, or empty list if none specified. |
| 16 | """ |
| 17 | if is_bazel: |
| 18 | return select_dict.get(bazel_condition, select_dict[default_condition]) |
| 19 | else: |
| 20 | return select(select_dict) |
| 21 | |
| 22 | def skia_select(conditions, results): |
| 23 | """Replaces select() for conditions [UNIX, ANDROID, IOS] |
| 24 | |
| 25 | Args: |
| 26 | conditions: [CONDITION_UNIX, CONDITION_ANDROID, CONDITION_IOS] |
| 27 | results: [RESULT_UNIX, RESULT_ANDROID, RESULT_IOS] |
| 28 | Returns: |
| 29 | The result matching the platform condition. |
| 30 | """ |
| 31 | if len(conditions) != 3 or len(results) != 3: |
| 32 | fail("Must provide exactly 3 conditions and 3 results") |
| 33 | |
| 34 | selector = {} |
| 35 | for i in range(3): |
| 36 | selector[conditions[i]] = results[i] |
| 37 | return portable_select(selector, conditions[2], conditions[0]) |
| 38 | |
| 39 | def skia_glob(srcs): |
| 40 | """Replaces glob() with a version that accepts a struct. |
| 41 | |
| 42 | Args: |
| 43 | srcs: struct(include=[], exclude=[]) |
| 44 | Returns: |
| 45 | Equivalent of glob(srcs.include, exclude=srcs.exclude) |
| 46 | """ |
| 47 | if hasattr(srcs, 'include'): |
| 48 | if hasattr(srcs, 'exclude'): |
| 49 | return native.glob(srcs.include, exclude=srcs.exclude) |
| 50 | else: |
| 51 | return native.glob(srcs.include) |
| 52 | return [] |
| 53 | |
| 54 | ################################################################################ |
| 55 | ## BASE_SRCS |
| 56 | ################################################################################ |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 57 | |
benjaminwagner | 39e7aa4 | 2015-11-18 13:26:10 -0800 | [diff] [blame] | 58 | # All platform-independent SRCS. |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 59 | BASE_SRCS_ALL = struct( |
| 60 | include = [ |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 61 | "include/private/*.h", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 62 | "src/**/*.h", |
| 63 | "src/**/*.cpp", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 64 | |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 65 | # Third Party |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 66 | "third_party/etc1/*.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 67 | "third_party/etc1/*.h", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 68 | "third_party/ktx/*.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 69 | "third_party/ktx/*.h", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 70 | ], |
| 71 | exclude = [ |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 72 | # Exclude platform-dependent files. |
iroth | d2ccc77 | 2016-01-25 11:24:57 -0800 | [diff] [blame] | 73 | "src/android/*", |
iroth | 76a1225 | 2016-01-07 07:11:39 -0800 | [diff] [blame] | 74 | "src/codec/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 75 | "src/device/xps/*", # Windows-only. Move to ports? |
| 76 | "src/doc/*_XPS.cpp", # Windows-only. Move to ports? |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 77 | "src/fonts/SkFontMgr_fontconfig.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 78 | "src/gpu/gl/android/*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 79 | "src/gpu/gl/egl/*", |
benjaminwagner | af3b35e | 2016-03-28 13:27:28 -0700 | [diff] [blame] | 80 | "src/gpu/gl/glfw/*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 81 | "src/gpu/gl/glx/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 82 | "src/gpu/gl/iOS/*", |
| 83 | "src/gpu/gl/mac/*", |
| 84 | "src/gpu/gl/win/*", |
iroth | 76a1225 | 2016-01-07 07:11:39 -0800 | [diff] [blame] | 85 | "src/images/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 86 | "src/opts/**/*", |
| 87 | "src/ports/**/*", |
| 88 | "src/utils/android/**/*", |
| 89 | "src/utils/mac/**/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 90 | "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? |
| 91 | "src/utils/win/**/*", |
| 92 | "src/views/sdl/*", |
| 93 | "src/views/win/*", |
| 94 | "src/views/unix/*", |
| 95 | |
| 96 | # Exclude multiple definitions. |
| 97 | # TODO(mtklein): Move to opts? |
benjaminwagner | ca26a18 | 2016-03-14 15:21:12 -0700 | [diff] [blame] | 98 | "src/pdf/SkDocument_PDF_None.cpp", # We use src/pdf/SkPDFDocument.cpp. |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 99 | "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", |
| 100 | "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
iroth | 5f0de06 | 2016-02-17 12:47:27 -0800 | [diff] [blame] | 101 | "src/gpu/gl/GrGLDefaultInterface_none.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 102 | |
| 103 | # Exclude files that don't compile with the current DEFINES. |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 104 | "src/gpu/gl/mesa/*", # Requires SK_MESA define. |
| 105 | "src/svg/parser/*", # Missing SkSVG.h. |
| 106 | |
benjaminwagner | 39e7aa4 | 2015-11-18 13:26:10 -0800 | [diff] [blame] | 107 | # Conflicting dependencies among Lua versions. See cl/107087297. |
| 108 | "src/utils/SkLua*", |
| 109 | |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 110 | # Not used. |
| 111 | "src/animator/**/*", |
| 112 | "src/views/**/*", |
| 113 | "src/xml/SkBML_Verbs.h", |
| 114 | "src/xml/SkBML_XMLParser.cpp", |
| 115 | "src/xml/SkXMLPullParser.cpp", |
egdaniel | 32119f1 | 2016-02-22 10:07:54 -0800 | [diff] [blame] | 116 | |
| 117 | # Currently exclude all vulkan specific files |
| 118 | "src/gpu/vk/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 119 | ], |
| 120 | ) |
| 121 | |
| 122 | # Platform-dependent SRCS for google3-default platform. |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 123 | BASE_SRCS_UNIX = struct( |
| 124 | include = [ |
iroth | d2ccc77 | 2016-01-25 11:24:57 -0800 | [diff] [blame] | 125 | "src/android/*", |
iroth | 76a1225 | 2016-01-07 07:11:39 -0800 | [diff] [blame] | 126 | "src/codec/*", |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 127 | "src/fonts/SkFontMgr_fontconfig.cpp", |
iroth | 5f0de06 | 2016-02-17 12:47:27 -0800 | [diff] [blame] | 128 | "src/gpu/gl/GrGLDefaultInterface_none.cpp", |
iroth | 76a1225 | 2016-01-07 07:11:39 -0800 | [diff] [blame] | 129 | "src/images/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 130 | "src/opts/**/*.cpp", |
| 131 | "src/opts/**/*.h", |
| 132 | "src/ports/**/*.cpp", |
| 133 | "src/ports/**/*.h", |
| 134 | ], |
| 135 | exclude = [ |
| 136 | "src/opts/*arm*", |
| 137 | "src/opts/*mips*", |
| 138 | "src/opts/*NEON*", |
| 139 | "src/opts/*neon*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 140 | # Included in :opts_ssse3 library. |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 141 | "src/opts/*SSSE3*", |
| 142 | "src/opts/*ssse3*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 143 | # Included in :opts_sse4 library. |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 144 | "src/opts/*SSE4*", |
| 145 | "src/opts/*sse4*", |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 146 | # Included in :opts_avx or :opts_avx2 |
| 147 | "src/opts/*avx*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 148 | "src/opts/SkBitmapProcState_opts_none.cpp", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 149 | "src/opts/SkBlitMask_opts_none.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 150 | "src/opts/SkBlitRow_opts_none.cpp", |
msarett | 6b4985c | 2016-03-10 07:15:59 -0800 | [diff] [blame] | 151 | "src/ports/*CG*", |
msarett | fc0b6d1 | 2016-03-17 13:50:17 -0700 | [diff] [blame] | 152 | "src/ports/*WIC*", |
mtklein | 3f193a9 | 2016-03-10 08:52:05 -0800 | [diff] [blame] | 153 | "src/ports/*android*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 154 | "src/ports/*chromium*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 155 | "src/ports/*mac*", |
| 156 | "src/ports/*mozalloc*", |
| 157 | "src/ports/*nacl*", |
| 158 | "src/ports/*win*", |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 159 | "src/ports/SkFontConfigInterface_direct_factory.cpp", |
| 160 | "src/ports/SkFontMgr_custom_directory_factory.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 161 | "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
benjaminwagner | d9dd581 | 2016-03-21 10:45:01 -0700 | [diff] [blame] | 162 | "src/ports/SkFontMgr_custom_empty_factory.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 163 | "src/ports/SkFontMgr_empty_factory.cpp", |
benjaminwagner | 404816e | 2015-12-03 05:04:03 -0800 | [diff] [blame] | 164 | "src/ports/SkFontMgr_fontconfig.cpp", |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 165 | "src/ports/SkFontMgr_fontconfig_factory.cpp", |
msarett | c1d0312 | 2016-03-25 08:58:55 -0700 | [diff] [blame] | 166 | "src/ports/SkImageEncoder_none.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 167 | "src/ports/SkImageGenerator_none.cpp", |
| 168 | "src/ports/SkTLS_none.cpp", |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 169 | ], |
| 170 | ) |
| 171 | |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 172 | # Platform-dependent SRCS for google3-default Android. |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 173 | BASE_SRCS_ANDROID = struct( |
| 174 | include = [ |
iroth | d2ccc77 | 2016-01-25 11:24:57 -0800 | [diff] [blame] | 175 | "src/android/*", |
iroth | 76a1225 | 2016-01-07 07:11:39 -0800 | [diff] [blame] | 176 | "src/codec/*", |
iroth | 5f0de06 | 2016-02-17 12:47:27 -0800 | [diff] [blame] | 177 | "src/gpu/gl/GrGLDefaultInterface_none.cpp", |
iroth | 76a1225 | 2016-01-07 07:11:39 -0800 | [diff] [blame] | 178 | "src/images/*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 179 | # TODO(benjaminwagner): Figure out how to compile with EGL. |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 180 | "src/opts/**/*.cpp", |
| 181 | "src/opts/**/*.h", |
| 182 | "src/ports/**/*.cpp", |
| 183 | "src/ports/**/*.h", |
| 184 | ], |
| 185 | exclude = [ |
| 186 | "src/opts/*mips*", |
| 187 | "src/opts/*SSE2*", |
| 188 | "src/opts/*SSSE3*", |
| 189 | "src/opts/*ssse3*", |
| 190 | "src/opts/*SSE4*", |
| 191 | "src/opts/*sse4*", |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 192 | "src/opts/*avx*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 193 | "src/opts/*x86*", |
| 194 | "src/opts/SkBitmapProcState_opts_none.cpp", |
| 195 | "src/opts/SkBlitMask_opts_none.cpp", |
| 196 | "src/opts/SkBlitRow_opts_none.cpp", |
msarett | 6b4985c | 2016-03-10 07:15:59 -0800 | [diff] [blame] | 197 | "src/ports/*CG*", |
mtklein | 3f193a9 | 2016-03-10 08:52:05 -0800 | [diff] [blame] | 198 | "src/ports/*FontConfig*", |
msarett | fc0b6d1 | 2016-03-17 13:50:17 -0700 | [diff] [blame] | 199 | "src/ports/*WIC*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 200 | "src/ports/*chromium*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 201 | "src/ports/*fontconfig*", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 202 | "src/ports/*mac*", |
| 203 | "src/ports/*mozalloc*", |
| 204 | "src/ports/*nacl*", |
| 205 | "src/ports/*win*", |
| 206 | "src/ports/SkDebug_stdio.cpp", |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 207 | "src/ports/SkFontConfigInterface_direct_factory.cpp", |
| 208 | "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 209 | "src/ports/SkFontMgr_custom_directory_factory.cpp", |
| 210 | "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
benjaminwagner | d9dd581 | 2016-03-21 10:45:01 -0700 | [diff] [blame] | 211 | "src/ports/SkFontMgr_custom_empty_factory.cpp", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 212 | "src/ports/SkFontMgr_empty_factory.cpp", |
msarett | c1d0312 | 2016-03-25 08:58:55 -0700 | [diff] [blame] | 213 | "src/ports/SkImageEncoder_none.cpp", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 214 | "src/ports/SkImageGenerator_none.cpp", |
| 215 | "src/ports/SkTLS_none.cpp", |
| 216 | ], |
| 217 | ) |
| 218 | |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 219 | # Platform-dependent SRCS for google3-default iOS. |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 220 | BASE_SRCS_IOS = struct( |
| 221 | include = [ |
msarett | 2775cf5 | 2016-02-17 14:14:25 -0800 | [diff] [blame] | 222 | "src/android/*", |
| 223 | "src/codec/*", |
iroth | 5f0de06 | 2016-02-17 12:47:27 -0800 | [diff] [blame] | 224 | "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
| 225 | "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 226 | "src/opts/**/*.cpp", |
| 227 | "src/opts/**/*.h", |
| 228 | "src/ports/**/*.cpp", |
| 229 | "src/ports/**/*.h", |
iroth | ab669de | 2016-02-16 19:17:01 -0800 | [diff] [blame] | 230 | "src/utils/mac/*.cpp", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 231 | ], |
| 232 | exclude = [ |
msarett | 2775cf5 | 2016-02-17 14:14:25 -0800 | [diff] [blame] | 233 | "src/codec/*Gif*.cpp", |
| 234 | "src/codec/*Ico*.cpp", |
| 235 | "src/codec/*Jpeg*.cpp", |
| 236 | "src/codec/*Webp*.cpp", |
| 237 | "src/codec/*Png*", |
| 238 | "src/codec/*Raw*.cpp", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 239 | "src/opts/*mips*", |
| 240 | "src/opts/*NEON*", |
| 241 | "src/opts/*neon*", |
| 242 | "src/opts/*SSE2*", |
| 243 | "src/opts/*SSSE3*", |
| 244 | "src/opts/*ssse3*", |
| 245 | "src/opts/*SSE4*", |
| 246 | "src/opts/*sse4*", |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 247 | "src/opts/*avx*", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 248 | "src/opts/*x86*", |
| 249 | "src/opts/SkBitmapProcState_opts_none.cpp", |
iroth | d2ccc77 | 2016-01-25 11:24:57 -0800 | [diff] [blame] | 250 | "src/opts/SkBlitMask_opts_arm*.cpp", |
| 251 | "src/opts/SkBlitRow_opts_arm*.cpp", |
mtklein | 3f193a9 | 2016-03-10 08:52:05 -0800 | [diff] [blame] | 252 | "src/ports/*CG*", |
| 253 | "src/ports/*FontConfig*", |
| 254 | "src/ports/*FreeType*", |
msarett | fc0b6d1 | 2016-03-17 13:50:17 -0700 | [diff] [blame] | 255 | "src/ports/*WIC*", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 256 | "src/ports/*android*", |
| 257 | "src/ports/*chromium*", |
| 258 | "src/ports/*fontconfig*", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 259 | "src/ports/*mozalloc*", |
| 260 | "src/ports/*nacl*", |
| 261 | "src/ports/*win*", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 262 | "src/ports/SkFontMgr_custom.cpp", |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 263 | "src/ports/SkFontConfigInterface_direct_factory.cpp", |
| 264 | "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 265 | "src/ports/SkFontMgr_custom_directory_factory.cpp", |
| 266 | "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
benjaminwagner | d9dd581 | 2016-03-21 10:45:01 -0700 | [diff] [blame] | 267 | "src/ports/SkFontMgr_custom_empty_factory.cpp", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 268 | "src/ports/SkFontMgr_empty_factory.cpp", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 269 | "src/ports/SkImageGenerator_none.cpp", |
| 270 | "src/ports/SkTLS_none.cpp", |
| 271 | ], |
| 272 | ) |
| 273 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 274 | ################################################################################ |
| 275 | ## SSSE3/SSE4/AVX/AVX2 SRCS |
| 276 | ################################################################################ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 277 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 278 | SSSE3_SRCS = struct( |
| 279 | include = [ |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 280 | "src/opts/*SSSE3*.cpp", |
| 281 | "src/opts/*ssse3*.cpp", |
benjaminwagner | 89061ed | 2016-01-25 09:29:08 -0800 | [diff] [blame] | 282 | ], |
| 283 | ) |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 284 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 285 | SSE4_SRCS = struct( |
| 286 | include = [ |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 287 | "src/opts/*SSE4*.cpp", |
| 288 | "src/opts/*sse4*.cpp", |
benjaminwagner | 89061ed | 2016-01-25 09:29:08 -0800 | [diff] [blame] | 289 | ], |
| 290 | ) |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 291 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 292 | AVX_SRCS = struct( |
| 293 | include = [ |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 294 | "src/opts/*_avx.cpp", |
benjaminwagner | 89061ed | 2016-01-25 09:29:08 -0800 | [diff] [blame] | 295 | ], |
| 296 | ) |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 297 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 298 | AVX2_SRCS = struct( |
| 299 | include = [ |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 300 | "src/opts/*_avx2.cpp", |
benjaminwagner | 89061ed | 2016-01-25 09:29:08 -0800 | [diff] [blame] | 301 | ], |
| 302 | ) |
mtklein | f6d8d28 | 2015-12-17 10:18:04 -0800 | [diff] [blame] | 303 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 304 | ################################################################################ |
| 305 | ## BASE_HDRS |
| 306 | ################################################################################ |
| 307 | |
| 308 | BASE_HDRS = struct( |
| 309 | include = [ |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 310 | "include/**/*.h", |
iroth | d2ccc77 | 2016-01-25 11:24:57 -0800 | [diff] [blame] | 311 | "src/utils/SkWhitelistChecksums.cpp", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 312 | ], |
mtklein | d55d13a | 2015-08-18 08:51:49 -0700 | [diff] [blame] | 313 | exclude = [ |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 314 | "include/private/**/*", |
| 315 | |
| 316 | # Not used. |
| 317 | "include/animator/**/*", |
| 318 | "include/views/**/*", |
| 319 | "include/xml/SkBML_WXMLParser.h", |
| 320 | "include/xml/SkBML_XMLParser.h", |
benjaminwagner | 89061ed | 2016-01-25 09:29:08 -0800 | [diff] [blame] | 321 | ], |
| 322 | ) |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 323 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 324 | ################################################################################ |
| 325 | ## BASE_DEPS |
| 326 | ################################################################################ |
| 327 | |
| 328 | BASE_DEPS_ALL = [] |
| 329 | |
benjaminwagner | 39e7aa4 | 2015-11-18 13:26:10 -0800 | [diff] [blame] | 330 | BASE_DEPS_UNIX = [ |
iroth | 330043c | 2016-01-12 14:22:24 -0800 | [diff] [blame] | 331 | ":opts_ssse3", |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 332 | ":opts_sse4", |
| 333 | ":opts_avx", |
| 334 | ":opts_avx2", |
benjaminwagner | 39e7aa4 | 2015-11-18 13:26:10 -0800 | [diff] [blame] | 335 | ] |
| 336 | |
| 337 | BASE_DEPS_ANDROID = [] |
| 338 | |
| 339 | BASE_DEPS_IOS = [] |
| 340 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 341 | ################################################################################ |
| 342 | ## INCLUDES |
| 343 | ################################################################################ |
benjaminwagner | 39e7aa4 | 2015-11-18 13:26:10 -0800 | [diff] [blame] | 344 | |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 345 | # Includes needed by Skia implementation. Not public includes. |
| 346 | INCLUDES = [ |
benjaminwagner | fa7e1a0 | 2015-11-13 12:27:08 -0800 | [diff] [blame] | 347 | "include/android", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 348 | "include/c", |
robertphillips | 188d44c | 2016-02-01 04:54:14 -0800 | [diff] [blame] | 349 | "include/client/android", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 350 | "include/codec", |
| 351 | "include/config", |
| 352 | "include/core", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 353 | "include/effects", |
| 354 | "include/gpu", |
| 355 | "include/images", |
| 356 | "include/pathops", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 357 | "include/pipe", |
| 358 | "include/ports", |
| 359 | "include/private", |
| 360 | "include/utils", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 361 | "include/utils/mac", |
| 362 | "include/utils/win", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 363 | "include/svg", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 364 | "include/xml", |
benjaminwagner | fa7e1a0 | 2015-11-13 12:27:08 -0800 | [diff] [blame] | 365 | "src/codec", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 366 | "src/core", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 367 | "src/gpu", |
| 368 | "src/image", |
| 369 | "src/lazy", |
| 370 | "src/opts", |
benjaminwagner | 2211a7b | 2015-12-01 11:12:05 -0800 | [diff] [blame] | 371 | "src/ports", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 372 | "src/pdf", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 373 | "src/sfnt", |
| 374 | "src/utils", |
| 375 | "third_party/etc1", |
| 376 | "third_party/ktx", |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 377 | ] |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 378 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 379 | ################################################################################ |
| 380 | ## DM_SRCS |
| 381 | ################################################################################ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 382 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 383 | DM_SRCS_ALL = struct( |
| 384 | include = [ |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 385 | "dm/*.cpp", |
| 386 | "dm/*.h", |
| 387 | "gm/*.c", |
| 388 | "gm/*.cpp", |
| 389 | "gm/*.h", |
| 390 | "tests/*.cpp", |
| 391 | "tests/*.h", |
| 392 | "tools/CrashHandler.cpp", |
| 393 | "tools/CrashHandler.h", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 394 | "tools/ProcStats.cpp", |
| 395 | "tools/ProcStats.h", |
| 396 | "tools/Resources.cpp", |
| 397 | "tools/Resources.h", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 398 | "tools/flags/*.cpp", |
| 399 | "tools/flags/*.h", |
benjaminwagner | 38d68bc | 2016-04-01 05:00:51 -0700 | [diff] [blame^] | 400 | "tools/gpu/**/*.cpp", |
| 401 | "tools/gpu/**/*.h", |
mtklein | e1fc452 | 2016-02-09 12:32:52 -0800 | [diff] [blame] | 402 | "tools/random_parse_path.cpp", |
| 403 | "tools/random_parse_path.h", |
benjaminwagner | 3288514 | 2015-10-24 07:55:31 -0700 | [diff] [blame] | 404 | "tools/sk_tool_utils.cpp", |
| 405 | "tools/sk_tool_utils.h", |
| 406 | "tools/sk_tool_utils_font.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 407 | "tools/timer/*.cpp", |
| 408 | "tools/timer/*.h", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 409 | ], |
| 410 | exclude = [ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 411 | "dm/DMSrcSinkAndroid.cpp", # Android-only. |
| 412 | "tests/FontMgrAndroidParserTest.cpp", # Android-only. |
| 413 | "tests/PathOpsSkpClipTest.cpp", # Alternate main. |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 414 | "tests/skia_test.cpp", # Old main. |
| 415 | "tests/SkpSkGrTest.cpp", # Alternate main. |
benjaminwagner | 38d68bc | 2016-04-01 05:00:51 -0700 | [diff] [blame^] | 416 | "tools/gpu/gl/angle/*", |
| 417 | "tools/gpu/gl/command_buffer/*", |
| 418 | "tools/gpu/gl/egl/*", |
| 419 | "tools/gpu/gl/glx/*", |
| 420 | "tools/gpu/gl/iOS/*", |
| 421 | "tools/gpu/gl/mac/*", |
| 422 | "tools/gpu/gl/mesa/*", |
| 423 | "tools/gpu/gl/win/*", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 424 | "tools/timer/SysTimer_mach.cpp", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 425 | "tools/timer/SysTimer_windows.cpp", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 426 | ], |
| 427 | ) |
| 428 | |
benjaminwagner | 38d68bc | 2016-04-01 05:00:51 -0700 | [diff] [blame^] | 429 | DM_SRCS_UNIX = struct( |
| 430 | include = [ |
| 431 | "tools/gpu/gl/CreatePlatformGLContext_none.cpp", |
| 432 | ], |
| 433 | ) |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 434 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 435 | DM_SRCS_ANDROID = struct( |
| 436 | include = [ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 437 | # Depends on Android HWUI library that is not available in google3. |
| 438 | #"dm/DMSrcSinkAndroid.cpp", |
| 439 | "tests/FontMgrAndroidParserTest.cpp", |
benjaminwagner | 38d68bc | 2016-04-01 05:00:51 -0700 | [diff] [blame^] | 440 | # TODO(benjaminwagner): Figure out how to compile with EGL. |
| 441 | "tools/gpu/gl/CreatePlatformGLContext_none.cpp", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 442 | ], |
| 443 | ) |
| 444 | |
benjaminwagner | 38d68bc | 2016-04-01 05:00:51 -0700 | [diff] [blame^] | 445 | DM_SRCS_IOS = struct( |
| 446 | include = [ |
| 447 | "tools/gpu/iOS/CreatePlatformGLContext_iOS.cpp", |
| 448 | ], |
| 449 | ) |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 450 | |
| 451 | ################################################################################ |
| 452 | ## DM_INCLUDES |
| 453 | ################################################################################ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 454 | |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 455 | DM_INCLUDES = [ |
benjaminwagner | b1fe8f6 | 2016-02-01 09:05:08 -0800 | [diff] [blame] | 456 | "dm", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 457 | "gm", |
| 458 | "src/codec", |
| 459 | "src/effects", |
benjaminwagner | bc9a9b4 | 2016-02-22 13:30:39 -0800 | [diff] [blame] | 460 | "src/effects/gradients", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 461 | "src/fonts", |
| 462 | "src/pathops", |
| 463 | "src/pipe/utils", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 464 | "src/ports", |
ethannicholas | 3cb9542 | 2016-02-09 12:44:06 -0800 | [diff] [blame] | 465 | "tools/debugger", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 466 | "tests", |
| 467 | "tools", |
| 468 | "tools/flags", |
benjaminwagner | 38d68bc | 2016-04-01 05:00:51 -0700 | [diff] [blame^] | 469 | "tools/gpu", |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 470 | "tools/timer", |
| 471 | ] |
| 472 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 473 | ################################################################################ |
| 474 | ## DM_ARGS |
| 475 | ################################################################################ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 476 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 477 | def DM_ARGS(base_dir): |
| 478 | return [ |
| 479 | "--nogpu", |
| 480 | "--verbose", |
| 481 | # TODO(mtklein): maybe investigate why these fail? |
benjaminwagner | f6bfccd | 2016-02-25 10:28:11 -0800 | [diff] [blame] | 482 | "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Codec ~Stream ~skps ~RecordDraw_TextBounds ~PaintBreakText", |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 483 | "--resourcePath %s/resources" % base_dir, |
| 484 | "--images %s/resources" % base_dir, |
| 485 | ] |
| 486 | |
| 487 | ################################################################################ |
| 488 | ## COPTS |
| 489 | ################################################################################ |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 490 | |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 491 | COPTS_UNIX = [ |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 492 | "-Wno-implicit-fallthrough", # Some intentional fallthrough. |
benjaminwagner | 7d974f5 | 2015-10-19 13:55:55 -0700 | [diff] [blame] | 493 | "-Wno-deprecated-declarations", # Internal use of deprecated methods. :( |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 494 | ] |
| 495 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 496 | COPTS_ANDROID = ["-mfpu=neon"] |
| 497 | |
| 498 | COPTS_IOS = [] |
| 499 | |
| 500 | COPTS_ALL = [] |
| 501 | |
| 502 | ################################################################################ |
| 503 | ## DEFINES |
| 504 | ################################################################################ |
| 505 | |
| 506 | DEFINES_UNIX = [ |
msarett | 70e418b | 2016-02-12 12:35:48 -0800 | [diff] [blame] | 507 | "PNG_SKIP_SETJMP_CHECK", |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 508 | "SK_BUILD_FOR_UNIX", |
| 509 | "SK_SAMPLES_FOR_X", |
| 510 | "SK_SFNTLY_SUBSETTER", |
msarett | 39b2d5a | 2016-02-17 08:26:31 -0800 | [diff] [blame] | 511 | "SK_CODEC_DECODES_GIF", |
| 512 | "SK_CODEC_DECODES_JPEG", |
| 513 | "SK_CODEC_DECODES_PNG", |
benjaminwagner | 186e0b9 | 2016-02-11 16:00:24 -0800 | [diff] [blame] | 514 | "SK_CODEC_DECODES_RAW", |
msarett | 39b2d5a | 2016-02-17 08:26:31 -0800 | [diff] [blame] | 515 | "SK_CODEC_DECODES_WEBP", |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 516 | ] |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 517 | |
| 518 | DEFINES_ANDROID = [ |
| 519 | "SK_BUILD_FOR_ANDROID", |
msarett | 39b2d5a | 2016-02-17 08:26:31 -0800 | [diff] [blame] | 520 | "SK_CODEC_DECODES_GIF", |
| 521 | "SK_CODEC_DECODES_JPEG", |
| 522 | "SK_CODEC_DECODES_PNG", |
benjaminwagner | 186e0b9 | 2016-02-11 16:00:24 -0800 | [diff] [blame] | 523 | "SK_CODEC_DECODES_RAW", |
msarett | 39b2d5a | 2016-02-17 08:26:31 -0800 | [diff] [blame] | 524 | "SK_CODEC_DECODES_WEBP", |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 525 | ] |
| 526 | |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 527 | DEFINES_IOS = [ |
| 528 | "SK_BUILD_FOR_IOS", |
| 529 | "SK_IGNORE_ETC1_SUPPORT", |
iroth | d2ccc77 | 2016-01-25 11:24:57 -0800 | [diff] [blame] | 530 | "SKNX_NO_SIMD", |
iroth | 8b99ef4 | 2015-11-02 11:11:21 -0800 | [diff] [blame] | 531 | ] |
| 532 | |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 533 | DEFINES_ALL = [ |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 534 | # Chrome DEFINES. |
| 535 | "SK_USE_FLOATBITS", |
| 536 | "SK_USE_FREETYPE_EMBOLDEN", |
reed | e8f3062 | 2016-03-23 18:59:25 -0700 | [diff] [blame] | 537 | "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
reed | 7b380d0 | 2016-03-21 13:25:16 -0700 | [diff] [blame] | 538 | "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
reed | b95f555 | 2016-03-21 08:30:19 -0700 | [diff] [blame] | 539 | "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 540 | # Turn on a few Google3-specific build fixes. |
| 541 | "GOOGLE3", |
reed | d053ce9 | 2016-03-22 10:17:23 -0700 | [diff] [blame] | 542 | # Staging flags for API changes |
| 543 | "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
| 544 | "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
fmalita | 41c4096 | 2016-03-24 11:05:28 -0700 | [diff] [blame] | 545 | "SK_SUPPORT_LEGACY_PICTURE_PTR", |
reed | cfb6bdf | 2016-03-29 11:32:50 -0700 | [diff] [blame] | 546 | "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
benjaminwagner | 787ca87 | 2015-08-17 12:58:10 -0700 | [diff] [blame] | 547 | ] |
| 548 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 549 | ################################################################################ |
| 550 | ## LINKOPTS |
| 551 | ################################################################################ |
benjaminwagner | 86ea33e | 2015-10-26 10:46:25 -0700 | [diff] [blame] | 552 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 553 | LINKOPTS_UNIX = [] |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 554 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 555 | LINKOPTS_ANDROID = [ |
| 556 | "-lEGL", |
| 557 | ] |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 558 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 559 | LINKOPTS_IOS = [] |
benjaminwagner | 6f6bef8 | 2015-10-15 08:09:44 -0700 | [diff] [blame] | 560 | |
benjaminwagner | 56f6d06 | 2016-01-13 10:45:19 -0800 | [diff] [blame] | 561 | LINKOPTS_ALL = [ |
| 562 | "-ldl", |
| 563 | ] |