aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Kevin Lubick <kjlubick@google.com>2018-01-09 12:47:33 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-09 18:07:27 +0000
commit9ff5dc9c9f222059a9e191b528fbb86999ecebf5 (patch)
treee1d9bd0de7271e91033638d5170c2c7ebfeeeeb1 /BUILD.gn
parentdb38573ca0592bc9f564a1d5798c07b6c9ee507c (diff)
Make commandline flags nicer for fuzz executable
This cleans up the build so commandline flags defined in tools/*.cpp don't get globbed into the fuzzer's. Bug: skia: Change-Id: I5994aa5bf75686641baf0cf97fd81141f0ac6f3a Reviewed-on: https://skia-review.googlesource.com/92680 Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn13
1 files changed, 12 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 64792d2295..b6b768c463 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1686,6 +1686,10 @@ if (skia_enable_tools) {
}
test_app("fuzz") {
+ include_dirs = [
+ "tools",
+ "tools/debugger",
+ ]
sources = [
"fuzz/FilterFuzz.cpp",
"fuzz/FuzzCanvas.cpp",
@@ -1695,12 +1699,19 @@ if (skia_enable_tools) {
"fuzz/FuzzPathop.cpp",
"fuzz/FuzzScaleToSides.cpp",
"fuzz/fuzz.cpp",
+ "tools/UrlDataManager.cpp",
+ "tools/debugger/SkDebugCanvas.cpp",
+ "tools/debugger/SkDrawCommand.cpp",
+ "tools/debugger/SkJsonWriteBuffer.cpp",
+ "tools/debugger/SkObjectParser.cpp",
+ "tools/picture_utils.cpp",
]
deps = [
":flags",
":gpu_tool_utils",
":skia",
- ":tool_utils",
+ "//third_party/jsoncpp",
+ "//third_party/libpng",
]
}