Commit Graph

20461 Commits

Author SHA1 Message Date
Serban Constantinescu 3da4f32794 Remove TARGET_CPU_SMP.
There are no more users of TARGET_CPU_SMP in the current codebase.
Expert users should set "-smp" in DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES
for targets that run on a single-core CPU.

Change-Id: Ib94865f05a92c9a4622540cebc18ded4bdfa6363
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2014-11-24 17:02:34 +00:00
Elliott Hughes 88392fae52 Merge "Ensure the base system includes toybox." 2014-11-23 17:47:50 +00:00
Elliott Hughes 626d3f0a77 Ensure the base system includes toybox.
Change-Id: I0eec19328855d67da1c574a88b452f0eeec6adc7
2014-11-22 23:13:40 -08:00
Dan Albert 0616000d09 Merge "Make cgrep check .hpp files as well." 2014-11-22 20:48:45 +00:00
Dan Albert 019611958f Make cgrep check .hpp files as well.
Change-Id: Ie8e9ce7270233ac01d7bc80bda5adc28afa158ed
2014-11-22 10:16:01 -08:00
Elliott Hughes 28a9c77026 Merge "Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN." 2014-11-22 08:06:11 +00:00
Elliott Hughes 619b692b9a Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.
Change-Id: Ie596af7460ec33d70d7327e629b38d641ef48ba2
2014-11-21 23:55:26 -08:00
Elliott Hughes 9d3ca15f1c Merge "Kill LOCAL_SOCKET_NAMESPACE." 2014-11-22 07:52:42 +00:00
Elliott Hughes 80c63ddfd7 Kill LOCAL_SOCKET_NAMESPACE.
Change-Id: I40c63b8e7ae1174ac902b545555ddab65b3fef38
2014-11-21 22:54:28 -08:00
Dan Albert 9cef682306 Merge "Revert "Fix the libgcc/libatomic link order."" 2014-11-20 23:27:24 +00:00
Dan Albert e440c3c07b Revert "Fix the libgcc/libatomic link order."
This caused a lot of failures in the libc++ tests, since linking
libgcc.a before libc++.so means that the wrong unwinder will be used.

This patch is still correct, but I will revert for now while I find a
good way to apply it without breaking unwinding.

This reverts commit 741b36e922.

Change-Id: I57e0b89534adf5c1677dbf2f64ac750e74bd5fbf
2014-11-20 15:10:00 -08:00
Elliott Hughes 37d75513ab Merge "Kill INCLUDE_SYS_MOUNT_FOR_STATFS." 2014-11-20 21:03:29 +00:00
Elliott Hughes c9b2472b50 Kill INCLUDE_SYS_MOUNT_FOR_STATFS.
Change-Id: If3ff83c475921d72936a19317e356549d1706fab
2014-11-20 12:58:26 -08:00
Ying Wang 79d8f41e1d Merge "Fix building on modern versions of Xcode and OS X." 2014-11-20 17:18:37 +00:00
Ying Wang ea6113f0f1 Merge "arm: Support qemu-android on generic arm targets" 2014-11-20 17:17:55 +00:00
Yabin Cui aecf90220c Merge "kill HAVE_PREAD" 2014-11-20 05:15:15 +00:00
Yabin Cui 1acc2a1877 kill HAVE_PREAD
Bug: 18397613
Change-Id: I0061f8080709449f13dc76ce61097a2671c799ff
2014-11-19 20:48:36 -08:00
Christoffer Dall a60edd110f arm: Support qemu-android on generic arm targets
When building a generic arm 32-bit target, we also want to include
support for the ranchu board model for the updated Android emulator
based on recent upstream QEMU.

Since the emulator.mk file is included by both the generic and
generic_arm64 targets and already defines a PRODUCT_COPY_FILES and
PRODUCT_PACKAGES, move duplicate entries from
target/board/generic*/device.mk to target/product/emulator.mk.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Change-Id: I7922ec0c4097776a185dbb245301d760ff332386
2014-11-19 12:17:59 -08:00
Ying Wang 471e60d6a8 Merge "Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list" 2014-11-19 18:53:19 +00:00
Yabin Cui 9f7c5fef0e Merge "kill HAVE_MADVISE" 2014-11-19 04:26:20 +00:00
Yabin Cui 16ccc03746 kill HAVE_MADVISE
Bug: 18397020
Change-Id: I6b9c7d30432858131379759e738d3e04bc8d5fb5
2014-11-18 18:14:37 -08:00
Andreas Gampe 44259e4cc6 Merge "Build: Support for compiled-classes file" 2014-11-18 23:31:50 +00:00
Andreas Gampe 96a522037f Build: Support for compiled-classes file
Allow a compiled-classes file for pre-opting.

Bug: 18410571

(cherry picked from commit 4fec0bb265)

Change-Id: I8c69dd0fb8c04aaae0c4f062049cc9cce7d755c7
2014-11-18 15:09:51 -08:00
Andreas Gampe 8bde98733b Merge "core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files" 2014-11-18 23:08:17 +00:00
Igor Murashkin 97f28c63d4 core: Use WITH_DEXPREOPT_PIC=true to have dex2oat build pic oat files
When WITH_DEXPREOPT=true is set, if we also set WITH_DEXPREOPT_PIC=true
then the build will generate position-independent OAT images.

This means that all the system applications no longer need to be
relocated into /data/dalvik-cache and this can achieve saving disk space
at the cost of slightly slower running code.

Bug: 18035729

(cherry picked from commit da9f1a7e82)

