History log of /build/core/combo/HOST_darwin-x86.mk
Revision Date Author Comments
76a6dc3a191e8800211eb49398d37deae731094e 02-Oct-2012 Ian Rogers <irogers@google.com> Fix common typo in comments, warning and error messages.

s/can not/cannot/g

Change-Id: I1bac31157732666deb46f6f20389ff539977ffb9
5bdf305bbe529a85735200353478057b65bb462e 20-Sep-2012 Ying Wang <wangying@google.com> Move AndroidConfig.h from system/core to the build project.

So unbundled branches don't need to include the system/core project.

Change-Id: Ic4ef62ee6df069b9b2dd123aed95a3e7fcdfc146
691e0243ca880722f5dd86a1052fc7ffbc55f8c4 30-Jul-2012 SangWook Han <sangwook.han@gmail.com> Build on Mac OS X : add experimental SDK versions

Change-Id: Ifc67d1745e72fc048cd6e8c8ef0521ab92468086
31ef1037bf7b66e949ecf52a1a29672d43ebfef8 21-Aug-2012 Andrew Hsieh <andrewhsieh@google.com> Added BUILD_HOST_static to build statically linked executable/shared-lib

Statically linked executable/shared-lib (eg. SDK tools) are useful
in sandboxed environment.

In BUILD_HOST_static zipalign needs -lpthread indirectly:
zipalign->libutils.a->liblog.a->logd_write.c->pthread

Change-Id: I615f574e918c83ed1ab82db2453b69d0420cb59c
da4bf4251451d2da8883d636849b65fcc368a575 17-Aug-2012 Ying Wang <wangying@google.com> Don't include system/core/include/arch/<arch>/Android.mk for apps-only build.

Bug: 6994483
Change-Id: I76c4d96264cf94a79d59fdeb52bb37c07a9458dd
478ba5e3f00bb1321cd022d744020231f2449287 29-Jun-2012 Ying Wang <wangying@google.com> Move the llvm-gcc warning from HOST_darwin-x86.mk to main.mk

Bug: 6754632
So the warning won't show up when you run lunch.
Now the warning only shows when you do a clean build.

Change-Id: I7876da783f059d390f0072df37d3ab0291589eb7
02eb37c267adff3528c9e88cdfdd59035ce934b8 08-Jun-2012 SangWook Han <swhan@nemustech.com> Fix generic build on Max OS X 10.7 Lion

Recover variable build_mac_version which is removed on
commit 644dc16 and added on commit 9ce06f1.

Without this, ranlib libSDL.a is executed on Lion which
causes build fail of emulator-arm.

Change-Id: I06144a288921f8f968ef457999398c1b9152d4aa
10f775379d4e9a9f4a5af79484c9f1e337dfab4b 07-Jun-2012 Ying Wang <wangying@google.com> Tweak cflags for building with SDK 10.6.

Change-Id: I4db9949577591ef6756812769f04cfaddd876faf
51f9bb02dab7d7207b6c1976160dfeb951d13be1 07-Jun-2012 Al Sutton <al@funkyandroid.com> XCode 4.3+ compatibility check-in

XCode 4.3 and later use a different location for SDKs. This check in
ensures the build checks for the new location as well as the old one.

Change-Id: I97884e5009f229f8b42e57a8feeb702b3a40a241
Signed-off-by: Al Sutton <al@funkyandroid.com>
644dc164cc932322499d940609f0d8548067ffba 26-May-2012 Ying Wang <wangying@google.com> Use Mac OS X SDK 10.6.

Change-Id: I8ca16db2fb93d350829e14f4339e7ece75a2fb54
abf72cf3f4cc189ec0129f855028c6a7be0c07bf 26-May-2012 Ying Wang <wangying@google.com> Use Mac OS X SDK 10.6.

Change-Id: I8ca16db2fb93d350829e14f4339e7ece75a2fb54
9d50defb8b13324d2b81f76dace70e2baeaa7cf1 26-May-2012 Ying Wang <wangying@google.com> Revert "Use Mac OS X SDK 10.6."

This reverts commit 4c1b310b9bdbebef83d298d305beb0122a7204f6
4c1b310b9bdbebef83d298d305beb0122a7204f6 26-May-2012 Ying Wang <wangying@google.com> Use Mac OS X SDK 10.6.

Change-Id: Ie36914ab1763c5606111f7501c97ed97517e7187
468d6a584f45227a13f15c8ebb17002f80f79d93 24-May-2012 Elliott Hughes <enh@google.com> Compile Mac OS binaries with unwind tables for libcorkscrew.

