Files
frameworks_base/libs/WindowManager/Shell/Android.bp
Jerry Chang aa943b2039 Compiles wm shell against the platform APIs instead of SDK
WM Shell should be compiled against the platform APIs and thus should
leave sdk version empty. The value of platform_apis will be ignored when
module's type isn't android_app, remove it as well.

Bug: 161116823
Test: manual verified it could access to @hide APIs
Test: make WindowManager-Shell
Test: atest WindowManagerShellTest
Change-Id: I145b0d6352a6e10a2f4051a561e65c282374fa7c
2020-07-16 14:42:21 +08:00

26 lines
817 B
Plaintext

// Copyright (C) 2019 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: "WindowManager-Shell",
srcs: [
"src/**/*.java",
"src/**/I*.aidl",
],
resource_dirs: [
"res",
],
manifest: "AndroidManifest.xml",
}