diff options
author | Hai Zhang <zhanghai@google.com> | 2020-09-24 13:18:30 -0700 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2020-09-24 15:46:39 -0700 |
commit | 1f35153e8329010686ec233f7f4768732c9517da (patch) | |
tree | 1e4afbbd318d29f24985b53b8524deb5697b1c67 | |
parent | 7c2cff197263f4c7c65d7760a1d8ad9300a35ea4 (diff) | |
download | javassist-1f35153e8329010686ec233f7f4768732c9517da.tar.gz |
Convert build file to Android.bp.
Test: m javassist
Change-Id: I2cb75f0a72c89137e73f971da52861a8fd7ec5cd
-rw-r--r-- | Android.bp | 21 | ||||
-rw-r--r-- | Android.mk | 27 | ||||
-rw-r--r-- | build.properties | 4 |
3 files changed, 21 insertions, 31 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..bcc437a --- /dev/null +++ b/Android.bp @@ -0,0 +1,21 @@ +// Copyright (C) 2020 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_host { + name: "javassist", + + srcs: [ + "src/main/**/*.java", + ], +} diff --git a/Android.mk b/Android.mk deleted file mode 100644 index d265e3f..0000000 --- a/Android.mk +++ /dev/null @@ -1,27 +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) - -# We need classes from the tools dir in the JDK -LOCAL_CLASSPATH := $(HOST_JDK_TOOLS_JAR) - -LOCAL_MODULE := javassist - -LOCAL_SRC_FILES := $(call all-java-files-under,src/main) - -include $(BUILD_HOST_JAVA_LIBRARY) diff --git a/build.properties b/build.properties deleted file mode 100644 index 42e774e..0000000 --- a/build.properties +++ /dev/null @@ -1,4 +0,0 @@ -# We only use junit, so we set the lib.dir to the junit out dir; this -# works only on full builds that include master and in unix (though -# you can change the path in your local repository). -lib.dir=../../out/host/linux-x86/framework |