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

Issue 1889793007: move static arrays into impl, to avoid multiple copies (Closed)

Created:
4 years, 8 months ago by reed1
Modified:
4 years, 8 months ago
Reviewers:
f(malita)
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : move declarations inside functions (duh) #

Patch Set 3 : re-expose globals (since gcc didn't like my hiding trick) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -32 lines) Patch
M include/core/SkImageInfo.h View 1 2 1 chunk +8 lines, -32 lines 0 comments Download
M src/core/SkImageInfo.cpp View 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
reed1
4 years, 8 months ago (2016-04-15 14:28:29 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889793007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889793007/1
4 years, 8 months ago (2016-04-15 14:28:39 UTC) #5
f(malita)
lgtm
4 years, 8 months ago (2016-04-15 14:31:03 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-15 14:38:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889793007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889793007/20001
4 years, 8 months ago (2016-04-15 14:39:33 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot/builds/883) Build-Ubuntu-GCC-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 8 months ago (2016-04-15 14:42:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889793007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889793007/40001
4 years, 8 months ago (2016-04-15 16:42:51 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/6d7cd1f421dbde43dd2db655ca477c05312ec5fd
4 years, 8 months ago (2016-04-15 17:03:06 UTC) #18
reed1
4 years, 8 months ago (2016-04-16 19:14:32 UTC) #19
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1899563002/ by reed@google.com.

The reason for reverting is: FAILED: if [ ! -e lib/libgfx.so -o ! -e
lib/libgfx.so.TOC ]; then
/b/build/slave/linux_chromeos/build/src/build/goma/client/gomacc
../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-z,now
-Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC
-fuse-ld=gold
-B/b/build/slave/linux_chromeos/build/src/third_party/binutils/Linux_x64/Release/bin
-Wl,--disable-new-dtags -m64 -Wl,--icf=all -o lib/libgfx.so
-Wl,-soname=libgfx.so @lib/libgfx.so.rsp && { readelf -d lib/libgfx.so | grep
SONAME ; nm -gD -f p lib/libgfx.so | cut -f1-2 -d' '; } > lib/libgfx.so.TOC;
else /b/build/slave/linux_chromeos/build/src/build/goma/client/gomacc
../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-z,now
-Wl,-z,relro -Wl,--fatal-warnings -Wl,-z,defs -pthread -Wl,-z,noexecstack -fPIC
-fuse-ld=gold
-B/b/build/slave/linux_chromeos/build/src/third_party/binutils/Linux_x64/Release/bin
-Wl,--disable-new-dtags -m64 -Wl,--icf=all -o lib/libgfx.so
-Wl,-soname=libgfx.so @lib/libgfx.so.rsp && { readelf -d lib/libgfx.so | grep
SONAME ; nm -gD -f p lib/libgfx.so | cut -f1-2 -d' '; } > lib/libgfx.so.tmp &&
if ! cmp -s lib/libgfx.so.tmp lib/libgfx.so.TOC; then mv lib/libgfx.so.tmp
lib/libgfx.so.TOC ; fi; fi
obj/ui/gfx/gfx.blit.o:../../ui/gfx/blit.cc:function
SkColorTypeBytesPerPixel(SkColorType): error: undefined reference to
'gPrivate_SkColorTypeBytesPerPixel'
obj/ui/gfx/gfx.canvas.o:../../ui/gfx/canvas.cc:function
SkColorTypeBytesPerPixel(SkColorType): error: undefined reference to
'gPrivate_SkColorTypeBytesPerPixel'
obj/ui/gfx/gfx.canvas_skia.o:../../ui/gfx/canvas_skia.cc:function
SkColorTypeBytesPerPixel(SkColorType): error: undefined reference to
'gPrivate_SkColorTypeBytesPerPixel'
obj/ui/gfx/codec/gfx.jpeg_codec.o:../../ui/gfx/codec/jpeg_codec.cc:function
SkColorTypeBytesPerPixel(SkColorType): error: undefined reference to
'gPrivate_SkColorTypeBytesPerPixel'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
.

Powered by Google App Engine
This is Rietveld 408576698