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

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
« no previous file with comments | « samples/android_sample/build.xml ('k') | samples/android_sample/ic_launcher.png-hdpi.hex » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <target name="-pre-build">
+ <mkdir dir="res/drawable-hdpi"/>
+ <mkdir dir="res/drawable-ldpi"/>
+ <mkdir dir="res/drawable-mdpi"/>
+ <mkdir dir="res/drawable-xhdpi"/>
+ <exec executable="xxd">
+ <arg value="-r"/>
+ <arg value="ic_launcher.png-hdpi.hex"/>
+ <arg value="res/drawable-hdpi/ic_launcher.png"/>
+ </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>
« no previous file with comments | « samples/android_sample/build.xml ('k') | samples/android_sample/ic_launcher.png-hdpi.hex » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698