diff options
author | 2018-05-21 17:39:23 +0900 | |
---|---|---|
committer | 2018-06-07 12:08:35 +0000 | |
commit | 50cd1a972dde18207beb580155bb3a4e648ae66b (patch) | |
tree | d2e26c6c892ea1e1b4198bd5e2f3ae76aec835af /location/lib/Android.bp | |
parent | c55e1b6f4d8ee4a73c85ff953e6a79f50c881b02 (diff) |
Build com.android.location.provider with java_sdk_library
com.android.location.provider is built with java_sdk_library and api
files are added by running "make update-api".
Remove com.android.location.provider.xml since it will be
make auto generation by soong when the library is built with
java_sdk_library.
Bug:77577799
Test: make -j
Test: make checkapi
Test: adb shell cmd package list libraries |\
grep com.android.location.provider
And check the com.android.location.provider library
Change-Id: Iad0b4452fd87716c277235f3da6f3540aafdbed3
Diffstat (limited to 'location/lib/Android.bp')
-rw-r--r-- | location/lib/Android.bp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/location/lib/Android.bp b/location/lib/Android.bp new file mode 100644 index 000000000000..447195d6d532 --- /dev/null +++ b/location/lib/Android.bp @@ -0,0 +1,21 @@ +// +// Copyright (C) 2018 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_sdk_library { + name: "com.android.location.provider", + srcs: ["java/**/*.java"], + api_packages: ["com.android.location.provider"], +} |