Hooks AppsFilter to support exposing a target and any overlays targeting it to the actor specified in its overlayable block. Sacrifices some install-time performance in favor of less memory usage and easier to follow code by doing a full search/rebuild on each change. Benchmarks TBD Bug: 143096091 Test: atest OverlayReferenceMapperTests Change-Id: Ic832818b9aa383f1167ca3e69a11b8459fa9db97
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
//
|
|
// Copyright (C) 2016 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.
|
|
//
|
|
|
|
java_library {
|
|
name: "frameworks-base-testutils",
|
|
|
|
srcs: [
|
|
"java/**/*.java",
|
|
"java/**/*.kt",
|
|
],
|
|
|
|
static_libs: [
|
|
"junit",
|
|
"hamcrest-library",
|
|
"truth-prebuilt",
|
|
"mockito-target-minus-junit4",
|
|
],
|
|
|
|
libs: [
|
|
"android.test.runner",
|
|
"android.test.base",
|
|
"android.test.mock",
|
|
"mockito-target-minus-junit4",
|
|
],
|
|
}
|