OSDN Git Service

Use prebuilt gcc for MacOSX
authorAndrew Hsieh <andrewhsieh@google.com>
Sat, 10 Nov 2012 05:12:02 +0000 (21:12 -0800)
committerAndrew Hsieh <andrewhsieh@google.com>
Mon, 12 Nov 2012 18:44:52 +0000 (10:44 -0800)
commite2e28f6d028d74b92457b885d9184d669575a15d
treec30fc547783c9c1e0db3b9457e1ae86d78ef3820
parent2ea957a373018ba6773c621065164256f0d84078
Use prebuilt gcc for MacOSX

1. Use prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1
   See https://android-review.googlesource.com/#/c/46223/
2. Rewrite logic dealing with mac_sdk_version to support all
   MacOSX SDK 10.6, 10.7 and 10.8.  Note that since
   ad2342375963c2468849c1f83a97158383db6511 emulator no longer
   depends on 10.6 to build.  Since the lowest SDK among intersection
   of the "available" and the "supported" SDKs is picked, add a
   new variable MAC_SDK_VERSION for developer really want to overwrite
   it.  MAC_SDK_VERSION still has to be one of the supported, though.
3. Improve mac_sdk_path detection to deal with case where Xcode
   *dmg is mounted only, not installed at /Applications.
4. Now we can retire BUILD_MAC_SDK_EXPERIMENTAL

Change-Id: I83e463556a857d527710f766de0e19e1b576151f
core/combo/HOST_darwin-x86.mk