Change-Id: I9755d8d39913830180da2ce32bcdd357309ff792
35bb6422bc4dddaf7871793d213c0f7144c02f0c 07-May-2012 Al Sutton <al@funkyandroid.com> Use the same compilation flags on OS X 10.8 as 10.7

Added Mountain Lion to the list of versions which don't need ranlib
and don't need the pre-Lion linker flags

Change-Id: I0c785f0c66e324af9a209520c5a5b3c9bf7df0d5
Signed-off-by: Al Sutton <al@funkyandroid.com>
b2680757a07bfd16efae3c8710c69b14807f425f 02-May-2012 Shih-wei Liao <sliao@google.com> Members in LOCAL_WHOLE_STATIC_LIBRARIES should be force_loaded.

For Mac build, force_load the LOCAL_WHOLE_STATIC_LIBRARIES.

Mac has its custom linker. However, its linking rule for generating
shared libraries doesn’t take the LOCAL_WHOLE_STATIC_LIBRARIES
into consideration.

Change-Id: Ia6858bf6e2ebb334db8f3d0bdc71d7ecc0ef11c1
0d07c732c79ec5d624dea2fa0198ffc2dfeafe2b 23-Feb-2012 Al Sutton <al@funkyandroid.com> Force use of compatibility compilers on Apple's command line tools

The cc and c++ compilers included in Apple's command line tools show some
unusual behaviour which causes the build to fail in several projects under
Xcode 4.3

This patch uses the gnu compatibility gcc and g++ compilers on OS X instead
to reduce problems, and generates an error when an llvm based compiler is
detected because they currently do not generate usable emulator executables
due to them not honouring global register variables.

Change-Id: I506c22dad3dcbd41df3c7672802a675d3655e262
Signed-off-by: Al Sutton <al@funkyandroid.com>
f9613a4f730b8a385971f95150582b9a543302ae 27-Apr-2012 Andrew Hsieh <andrewhsieh@google.com> Added BUILD_HOST_static to build statically linked executable/shared-lib

Statically linked executable/shared-lib (eg. SDK tools) are useful
in sandboxed environment.

In BUILD_HOST_static zipalign needs -lpthread indirectly:
zipalign->libutils.a->liblog.a->logd_write.c->pthread

Change-Id: I8fa91a937b728ccdf942c4ba199efb1e2e49da3d
ed6b8155056c52ac6d6a38151a97fc948b4614c3 28-Feb-2012 Andrew Hsieh <andrewhsieh@google.com> BUILD_HOST_64bit=1 to build host tools in 64-bit

By default we build tool in 32-bit. This flag allow individual tool and its
dependencies to be built in 64-bit (eg. Emulator). Fixes to resolve 64-bit
porting issues (in other git) will be submitted seperately.

Change-Id: I486cf7ddac727d3c374ed890857d497c3a69e598
92ca609cd18d0e0466b6ee9080c628b38c84251a 24-Feb-2012 Ying Wang <wangying@google.com> Fix bug with the HOST_AR.

Change-Id: I28ab86d3b6e7cbd4391e2640cf8e2be269b03e76
5dea692715dfe992432037c6005f91875a725841 01-Feb-2012 Ying Wang <wangying@google.com> Use @rpath and @loader_path to avoid absolute path

With "-Wl,-rpath,@loader_path/../lib" the linker embeds
@loader_path/../lib as the target binary's rpath.
Here @loader_path means the path of the binary that initiates the
loading.
With "-install_name @rpath/libfoo.dylib " the linker runtime searches
libfoo.dylib in the binary's embeded rpath.

With this change you can call dlopen() without specifying the full path
of the shared library.

Change-Id: If9beb3f6f4642a377bff603bab5ba3fdb96211bf
80469e4d6c9d14a8e5942260f44e1dd83a51df74 01-Feb-2012 Ying Wang <wangying@google.com> Delete unused var.

Change-Id: Ib6c295287f064529a8b4d8ada15a9fbb73064f1e
b4c2a6404089805ca2bae0c82677115c240cbdd6 01-Feb-2012 Ying Wang <wangying@google.com> Set install name with absolute path for Mac host shared libraries.

Before this change, path of the install name is relative to the top dir.
That means you can execute dynamically-linked binaries only in the top dir.
With this change, you can execute dynamically-linked binaries anywhere.

