From a5ceac1196b5aa4cd78440fe7b8a3a4ea506c496 Mon Sep 17 00:00:00 2001 From: Collin Fijalkovich Date: Thu, 10 Dec 2020 16:02:07 -0800 Subject: Introduce TracingServiceProxy System Services Introduces a new SystemService to act as intermediary between the Perfetto trace daemon and Traceur. Bug: 175591887 Test: adb shell service call 1 i32 0/1 Change-Id: Idea7761a8479827f0cfa561e56ba2beac3072939 --- libs/tracingproxy/Android.bp | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 libs/tracingproxy/Android.bp (limited to 'libs') diff --git a/libs/tracingproxy/Android.bp b/libs/tracingproxy/Android.bp new file mode 100644 index 000000000000..67f407ff7599 --- /dev/null +++ b/libs/tracingproxy/Android.bp @@ -0,0 +1,42 @@ +// Copyright (C) 2020 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. + +// Provides C++ wrappers for system services. + +cc_library_shared { + name: "libtracingproxy", + + aidl: { + export_aidl_headers: true, + include_dirs: [ + "frameworks/base/core/java", + ], + }, + + srcs: [ + ":ITracingServiceProxy.aidl", + ], + + shared_libs: [ + "libbinder", + "libutils", + ], + + cflags: [ + "-Wall", + "-Werror", + "-Wunused", + "-Wunreachable-code", + ], +} -- cgit v1.2.3