mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
allow a debuggable release build for the buildbot
This commit is contained in:
parent
267c9f8225
commit
44e309e7c8
@ -76,7 +76,29 @@
|
||||
-pre-clean
|
||||
-->
|
||||
<import file="custom_rules.xml" optional="true" />
|
||||
|
||||
<target name="set-debuggable" description="sets internal named property">
|
||||
<property name="set.debuggable" value="true" />
|
||||
</target>
|
||||
|
||||
<target name="-pre-build">
|
||||
<if>
|
||||
<condition>
|
||||
<isset property="set.debuggable"/>
|
||||
</condition>
|
||||
<then>
|
||||
<replaceregexp
|
||||
file="AndroidManifest.xml"
|
||||
match="(android:debuggable=").*(")"
|
||||
replace="\1true\2"/>
|
||||
</then>
|
||||
<else>
|
||||
<replaceregexp
|
||||
file="AndroidManifest.xml"
|
||||
match="(android:debuggable=").*(")"
|
||||
replace="\1false\2"/>
|
||||
</else>
|
||||
</if>
|
||||
<exec executable="${ndk.dir}/${ndk.cmd}" failonerror="true">
|
||||
<arg value="-j4"/>
|
||||
</exec>
|
||||
|
Loading…
x
Reference in New Issue
Block a user