// // Copyright (C) 2024 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. // package { default_applicable_licenses: ["Android-Apache-2.0"], } cc_defaults { name: "art_fake_statslib_defaults", installable: false, min_sdk_version: "30", stl: "none", apex_available: ["art_fake_com.android.os.statsd"], visibility: ["//visibility:private"], } cc_library_shared { name: "art_fake_libstatspull", defaults: ["art_fake_statslib_defaults"], srcs: ["libstatspull.c"], stem: "libstatspull", } cc_library_shared { name: "art_fake_libstatssocket", defaults: ["art_fake_statslib_defaults"], srcs: ["libstatssocket.c"], stem: "libstatssocket", } // A fake StatsD apex only used for ART chroot testing. apex { name: "art_fake_com.android.os.statsd", defaults: [ "s-launched-apex-module", ], compile_multilib: "both", native_shared_libs: [ "art_fake_libstatspull", "art_fake_libstatssocket", ], key: "com.android.art.key", certificate: ":com.android.art.certificate", file_contexts: ":com.android.os.statsd-file_contexts", min_sdk_version: "30", visibility: ["//visibility:private"], }