gecko-dev/embedding
Nick Alexander 3cab90a5de 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
..
android Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson 2014-11-17 11:12:00 -08:00
browser Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
components Bug 704320 - Add referrer policy support for nsIWebBrowserPersist and its consumers. (r=jst) 2014-11-18 08:47:14 -05:00
test Bug 1069059 - [e10s] Convert isWindowPrivate calls to isBrowserPrivate/isContentWindowPrivate as appropriate (r=mconley,margaret) 2014-09-23 15:48:52 -07:00
tests Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps 2014-10-30 13:06:12 +09:00
moz.build Bug 1054703 - Part 1: Flatten embedding/base/ into parent directory. r=bsmedberg 2014-08-20 10:27:16 -07:00
nsEmbedCID.h Bug 1054703 - Part 1: Flatten embedding/base/ into parent directory. r=bsmedberg 2014-08-20 10:27:16 -07:00
nsIWindowCreator.idl Bug 1054703 - Part 1: Flatten embedding/base/ into parent directory. r=bsmedberg 2014-08-20 10:27:16 -07:00
nsIWindowCreator2.idl Bug 1054703 - Part 1: Flatten embedding/base/ into parent directory. r=bsmedberg 2014-08-20 10:27:16 -07:00
nsIWindowProvider.idl Bug 1054703 - Part 1: Flatten embedding/base/ into parent directory. r=bsmedberg 2014-08-20 10:27:16 -07:00