diff options
author | Collin Fijalkovich <cfijalkovich@google.com> | 2020-12-10 16:02:07 -0800 |
---|---|---|
committer | Collin Fijalkovich <cfijalkovich@google.com> | 2021-01-27 13:40:58 -0800 |
commit | a5ceac1196b5aa4cd78440fe7b8a3a4ea506c496 (patch) | |
tree | 881746eb8252e2669bb778ac357c448e2ec278f3 /libs | |
parent | 5d496eb9b3388daed3ced89bc451b41149756b64 (diff) |
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
Diffstat (limited to 'libs')
-rw-r--r-- | libs/tracingproxy/Android.bp | 42 |
1 files changed, 42 insertions, 0 deletions
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", + ], +} |