Commit Graph

8 Commits

Author SHA1 Message Date
Nick Alexander
ec8ac4c085 Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson
In certain configurations, in particular when installing the Android SDK
using HomeBrew, one sees a configuration with symlinks like:

    [brian@brian-macbook git]$ ls -l /usr/local/Cellar/android-sdk/23.0.2/
    total 72
    ...
    lrwxr-xr-x   1 brian  admin    38 Nov 14 16:39 platforms -> ../../../var/lib/android-sdk/platforms
    ...
    drwxr-xr-x  26 brian  admin   884 Nov 14 17:43 tools

In this case, we have
ANDROID_SDK=/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21.

It is an anti-pattern to use ANDORID_SDK/.. to find other paths in the
tree.  This pattern is used in at least two places:

1) When we try to find
/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21/../../tools,
we end up in the /usr/local/var/lib subtree.  This patch works around
that by exporting and using ANDROID_TOOLS; ANDROID_TOOLS itself is
extracted using path matching, rather than following .. through the
filesystem.

2) We also need to use ANDROID_SDK_ROOT rather than
ANDROID_SDK/../.. through-out.

--HG--
extra : rebase_source : 5e0323a94f2b80550f17a624e16f338cdeec406d
2014-11-17 11:12:00 -08:00
Brad Lassey
5c8eeb9096 bug 971101 - build and publish geckoview example by default r=khuey 2014-03-31 11:40:06 -04:00
Brad Lassey
9a23ed7121 bug 979438 - Unify android target SDK versions, follow up to address nits r=nalexander
--HG--
extra : rebase_source : 841e8eece32e10d6d2c3443d5bcbf7ac935dd157
2014-03-28 19:47:32 -04:00
Brad Lassey
69f6871cd0 bug 979438 - Unify android target SDK versions r=nalexander
--HG--
rename : embedding/android/geckoview_example/AndroidManifest.xml => embedding/android/geckoview_example/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/AndroidManifest.xml => mobile/android/geckoview_library/AndroidManifest.xml.in
rename : mobile/android/geckoview_library/project.properties => mobile/android/geckoview_library/project.properties.in
2014-03-25 23:27:16 -04:00
Brad Lassey
fe96d4e3fa bug 969725 - geckoview_example uses incorrect main.xml layout and AndroidManifest r=nalexander 2014-02-27 12:21:06 -05:00
Brad Lassey
013a687dbc bug 944045 - geckoview example makefile should handle deps better r=khuey 2013-11-27 14:49:41 -05:00
Brad Lassey
ef9397a807 Bug 944041 - Failure to make geckoview from m-c. r=khuey 2013-11-27 15:14:26 -05:00
Brad Lassey
b7743f86db bug 930072 - Provide example app using GeckoView library in the tree r=mfinkle, nalexander 2013-10-23 18:37:14 +02:00