Add SkDrawPosTextHCommand JSON, fix skiaserve build.
authorbungeman <bungeman@google.com>
Wed, 9 Mar 2016 15:42:54 +0000 (07:42 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 9 Mar 2016 15:42:54 +0000 (07:42 -0800)
commit51190df040c5a81bb82b9cd5b95f07a39d0e602b
treecf344dc20df2b26b7683e19530124cdba854c5a5
parentc3adf2fb41d8f2be2724a998ed2aa03b48a10a99
Add SkDrawPosTextHCommand JSON, fix skiaserve build.

Adds SkDrawPosTextHCommand ::fromJSON and ::toJSON.

Both SkDrawPosTextCommand and SkDrawPosTextHCommand's
::toJSON write the correct number of positions, preventing reading
uninitialized memory.

The microhttpd build is now done in the build tree as opposed to in a
temporary directory.

The microhttpd build script uses os.path.join so that absolute paths
do not confuse the build. This allows compatibility with the cmake
gyp generator as CMake likes to pass absolute paths.

The microhttpd gyp target is now marked as 'none' since it is not
a 'static_library' target (which directs gyp to compile sources into
a static library). The dependencies to the action are updated to the
minimum required for sane re-building.

The everything gyp target now depends on the skiaserve gyp target.
This means that when using skia_build_server=1, building 'most' will
build skiaserve, but when skia_build_server is not defined the
skiaserve target will still be available if specified manually.

The old json.gyp is removed as it currently does not build anything.
All of the files currently referenced by it as sources no longer exist.

Review URL: https://codereview.chromium.org/1775203002
gyp/everything.gyp
gyp/json.gyp [deleted file]
gyp/microhttpd.gyp
gyp/most.gyp
third_party/libmicrohttpd/build.py
tools/debugger/SkDrawCommand.cpp
tools/debugger/SkDrawCommand.h