Files
frameworks_base/tests/utils/testutils/Android.bp
Louis Chang f0385c5ad3 Fix WmTests presubmit failure
Adding another library that excludes mockito for WmTests to avoid
conflicting with extended-mockito.

Test: presubmit pass
Change-Id: If3f6d7a2ac52d3e8f72e9cbc88e54f0c4d4c47ce
2019-12-10 18:33:57 +08:00

47 lines
1.2 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",
static_libs: [
"frameworks-base-testutils-minus-mockito",
"mockito-target-minus-junit4",
]
}
java_library {
name: "frameworks-base-testutils-minus-mockito",
srcs: [
"java/**/*.java",
"java/**/*.kt",
],
static_libs: [
"junit",
"hamcrest-library",
"truth-prebuilt",
],
libs: [
"android.test.runner",
"android.test.base",
"android.test.mock",
"mockito-target-minus-junit4",
],
}