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

Side by Side Diff: BUILD.public

Issue 1405023013: In BUILD.public, specify alwayslink for skia library. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 1 month 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 "src/opts/*SSSE3*", 83 "src/opts/*SSSE3*",
84 "src/opts/*ssse3*", 84 "src/opts/*ssse3*",
85 # Included in :opts_sse4 library. 85 # Included in :opts_sse4 library.
86 "src/opts/*SSE4*", 86 "src/opts/*SSE4*",
87 "src/opts/*sse4*", 87 "src/opts/*sse4*",
88 "src/opts/SkBitmapProcState_opts_none.cpp", 88 "src/opts/SkBitmapProcState_opts_none.cpp",
89 "src/opts/SkBlitMask_opts_none.cpp", 89 "src/opts/SkBlitMask_opts_none.cpp",
90 "src/opts/SkBlitRow_opts_none.cpp", 90 "src/opts/SkBlitRow_opts_none.cpp",
91 "src/ports/*android*", 91 "src/ports/*android*",
92 "src/ports/*chromium*", 92 "src/ports/*chromium*",
93 "src/ports/*CG*",
94 "src/ports/*fontconfig*", 93 "src/ports/*fontconfig*",
95 "src/ports/*FontConfig*", 94 "src/ports/*FontConfig*",
96 "src/ports/*mac*", 95 "src/ports/*mac*",
97 "src/ports/*mozalloc*", 96 "src/ports/*mozalloc*",
98 "src/ports/*nacl*", 97 "src/ports/*nacl*",
99 "src/ports/*win*", 98 "src/ports/*win*",
100 "src/ports/SkFontMgr_custom_embedded_factory.cpp", 99 "src/ports/SkFontMgr_custom_embedded_factory.cpp",
101 "src/ports/SkFontMgr_empty_factory.cpp", 100 "src/ports/SkFontMgr_empty_factory.cpp",
101 "src/ports/SkImageDecoder_CG.cpp",
102 "src/ports/SkImageDecoder_WIC.cpp", 102 "src/ports/SkImageDecoder_WIC.cpp",
103 "src/ports/SkImageDecoder_empty.cpp", 103 "src/ports/SkImageDecoder_empty.cpp",
104 "src/ports/SkImageGenerator_none.cpp", 104 "src/ports/SkImageGenerator_none.cpp",
105 "src/ports/SkTLS_none.cpp", 105 "src/ports/SkTLS_none.cpp",
106 ], 106 ],
107 ) 107 )
108 108
109 # Platform-dependent SRCS for google3-default Android. 109 # Platform-dependent SRCS for google3-default Android.
110 SRCS_ANDROID = glob( 110 SRCS_ANDROID = glob(
111 [ 111 [
(...skipping 10 matching lines...) Expand all
122 "src/opts/*SSE2*", 122 "src/opts/*SSE2*",
123 "src/opts/*SSSE3*", 123 "src/opts/*SSSE3*",
124 "src/opts/*ssse3*", 124 "src/opts/*ssse3*",
125 "src/opts/*SSE4*", 125 "src/opts/*SSE4*",
126 "src/opts/*sse4*", 126 "src/opts/*sse4*",
127 "src/opts/*x86*", 127 "src/opts/*x86*",
128 "src/opts/SkBitmapProcState_opts_none.cpp", 128 "src/opts/SkBitmapProcState_opts_none.cpp",
129 "src/opts/SkBlitMask_opts_none.cpp", 129 "src/opts/SkBlitMask_opts_none.cpp",
130 "src/opts/SkBlitRow_opts_none.cpp", 130 "src/opts/SkBlitRow_opts_none.cpp",
131 "src/ports/*chromium*", 131 "src/ports/*chromium*",
132 "src/ports/*CG*",
133 "src/ports/*fontconfig*", 132 "src/ports/*fontconfig*",
134 "src/ports/*FontConfig*", 133 "src/ports/*FontConfig*",
135 "src/ports/*mac*", 134 "src/ports/*mac*",
136 "src/ports/*mozalloc*", 135 "src/ports/*mozalloc*",
137 "src/ports/*nacl*", 136 "src/ports/*nacl*",
138 "src/ports/*win*", 137 "src/ports/*win*",
139 "src/ports/SkDebug_stdio.cpp", 138 "src/ports/SkDebug_stdio.cpp",
140 "src/ports/SkFontMgr_custom_directory_factory.cpp", 139 "src/ports/SkFontMgr_custom_directory_factory.cpp",
141 "src/ports/SkFontMgr_custom_embedded_factory.cpp", 140 "src/ports/SkFontMgr_custom_embedded_factory.cpp",
142 "src/ports/SkFontMgr_empty_factory.cpp", 141 "src/ports/SkFontMgr_empty_factory.cpp",
142 "src/ports/SkImageDecoder_CG.cpp",
143 "src/ports/SkImageDecoder_WIC.cpp", 143 "src/ports/SkImageDecoder_WIC.cpp",
144 "src/ports/SkImageDecoder_empty.cpp", 144 "src/ports/SkImageDecoder_empty.cpp",
145 "src/ports/SkImageGenerator_none.cpp", 145 "src/ports/SkImageGenerator_none.cpp",
146 "src/ports/SkTLS_none.cpp", 146 "src/ports/SkTLS_none.cpp",
147 ], 147 ],
148 ) 148 )
149 149
150 PLATFORM_SRCS = select({ 150 PLATFORM_SRCS = select({
151 CONDITION_ANDROID: SRCS_ANDROID, 151 CONDITION_ANDROID: SRCS_ANDROID,
152 "//conditions:default": SRCS_UNIX, 152 "//conditions:default": SRCS_UNIX,
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 cc_library( 363 cc_library(
364 name = "skia", 364 name = "skia",
365 srcs = SRCS + PLATFORM_SRCS, 365 srcs = SRCS + PLATFORM_SRCS,
366 hdrs = HDRS, 366 hdrs = HDRS,
367 copts = COPTS, 367 copts = COPTS,
368 defines = DEFINES, 368 defines = DEFINES,
369 includes = INCLUDES, 369 includes = INCLUDES,
370 linkopts = LINKOPTS, 370 linkopts = LINKOPTS,
371 visibility = [":skia_clients"], 371 visibility = [":skia_clients"],
372 deps = DEPS, 372 deps = DEPS,
373 alwayslink = 1,
373 ) 374 )
374 375
375 cc_test( 376 cc_test(
376 name = "dm", 377 name = "dm",
377 size = "large", 378 size = "large",
378 srcs = DM_SRCS + DM_PLATFORM_SRCS, 379 srcs = DM_SRCS + DM_PLATFORM_SRCS,
379 args = [ 380 args = [
380 "--nogpu", 381 "--nogpu",
381 "--verbose", 382 "--verbose",
382 # TODO(mtklein): maybe investigate why these fail? 383 # TODO(mtklein): maybe investigate why these fail?
383 "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Code c ~Stream ~skps ~Math ~RecordDraw_TextBounds", 384 "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Code c ~Stream ~skps ~Math ~RecordDraw_TextBounds",
384 "--resourcePath %s/resources" % BASE_DIR, 385 "--resourcePath %s/resources" % BASE_DIR,
385 "--images %s/resources" % BASE_DIR, 386 "--images %s/resources" % BASE_DIR,
386 ], 387 ],
387 copts = COPTS, 388 copts = COPTS,
388 data = glob(["resources/**/*"]), 389 data = glob(["resources/**/*"]),
389 defines = DEFINES, 390 defines = DEFINES,
390 includes = DM_INCLUDES, 391 includes = DM_INCLUDES,
391 deps = DM_EXTERNAL_DEPS + [ 392 deps = DM_EXTERNAL_DEPS + [
392 ":skia", 393 ":skia",
393 ] + EXTERNAL_DEPS_ALL, 394 ] + EXTERNAL_DEPS_ALL,
394 ) 395 )
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