6ccd2cabaa
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>
29 lines
663 B
Plaintext
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
|
|
}
|
|
}
|