In addition to changing imports, this required some changes to use java 7, since that's what the shared lib needs to be for launcher. See bug for more details on this project. Test: "atest com.android.systemui.shared.plugins" build succeeds and all tests pass Bug: 115877296 Change-Id: Ib79ede0a61664df0ba1a194632a345d2229777fc
31 lines
935 B
Plaintext
31 lines
935 B
Plaintext
// Copyright (C) 2017 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.
|
|
|
|
android_library {
|
|
|
|
name: "SystemUISharedLib",
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/I*.aidl",
|
|
],
|
|
|
|
static_libs: [
|
|
"SystemUIPluginLib"
|
|
],
|
|
|
|
// Enforce that the library is build agains java 7 so that there are
|
|
// no compatibility issues with launcher
|
|
java_version: "1.7",
|
|
}
|