File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 6
6
message =" ndk.dir is missing. Edit local.properties and add ndk.dir variable or to inject it through an env var"
7
7
unless =" ndk.dir"
8
8
/>
9
-
10
-
9
+
11
10
<!-- Build and move binaries before building Java -->
12
- <target name =" -pre -build" >
11
+ <target name =" ndk -build" >
13
12
<!-- Build binaries using NDK -->
14
13
<exec executable =" ${ndk.dir}/ndk-build" failonerror =" true" />
15
14
26
25
</target >
27
26
28
27
28
+ <!-- Extend build by adding ndk-build as dependency -->
29
+ <target name =" -pre-build" depends =" ndk-build" >
30
+ </target >
31
+
32
+
29
33
<target name =" clean" depends =" android_rules.clean" >
30
34
<exec executable =" ${ndk.dir}/ndk-build" failonerror =" true" >
31
35
<arg value =" clean" />
32
36
</exec >
33
- </target >
37
+ </target >
34
38
35
39
</project >
You can’t perform that action at this time.
0 commit comments