diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-08-01 10:10:12 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-08-15 16:13:54 +0000 |
commit | 08856e6facc6397352bd4077b297f4cc93c686c0 (patch) | |
tree | 517af56f9b3df74e404c4feae0e43ff0bb7e4177 | |
parent | fcd3f7abe179d1908f662e533151b1523950c14f (diff) | |
download | lzma-08856e6facc6397352bd4077b297f4cc93c686c0.tar.gz |
Soongify xz-java
This is needed to allow apps that depend on this lib to be soongified.
Test: Built
Change-Id: Ib51cd269dd10fa5330a7960b7fd03baaa7177f07
Merged-In: Ib51cd269dd10fa5330a7960b7fd03baaa7177f07
-rw-r--r-- | Java/Tukaani/Android.bp | 23 | ||||
-rw-r--r-- | Java/Tukaani/Android.mk | 30 |
2 files changed, 23 insertions, 30 deletions
diff --git a/Java/Tukaani/Android.bp b/Java/Tukaani/Android.bp new file mode 100644 index 0000000..2ce803b --- /dev/null +++ b/Java/Tukaani/Android.bp @@ -0,0 +1,23 @@ +// +// Copyright (C) 2011 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_static { + name: "xz-java", + + srcs: ["src/**/*.java"], + java_resource_dirs: ["src"], + + sdk_version: "current", +} diff --git a/Java/Tukaani/Android.mk b/Java/Tukaani/Android.mk deleted file mode 100644 index 240882e..0000000 --- a/Java/Tukaani/Android.mk +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright (C) 2011 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. -# -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_SDK_VERSION = current - -LOCAL_MODULE := xz-java - -LOCAL_MODULE_TAGS := optional - -LOCAL_JAVA_RESOURCE_DIRS := src -include $(BUILD_STATIC_JAVA_LIBRARY) - |