Change-Id: I1c6441579ffb68505ea678296aceb2e66a6df1be
fcf246c989110d76a80fc66ac72f1fbba4289ff6 20-Jan-2012 Ying Wang <wangying@google.com> Workaround for lack of "-Wl,--whole-archive" in MacOS's linker.

Change-Id: I2b1de0a253d341bcb7ee05fdc96bdc0d0967985e
80cfc37d0f0ddbb7db09b7662b84e816ab409537 05-Jan-2012 Al Sutton <al@funkyandroid.com> Partial fix for emulator under Lion.

Don't use -Wl,-dynamic on Lion
9ce06f11d69f5154843c234fe0624f9e70d39359 21-Dec-2011 Al Sutton <al@funkyandroid.com> Don't run ranlib on MacOS 10.7

Change-Id: I74f4623e6044dd804669aaa70c6e410fa8988d75
c101e27d547ee218337b2600e8158dedd0a064af 31-May-2011 Bruce Beare <bruce.j.beare@intel.com> Refactor Stripper. Allow a stripper other than SOSLIM to be specified

Orig-Change-Id: I61137f5bb123dc5f610af9928ed3debdf85ba74d
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
fcdabd4bdbb347399e77d2fd4b1aefd6281d75f8 25-Apr-2011 Ying Wang <wangying@google.com> Add LOCAL_GROUP_STATIC_LIBRARIES

Set LOCAL_GROUP_STATIC_LIBRARIES := true to group the static libraries,
in case we need gcc flags "-Wl,--start-group" and "-Wl,--end-group" to
fix circular references.

Change-Id: I03c4901670112fcdd2bb0fe660b6924e5776fcf8
3a7e4ccad9c910ac798a8c324f7718d137bd7692 28-Jan-2011 Ying Wang <wangying@google.com> Unify use of $(hide).

Change-Id: Ib7e17bbb4682caecce5812e63de872b676403d64
f5653d1cee10cd8995217e0831678a3610544b20 28-Jan-2011 Ying Wang <wangying@google.com> Regularize use of PRIVATE_CXX.

Change-Id: Ifc628c67b5fa142cec59187f89f2d39df81160b9
80e6cce93e36787be9123f9b5dc91da1a0d2f472 25-Jan-2011 Ying Wang <wangying@google.com> Correct misuse of target/host vars.

Change-Id: Ide41aeddc44ca05d85a36035c2d55ea453cfd216
9a8732fb6c6a569495e3695fc1e2b638de209beb 25-Aug-2010 Ying Wang <wangying@google.com> Link against Mac OSX 10.5 SDK if building on 10.6.

So that tools built on Snow Leopard (10.6) can be used on Leopard (10.5).

Change-Id: I99745ecbe2ad11feaae31d5be31c34c2e0ad7cc5
d6683f08c9ad0a924db663621844a6527164b99f 25-Aug-2010 Ying Wang <wangying@google.com> Link against Mac OSX 10.5 SDK if building on 10.6.

So that tools built on Snow Leopard (10.6) can be used on Leopard (10.5).

Change-Id: I99745ecbe2ad11feaae31d5be31c34c2e0ad7cc5
45ac4341515f7ff4d483cfb8e2fba8d3c2cb1f6e 24-Jun-2010 Bruce Beare <brucex.j.beare@intel.com> Refactor Stripper. Allow a stripper other than SOSLIM to be specified

Change-Id: I61137f5bb123dc5f610af9928ed3debdf85ba74d
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
ebc2869b8d324caf93ca68be08aa2be9a09c4cce 27-May-2010 Jeff Hamilton <jham@android.com> Build host tools as 32bit on all Darwin machines.

Change-Id: I121b388056e68b787518c66a01c172bc4ffaef9b
9b4a81237be29b0aae50d1e370b63a07ea2b88b9 23-Feb-2010 Jean-Baptiste Queru <jbq@google.com> Get rid of $(combo_target)

The only OS-ARCH combo that would have benefited from it
is linux-x86, but it explicitly used separate configurations
for the HOST_ and TARGET_ side of things.

This makes is clear which files are related to the HOST_
configuration and which ones are related to the TARGET_
configuration, and expands $(combo_target) to the only
possible/reasonable value that it could have had in every
file.

This also cleans up the simulator, by moving it in a single
place in TARGET_linux_x86 (since the only part that's special
is to use HOST_ settings even when building TARGET_ modules).

Change-Id: I2420eeb8cfe539f5807ec99cb3177ffb9f2476d5