From 5ce418dc5eca354acb5c66dcbb47e7c0aa369ce8 Mon Sep 17 00:00:00 2001 From: Kweku Adams Date: Mon, 5 Feb 2018 16:43:53 -0800 Subject: Creating dumputils library. This moves methods and variables needed for stack trace dumps to a separate library so that incidentd can also get dumps without duplicating too much code. Bug: 72177715 Test: flash device and collect a regular bug report Change-Id: I68f367c32cbcac99f43305f73bb504ba7a1e4437 --- libs/dumputils/Android.bp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libs/dumputils/Android.bp (limited to 'libs/dumputils/Android.bp') diff --git a/libs/dumputils/Android.bp b/libs/dumputils/Android.bp new file mode 100644 index 0000000000..3412e14f17 --- /dev/null +++ b/libs/dumputils/Android.bp @@ -0,0 +1,34 @@ +// Copyright (C) 2018 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +cc_library { + name: "libdumputils", + + shared_libs: [ + "libbase", + "libbinder", + "libhidlbase", + "libhidltransport", + "liblog", + "libutils", + ], + + srcs: ["dump_utils.cpp"], + + cflags: ["-Wall", "-Werror"], + + export_include_dirs: [ + "include", + ], +} -- cgit v1.2.3-59-g8ed1b