51190df040
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
36 lines
997 B
Python
36 lines
997 B
Python
# Copyright 2015 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
# Build EVERYTHING provided by Skia.
|
|
# (Start with the "most" target, and then add targets that we intentionally
|
|
# left out of "most". See most.gyp for an explanation of which targets are
|
|
# left out of "most".)
|
|
#
|
|
# We used to call this the 'all' target, but in SOME cases that
|
|
# conflicted with an automatically-generated 'all' target.
|
|
# See https://code.google.com/p/skia/issues/detail?id=932
|
|
#
|
|
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'everything',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'most.gyp:most',
|
|
'skiaserve.gyp:skiaserve',
|
|
],
|
|
'conditions': [
|
|
['skia_os in ("ios", "android", "chromeos")', {
|
|
# debugger is not supported on this platform
|
|
}, {
|
|
'dependencies': [
|
|
'debugger.gyp:debugger',
|
|
#'v8.gyp:SkV8Example',
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
],
|
|
}
|