Change-Id: Ifd517c842f48bf31568bf5ff56667298d422c2c0
2014-11-18 14:58:48 -08:00
Elliott Hughes 39961b926e Merge "Remove another unused definition." 2014-11-18 22:15:26 +00:00
Elliott Hughes bce40c38ce Remove another unused definition.
We have a lot of definitions around the tree, of which this is but one,
but we have no users.

Change-Id: Ic411505a0370be2b56150275fa9b8f5329241ce8
2014-11-18 14:10:27 -08:00
Elliott Hughes 3c0682c6b5 Merge "Kill unused ARCH_* defines." 2014-11-18 21:55:13 +00:00
Elliott Hughes 436c73931a Kill unused ARCH_* defines.
No one's using ARCH_AARCH64 or AARCH_MIPS64 yet, and ARCH_PPC was always more
aspirational than real.

Change-Id: I07c6cbad6eb0917c4c24848a98c3bc9a3fe72db6
2014-11-18 12:57:34 -08:00
Elliott Hughes e5743ef73f Merge "Remove libdvm dex preopt support." 2014-11-18 20:52:31 +00:00
Ying Wang 634f7992f0 Use ALL_MODULES.$(m).INSTALLED in modules-for-tag-list
Previously we store tag's installed modules in a separate variable
ALL_MODULE_TAGS.$(tag). However we only record the main installed file
for a module, but omit affiliated files like .odex.
With this change, we handle the tagged module the same way as modules in
PRODUCT_PACKAGES.

Change-Id: I7972528a4df5a4ba8bc98930864da9672d32d7fe
2014-11-18 12:48:07 -08:00
Yabin Cui 57ed1ddf78 Merge "kill HAVE_TERMIO_H" 2014-11-18 03:40:34 +00:00
Elliott Hughes ef8a940f78 Remove libdvm dex preopt support.
libdvm is dead.

Change-Id: Ib8571c007f8a9f0e0eaf5c61b5d2e416b2d95089
2014-11-17 17:49:51 -08:00
Dan Albert 9b0ccb7480 Merge "Fix the libgcc/libatomic link order." 2014-11-17 23:55:57 +00:00
Dan Albert 654e39072e Merge "Remove libstlport from PRODUCT_PACKAGES." 2014-11-17 23:05:49 +00:00
Yabin Cui a16825ff7a kill HAVE_TERMIO_H
Bug: 18398307
Change-Id: I54fc0235fbc40630f8024570b928dba115b1c39a
2014-11-17 14:49:39 -08:00
Dan Albert ef11722e9b Remove libstlport from PRODUCT_PACKAGES.
Bug: 15193147
Change-Id: Idd2699d895393216bcd514da64145540faec4033
2014-11-17 14:26:11 -08:00
Miao Wang ec64b05e9d Merge "Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib." 2014-11-17 21:25:24 +00:00
Dan Albert f63ca1e9ea Merge "Disable gnu style linker hash for NDK builds." 2014-11-17 20:29:43 +00:00
Ying Wang 45f975bba5 Merge "Fix PDK build." 2014-11-17 19:34:33 +00:00
Ying Wang 5cef1ce30d Merge "Install preloaded-classes as a standalone configuration file" 2014-11-17 19:34:21 +00:00
Dan Albert fbb553dcd8 Merge "Colorize build success/failure message." 2014-11-17 19:34:11 +00:00
Ying Wang 3424e699d9 Fix PDK build.
Add frameworks/base/preloaded-classes to PRODUCT_COPY_FILES only if it
exists in the source tree.

Bug: 18305157
Change-Id: I46c277ebfb8095f9e5fe0fbb21276d932509f2eb
2014-11-17 11:26:46 -08:00
Ying Wang 0c9b3bac65 Install preloaded-classes as a standalone configuration file
Install preloaded-classes as a standalone configuration file
/system/etc/preloaded-classes, so we can configure different file per product.
To override the default frameworks/base/preloaded-classes, just override
in your product configuration makefile with PRODUCT_COPY_FILES before it
inherits from build/target/product/base.mk: if there are multiple items
in PRODUCT_COPY_FILES with the same destination, the first one takes
precedence.

Bug: 18305157
Change-Id: I937632b4a1aa73310ec90e73fd708fbd0c704a21
2014-11-17 11:26:29 -08:00
Dan Albert 8df7653d56 Merge "Remove logic for platform stlport gtest." 2014-11-15 23:42:15 +00:00
Miao Wang e23e8080c6 Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib.
Bug 18395015

Change-Id: Ib9aecf347c685c8b8b725eecfbc0cec03d9b2c1b
2014-11-15 14:25:33 -08:00
Dan Albert b59995d0cd Colorize build success/failure message.
Change-Id: I8901689876e65f5b72050c40e1580f167e49c2b0
2014-11-14 22:37:46 -08:00
Dan Albert d3d894da74 Disable gnu style linker hash for NDK builds.
This feature is now available in AOSP, but not for any shipped
release. We don't have an API version for the release that this will
be available in yet, so for now the check is commented out.

Bug: 18395015
Change-Id: I247233d047ed5a7564d6602d47c9ad962313c8dc
2014-11-15 01:50:52 +00:00
Ying Wang 5520d930c8 Merge "sign_target_files_apks: fix recovery patch generation" 2014-11-14 18:53:57 +00:00
Dan Albert a05a04cc75 Merge "Refactor transform-o-to-* definitions." 2014-11-14 18:01:21 +00:00