summaryrefslogtreecommitdiff
path: root/android/android.make (follow)
Commit message (Collapse)AuthorAge
* Don't require a specific BUILD_TOOLS_VERSION.Frank Gevaerts2014-09-25
| | | | | | | | | | Pick anything with the correct major version, which should be good enough. Currently we want sdk version 19, which has tools that come as 19.0.3 or 19.1.0, depending on when exactly the sdk was installed. Both work fine for rockbox, so accepting both is useful. Change-Id: Ie31306210e3cfe78288269574e78976b682eab31
* Fix android SDK version and the yes/no screen titleJonathan Gordon2014-05-15
| | | | Change-Id: I84a067adcc83291de5131c88483f400d38bea15b
* android: Get the port up and running againThomas Martitz2014-03-09
| | | | | | | | | | | The build system needed fixes because the tools paths changed and one tool that we used (apkbuilder) was removed entirely. Recent NDKs don't ship gcc 4.4.3 anymore, therefore switch to 4.6. The code itself needed a fix for a jni reference bug that was uncovered by KitKat. The port now builds with latest sdk (r22) and ndk (r9d). Change-Id: Id74fa54ba93bbb0ee30373fbe79e92c5ff03201d
* android: Update to SDK r16 and ndk r8d.Thomas Martitz2013-01-09
| | | | | | | SDK r17 is out, however there it only ships a x86 system image for r16 so it's preferable. Change-Id: Idc4d375debf407a36c2dc6421420bdbd74ab25ca
* Fix .apk signs when using OpenJDK7 (Android builds)Thiago Kenji Okada2012-11-30
| | | | | | | | | | | | | | | This fix the "jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm" when compiling Android builds using OpenJDK7. This patch explicit how keytools make a debug key so it is compatible with the changes in jarsigner made on OpenJDK7. It is still working with OpenJDK6. For those who already have a debug key, it will be necessary to remove the previous key located on ~/.android. Change-Id: Ifa4d37d0bda76e8937dc18572a7e8586c1a18a63 Reviewed-on: http://gerrit.rockbox.org/359 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
* Allow building android with java 1.7.Frank Gevaerts2012-06-14
| | | | | | | * Specify source and target java versions for android build * Specify algorithms for jarsigner Change-Id: I59d743b9e5484ac93b6f9361b1c41f9862964b0f
* Add the Android/MIPS targetFrank Gevaerts2012-06-11
| | | | Change-Id: Iec1d2f08c8a43e486ab1696566a718b18598ff95
* Add codecs to librbcodec.Sean Bartell2012-04-25
| | | | | | | Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: http://gerrit.rockbox.org/137 Reviewed-by: Nils Wallménius <nils@rockbox.org> Tested-by: Nils Wallménius <nils@rockbox.org>
* android: bump target platform version to 4.0.3 (this time for real).Thomas Martitz2012-04-17
| | | | Change-Id: I616c1de498f2975c8af3e08b51d8fae77869f441
* Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz2012-04-04
| | | | | | handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
* build system: unify/simplify library handling a bit.Thomas Martitz2012-03-26
| | | | | | | libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
* Add RBCODEC_LIB to android and ypr0 builds so they link again.Frank Gevaerts2012-03-18
| | | | Change-Id: I022c7beba844a9b2cfcb8ec7950a1348e4bf511a
* Arm stack unwinderMarcin Bukat2012-02-22
| | | | | | | | | Simplified stack unwinder for ARM. This is port of http://www.mcternan.me.uk/ArmStackUnwinding/ backtrace() is called from UIE() on native targets and from panicf() on both native and ARM RaaA. Change-Id: I8e4b3c02490dd60b30aa372fe842d193b8929ce0
* Hosted: Output map files after linking.Thomas Martitz2012-01-21
| | | | Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
* android: Update build system for recent SDK versions and target ice cream ↵Thomas Martitz2012-01-03
| | | | | | | | | | sandwich. As a result, the java parts can now be build using ant (in the android dir). Just issue "ant debug" after "make libs". Building the java parts from eclipse also still works. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31543 a1c6a512-1295-4272-9138-f99709370657
* Adjust a few makefiles to generate smaller (upto 80%) binaries on RaaA throughThomas Martitz2012-01-03
| | | | | | stripping. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31541 a1c6a512-1295-4272-9138-f99709370657
* Android: Ship cpufeatures.[ch] from the sdk to enable the build under the ↵Thomas Martitz2011-12-19
| | | | | | | | | ndk r5 again. Otherwise we could only build under r6. As r7 is the latest and can't build rockbox don't break peoples installed ndks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31369 a1c6a512-1295-4272-9138-f99709370657
* Fix left-over hardcoded path (oops).Thomas Martitz2011-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31365 a1c6a512-1295-4272-9138-f99709370657
* Hosted/linux: Add process/cpu info screen to the debug menu.Thomas Martitz2011-12-19
| | | | | | | | | | | The new menu is very helpful on RaaA, but also shown in the sim. It shows the process cpu usage, process' time stats (user,sys,real) and the cpu frequency stats. It uses a thread to sample the data, however the thread is not created until the menu is visited for the first time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31364 a1c6a512-1295-4272-9138-f99709370657
* Android: Refactor some of the glue code.Thomas Martitz2011-07-18
| | | | | | | | | | | * Cleanup RockboxService.java by moving the battery and headphone monitors to separate classes and detaching their instances * Move those monitors and RockboxTelephony.java into a new monitors subdirectory * Call those monitors all the same from native code by creating the objects there git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30160 a1c6a512-1295-4272-9138-f99709370657
* Added NODEPS define to skip recompilation for zip and apk builds. Usage: ↵Björn Stenberg2011-06-22
| | | | | | make zip NODEPS=1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30050 a1c6a512-1295-4272-9138-f99709370657
* Android: adjust screen orientation based on LCD size.Dominik Riebeling2011-06-04
| | | | | | | | If the screen size specified is wider than higher specify the orientation as landscape in AndroidManifest.xml. This usually applies to tablets where Rockbox in portrait mode feels unnatural. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29951 a1c6a512-1295-4272-9138-f99709370657
* Android: install codecs as native libs instead of extracting them (FS#12134).Dominik Riebeling2011-05-31
| | | | | | | | | | Codec files are loaded as dynamic libraries. Instead of extracting them from the packaged libmisc.so and therefore having them present twice on the device put them into the apk as native libraries. Decreases the size of the installed Rockbox by the compressed size of the codecs. Also, the extraction on first Rockbox startup gets notably faster since it's less data to extract. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29940 a1c6a512-1295-4272-9138-f99709370657
* Android: rework r29929 AndroidManifest.xml version handling.Dominik Riebeling2011-05-29
| | | | | | | | Put the generated AndroidManifest.xml into the bin subfolder and remove it from clean list. Avoids problems with cleaning if you're building in the android/ folder. Thanks to kugel for pointing out that people are actually doing that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29931 a1c6a512-1295-4272-9138-f99709370657
* Add source tree version into AndroidManifest.xmlDominik Riebeling2011-05-29
| | | | | | | Use the source tree version as versionName string. As result the Android Settings menu will now show that version instead of a rather unhelpful "1.0". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29929 a1c6a512-1295-4272-9138-f99709370657
* Use mkdir -p in the previous commit. Thanks sideral for spotting.Thomas Martitz2011-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29754 a1c6a512-1295-4272-9138-f99709370657
* Android: Fix creation of debug key if ~/.android doesn't exist.Thomas Martitz2011-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29753 a1c6a512-1295-4272-9138-f99709370657
* Android: replace installApk.sh "launching Rockbox activity"-behaviour withMaurus Cuelenaere2011-03-11
| | | | | | 'make launch' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29565 a1c6a512-1295-4272-9138-f99709370657
* Android: update project to SDKv11Maurus Cuelenaere2011-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29561 a1c6a512-1295-4272-9138-f99709370657
* Make $(DIRS) an order-only dependency, to avoid needless rebuilding of some ↵Frank Gevaerts2011-02-02
| | | | | | files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29197 a1c6a512-1295-4272-9138-f99709370657
* Change the way java files are compiled (do them all at once) in order to ↵Frank Gevaerts2011-02-02
| | | | | | speed up builds. There is now an intermediate jar file to help (although that's not strictly necessary), so for rebuilds of single java files this may be a bit slower git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29196 a1c6a512-1295-4272-9138-f99709370657
* Android/Java: Disable implicit compilation of dependecies to make the life ↵Thomas Martitz2011-02-02
| | | | | | easier for make. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29187 a1c6a512-1295-4272-9138-f99709370657
* Add widgets to android port.Antoine Cellerier2011-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29170 a1c6a512-1295-4272-9138-f99709370657
* Android build tweaks.Antoine Cellerier2011-01-24
| | | | | | | | | | Add make install target for android builds. Remove standard install targets as they don't apply. Add java compilation dependancy on generated resource class(es?) to prevent weird runtime issues. Update installApk.sh script to use correct tool location in recent sdks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29131 a1c6a512-1295-4272-9138-f99709370657
* Android: make R.java depend on android/res dirMaurus Cuelenaere2010-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28517 a1c6a512-1295-4272-9138-f99709370657
* Fix a small dependency issue, the directories need to be created first.Thomas Martitz2010-11-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28503 a1c6a512-1295-4272-9138-f99709370657
* Android port: $(TEMP_APK) depends on $(AP_), so add it to its dependenciesMaurus Cuelenaere2010-11-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28489 a1c6a512-1295-4272-9138-f99709370657
* Factor out the start/stopForeground and notification icon management into a ↵Thomas Martitz2010-10-31
| | | | | | separate class, don't let RockboxService.java become a beast. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28416 a1c6a512-1295-4272-9138-f99709370657
* Minor build script tweaks to make android auto-buildable.Björn Stenberg2010-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28156 a1c6a512-1295-4272-9138-f99709370657
* Removed a bit too much, libmisc.so shall still depend on rockbox.zipThomas Martitz2010-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28142 a1c6a512-1295-4272-9138-f99709370657
* Android port: Remove the "make zip" dependency of make apk again (see r28068).Thomas Martitz2010-09-22
| | | | | | It was reintroduced in r28138. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28141 a1c6a512-1295-4272-9138-f99709370657
* Polished the makefile a bit.Björn Stenberg2010-09-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28138 a1c6a512-1295-4272-9138-f99709370657
* Stricter subst to avoid erroneous substitution.Björn Stenberg2010-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28130 a1c6a512-1295-4272-9138-f99709370657
* The zip target isn't a good prerequisite for another make target so remove it.Thomas Martitz2010-09-12
| | | | | | | | | zip has no prerequisites, so it's always made, which leads to targets depending on zip to be also always made. In the end that means that libmisc.so is always unzipped even if it didn't change. OTOH it means that make zip is now needed explicitly; so it now goes like 'make && make zip && make apk git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28068 a1c6a512-1295-4272-9138-f99709370657
* Extend make clean for android zu also cleanup the compiled java classes and ↵Thomas Martitz2010-09-12
| | | | | | | | apks (and everything else generated during build process). This also seems to fix a problem with make apk on some machines. Thanks to Dustin Skoracki for helping to investigate. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28062 a1c6a512-1295-4272-9138-f99709370657
* Android: Allow "out-of-tree" builds (outside of android/, e.g. build-android/).Thomas Martitz2010-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27988 a1c6a512-1295-4272-9138-f99709370657
* Extend android.make so that it can generate a debug signed apk.Thomas Martitz2010-09-02
| | | | | | | | 'make && make apk && adb install -r bin/Rockbox.apk' should work now. You should now be able to develop without eclipse. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27980 a1c6a512-1295-4272-9138-f99709370657
* Android: don't compile stubs.c and kill off libuisimulator entirely.Thomas Martitz2010-09-02
Seperate make rules in a almost empty android.make. Also add forgotten powermgmt-android.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27977 a1c6a512-1295-4272-9138-f99709370657