Commit graph

13 commits

Author SHA1 Message Date
Ying Wang
6feb6d5607 Support host multilib build
This change basically ported our target multilib to the host side.
It supports 2 host build modes: x86 and x86_64 multilib build.
For now you need to set "BUILD_HOST_64bit=true" to switch to x86_64
multilib build. Later we'll default to x86_64 build and have a flag
to force 32-bit only build, which may be needed by SDK build.

In host module definition, like in target ones, you can use the
following
LOCAL variables to set up multilib configuration:
LOCAL_MULTILIB: can be "both", "first", "32" or "64".
It also supports the same set of arch or 32-vs-64 specific LOCAL
variables.
By default, it builds only for the first arch.

To keep path compatibility, in x86_64 build files are still output to
out/host/linux-x86; Both 32-bit and 64-bit executables are in
out/host/linux-86/bin;
In x86_64 build 32-bit shared libraries are installed to
out/host/linux-x86/lib32
and 64-bit shared libraries are installed to out/host/linux-x86/lib;
32-bit object files are output to out/host/linux-x86/obj32 and 64-bit
object files
are output to out/host/linux-x86/obj.

Bug: 13751317
Change-Id: I6044f83b7db369a33e05209e8c588eb6dc83409f
2014-05-14 16:55:04 -07:00
Bjorn Bringert
4b269e4d35 Move pseudolocalize to aapt
Only aapt used pseudolocalization, so the code has
been moved to frameworks/base/tools/aapt

Change-Id: I1ddb3215c927fb19ca3765768edb8d14b38da94a
2013-04-26 14:40:41 +01:00
Andrew Hsieh
276053b291 Use %zd instead of %d for variables of type ssize_t
To generate correct 64-bit code (with -m64)

Change-Id: I7cd5e0c7e8bdcb9ea3bf73df0dcda55f1cb56eec
2012-02-27 16:06:00 -08:00
Ying Wang
c7a10ddd31 Include toolchain makefile based on the current config.
So we can have the same set of module names in different host arch
/ toolchain version combinations.

Change-Id: Iec66584bf3de92aedd71a59f9dbe74b6ed025b2e
2012-01-06 11:59:30 -08:00
Raphael Moll
a63e3cc186 Cygwin fix: Use new #if HAVE_STAT_ST_MTIM
stat.st_mtim doesn't exist under MinGW or Cygwin.

Change-Id: I0d9c81a0529d8d289d84600ed9d1a451e7f1f258
2010-11-01 15:53:45 -07:00
Jean-Baptiste Queru
8884bf02d8 Fix build - USE_MINGW seems to be the preferred define
Change-Id: I57dd7f5029ed1fe3a74be7573a28fa894187b3a7
2010-07-09 13:25:41 -07:00
Kan-Ru Chen
24d22be31c acp: Ensure dst mtime always greater or equal to src mtime
When copying files from file systems that support high resolution
mtime, we should not truncating the nsec part. Instead we should
increase the dst mtime by one sec to prevent dst mtime to become less
than src mtime.

Change-Id: I2b4200c72c4e6ee8aae875b5e64701324799afc7
2010-07-09 11:03:14 +08:00
Jean-Baptiste Queru
e3bc7aca02 Revert "acp: Ensure dst mtime always greater or equal to src mtime"
This reverts commit a67bc11058.

Change-Id: Iba646152e62d61f0e4e64541748e7821a7dd3a9c
2010-07-08 10:15:15 -07:00
Kan-Ru Chen
a67bc11058 acp: Ensure dst mtime always greater or equal to src mtime
When copying files from file systems that support high resolution
mtime, we should not truncating the nsec part. Instead we should
increase the dst mtime by one sec to prevent dst mtime to become less
than src mtime.

Change-Id: I5cab1edd4b9783ec0e3ceb04ed833d8bbba00b19
2010-07-05 17:43:51 +08:00
Brian Swetland
2dd82d8cd6 remove mkdirs/etc which caused us to depend on libutils
Depending on libutils causes a build layering violation,
requiring frameworks/base/... for libhost...

Signed-off-by: Brian Swetland <swetland@google.com>
2009-06-04 14:54:15 -07:00
The Android Open Source Project
88b607994a auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
The Android Open Source Project
05806d7af6 auto import from //depot/cupcake/@135843 2009-03-03 18:28:14 -08:00
The Android Open Source Project
b6c1cf6de7 Initial Contribution 2008-10-21 07:00:00 -07:00