Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android-webviewapp/build.xml

Issue 29351744: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: fixed: hardcoded js bridge name Created Oct. 21, 2016, 10:33 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libadblockplus-android-webviewapp/build.gradle ('k') | libadblockplus-android-webviewapp/pom.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « libadblockplus-android-webviewapp/build.gradle ('k') | libadblockplus-android-webviewapp/pom.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld