Files
frameworks_base/packages/SystemUI/shared/Android.bp
Sunny Goyal bba378e87c Restricting the shared lib to java 7
Bug: 112849320
Test: Verified launcher works fine with the new jar
Change-Id: Ibfbc4e53f879894ada134c227e212e3e23c49ea6
2018-08-22 13:03:57 -07:00

44 lines
1.1 KiB
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",
],
// Enforce that the library is build agains java 7 so that there are
// no compatibility issues with launcher
java_version: "1.7",
}
android_app {
name: "SysUISharedLib",
platform_apis: true,
srcs: [
"src/**/*.java",
"src/**/I*.aidl",
],
static_libs: ["SystemUISharedLib"],
optimize: {
enabled: false,
},
}