| Index: libadblockplus-android-webviewapp/build.xml |
| diff --git a/libadblockplus-android/build.xml b/libadblockplus-android-webviewapp/build.xml |
| similarity index 84% |
| copy from libadblockplus-android/build.xml |
| copy to libadblockplus-android-webviewapp/build.xml |
| index c41390f90787663c05fb2519b73246b3b625ad60..1d7af124b5f6d7b02caf758c27996656dc5cd388 100644 |
| --- a/libadblockplus-android/build.xml |
| +++ b/libadblockplus-android-webviewapp/build.xml |
| @@ -1,5 +1,5 @@ |
| <?xml version="1.0" encoding="UTF-8"?> |
| -<project name="Adblock Plus Library" default="help"> |
| +<project name="AdblockWebView App" default="help"> |
| <!-- The local.properties file is created and updated by the 'android' tool. |
| It contains the path to the SDK. It should *NOT* be checked into |
| @@ -39,17 +39,16 @@ |
| application and should be checked into Version Control Systems. --> |
| <loadproperties srcFile="project.properties" /> |
| - <target name="jni" description="Compiles and builds NDK libraries."> |
| - <exec executable="${ndk.dir}/ndk-build" failonerror="true" /> |
| - </target> |
| + <fail |
| + message="sdk.dir is missing. Make sure to generate specify it in local.properties or to inject it through an env var" |
| + unless="sdk.dir" |
| + /> |
| - <target name="-pre-build" depends="jni"> |
| + <target name="-check-env"> |
| + <checkenv /> |
| </target> |
| <target name="-pre-clean"> |
| - <delete dir="${native.libs.absolute.dir}/armeabi" verbose="${verbose}" /> |
| - <delete dir="${native.libs.absolute.dir}/armeabi-v7a" verbose="${verbose}" /> |
| - <delete dir="${native.libs.absolute.dir}/x86" verbose="${verbose}" /> |
| <delete dir="obj/" verbose="${verbose}" /> |
| </target> |