2d84ae7640
This agent can be attached to an arbitrary Android process with arguments that cause it to either reset or dump the JaCoCo information to a provided directory. Test: manual, used examples in README to test whether it works on a userdebug_coverage build on cuttlefish Change-Id: If6cee20046f790676b8085e1ca84652c063295fa
30 lines
871 B
Plaintext
30 lines
871 B
Plaintext
//
|
|
// Copyright (C) 2019 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.
|
|
//
|
|
|
|
// Build variants {target,host} x {32,64}
|
|
cc_library {
|
|
name: "libdumpcoverage",
|
|
srcs: ["dump_coverage.cc"],
|
|
header_libs: [
|
|
"libopenjdkjvmti_headers",
|
|
],
|
|
|
|
host_supported: true,
|
|
shared_libs: [
|
|
"libbase",
|
|
],
|
|
}
|