skia2/third_party/jsoncpp/BUILD.gn
Leon Scroggins III 6ccd2cabaa Generate Android build targets for dm and nanobench
Generate targets for dm and nanobench from ninja and add them to the
generated Android.bp file.

Remove nanobenchAndroid and SkAndroidSDKCanvas. These rely on HWUI
internals and are currently unused.

Update gyp file references to removed files, just in case.

Change-Id: Ic6ae18a70bfd0c33804e7996d077f2081dfdfe07
Reviewed-on: https://skia-review.googlesource.com/7635
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2017-01-27 20:02:23 +00:00

29 lines
663 B
Plaintext

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
skia_use_system_jsoncpp = false
}
import("../third_party.gni")
if (skia_use_system_jsoncpp) {
system("jsoncpp") {
libs = [ "jsoncpp" ]
}
} else {
third_party("jsoncpp") {
public_include_dirs = [ "../externals/jsoncpp/include" ]
defines = [ "JSON_USE_EXCEPTION=0" ]
sources = [
"../externals/jsoncpp/src/lib_json/json_reader.cpp",
"../externals/jsoncpp/src/lib_json/json_value.cpp",
"../externals/jsoncpp/src/lib_json/json_writer.cpp",
]
testonly = true
}
}