Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: samples/android_sample/custom_rules.xml

Issue 11434046: Android rayshader sample. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/android_sample/custom_rules.xml
===================================================================
--- samples/android_sample/custom_rules.xml (revision 0)
+++ samples/android_sample/custom_rules.xml (revision 0)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <target name="-pre-build">
+ <exec executable="xxd">
+ <arg value="-r"/>
+ <arg value="ic_launcher.png-hdpi.hex"/>
+ <arg value="res/drawable-hdpi/ic_launcher.png"/>
vsm 2012/11/30 17:00:30 Clever. :-)
gram 2012/11/30 18:01:31 Done.
+ </exec>
+ <exec executable="xxd">
+ <arg value="-r"/>
+ <arg value="ic_launcher.png-ldpi.hex"/>
+ <arg value="res/drawable-ldpi/ic_launcher.png"/>
+ </exec>
+ <exec executable="xxd">
+ <arg value="-r"/>
+ <arg value="ic_launcher.png-mdpi.hex"/>
+ <arg value="res/drawable-mdpi/ic_launcher.png"/>
+ </exec>
+ <exec executable="xxd">
+ <arg value="-r"/>
+ <arg value="ic_launcher.png-xhdpi.hex"/>
+ <arg value="res/drawable-xhdpi/ic_launcher.png"/>
+ </exec>
+ </target>
+ <target name="-pre-compile">
+ <exec executable="ndk-build" dir="jni">
+ <arg line="V=1" />
+ </exec>
+ </target>
+ <target name="-post-compile">
+ <copy file="obj/local/x86/libandroid_extension.so"
+ tofile="assets/dart/libandroid_extension.so"/>
+ </target>
+</project>

Powered by Google App Engine
This is Rietveld 408576698