aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-21 17:54:46 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-21 17:54:46 +0000
commita0c2bc24381fea063008f9c8823756eb020603b3 (patch)
treed807aa2013be5a3dd62de6f1ad727768ec0bc523 /debugger
parent251a7667d2a3c6b7ebfbf318af9b93744042df06 (diff)
Make flattenables no longer depend on global static initializers.
Instead, force all builds to call InitializeFlattenables. Remove the make_debugger script, which was created to force rebuilding without global static initializers so that all flattenables would be linked. It is no longer necessary since all flattenables will be linked thanks to InitializeFlattenables, which now can (and must) be called when global static initializers are turned on. BUG=https://code.google.com/p/skia/issues/detail?id=903 BUG=https://code.google.com/p/skia/issues/detail?id=902 Review URL: https://codereview.appspot.com/6548044 git-svn-id: http://skia.googlecode.com/svn/trunk@5642 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'debugger')
-rwxr-xr-xdebugger/make_debugger.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/debugger/make_debugger.sh b/debugger/make_debugger.sh
deleted file mode 100755
index 86a7ff9884..0000000000
--- a/debugger/make_debugger.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-# Used to recompile required skia libraries with static initializers turned
-# off. This fixes a bug in which the linux compiler was incorrectly stripping
-# required global static methods in an optimization effort.
-
-SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-CWD=$SCRIPT_DIR/../
-
-DEFINES="skia_static_initializers=0"
-export GYP_DEFINES="$DEFINES"
-
-make clean -C $CWD
-make -C $CWD debugger -j