Commit graph

20344 commits

Author SHA1 Message Date
Elliott Hughes
e9d1d7adcf Merge "Darwin has never had a 32-bit off_t." 2014-12-05 19:05:04 +00:00
Elliott Hughes
a37476967d Darwin has never had a 32-bit off_t.
Change-Id: Ifa48fab99d73fb532afc56d235b7397e05c0fc6a
2014-12-05 11:03:56 -08:00
Elliott Hughes
c7296b6f10 Merge "Remove ARCH_X86." 2014-12-05 18:57:28 +00:00
Elliott Hughes
9658bda351 Merge "Remove ARCH_ARM." 2014-12-05 18:55:20 +00:00
Elliott Hughes
4b57e512c7 Remove ARCH_X86.
Change-Id: I832247bec22f23666f14dfb715192ada201ab097
2014-12-04 16:39:30 -08:00
Elliott Hughes
ff4ea2cb37 Remove ARCH_ARM.
Change-Id: Ic3014aa01f82204b75c54ab3f7afa3a44890e02e
2014-12-04 16:29:20 -08:00
Stephen Hines
ea4f39e86d Merge "Switch to Clang 3.6." 2014-12-04 02:59:21 +00:00
Stephen Hines
433f1614b0 Switch to Clang 3.6.
This change also defaults C compilations with clang to gnu99, and turns off
the -Winconsistent-missing-override flag, since we need further cleanup to
turn it on. -finline-functions is an unnecessary flag that only gcc needs.

Change-Id: I1cfcaedca32d9e3c248a6aa9460603205901c491
2014-12-03 15:11:09 -08:00
Elliott Hughes
b919da4c62 Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk." 2014-12-03 20:09:39 +00:00
Alexander Ivchenko
6bbaee0682 Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
Otherwise wrong set of memory/string functions is chosen when building atom
image (in Bionic we have libc/arch-x86/atom/atom.mk). Plus this naming is
consistent with other x86 architectures.

Change-Id: I21e899534e7ce10530474a22ceba770422b39d8d
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
2014-12-03 22:41:10 +03:00
Stephen Hines
0db9ea9233 Merge "Fix a preprocessor warning exposed by -Wundef." 2014-12-02 19:25:19 +00:00
Stephen Hines
d134f252ef Fix a preprocessor warning exposed by -Wundef.
Bug: 18589470

__LP64__ is only defined for 64-bit compilation targets, so this macro
is evaluated as an implicit 0 in the original case. This change makes
it explicit that we only care whether this is actually defined.

Change-Id: I8c11b41fc0bde9477c5efeea0782d9741d9d827d
2014-12-02 11:17:07 -08:00
Elliott Hughes
7e7fc27cbc Merge "Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY." 2014-12-02 18:42:26 +00:00
Stephen Hines
4bad2d2156 Merge "Add more support for GLOBAL_CONLYFLAGS." 2014-12-02 18:35:17 +00:00
Ying Wang
ded6640d97 Merge "Don't set up the prebuilt apk rule twice." 2014-12-02 17:31:44 +00:00
Elliott Hughes
86e6b7ed51 Remove unused BUILD_RAW_EXECUTABLE and BUILD_RAW_STATIC_LIBRARY.
Change-Id: I1ba79197f3b9bb446ab34612bac8eb9485438709
2014-12-01 20:53:11 -08:00
Ying Wang
a11cf4d535 Don't set up the prebuilt apk rule twice.
For apps, we don't want to set up the prebuilt apk rule twice even if
"LOCAL_MULTILIB := both", which for apps really means to set up only the
jni library rules twice. See also build/core/install_jni_libs.mk.

Change-Id: Id0406c3c605c6ede613dba06178a1710590c09b3
2014-12-01 15:56:19 -08:00
Stephen Hines
1568029218 Add more support for GLOBAL_CONLYFLAGS.
This will be necessary to support -std=gnu99 mode for clang 3.6, which
defaults to C11 mode (unlike prior releases that use C99).

Change-Id: Iea84582f9f12ba76b988463cbc0a20bd61042538
2014-12-01 15:36:26 -08:00
Dan Albert
7dcbc563f8 Merge "Fix a typo in my_cppflags assignment." 2014-12-01 17:59:45 +00:00
Dan Albert
d2fa96d7c6 Fix a typo in my_cppflags assignment.
Make strikes once again...

Change-Id: I295b4157fc7566b1a2cb925b06918dc0a96a7bce
2014-11-28 14:00:12 -08:00
Elliott Hughes
65a36e0fa0 Merge "Remove HAVE_SYS_UIO_H." 2014-11-26 00:15:36 +00:00
Elliott Hughes
c6d435f55d Remove HAVE_SYS_UIO_H.
Change-Id: I4f401900285e166486bb426ac02bc69fc5509a3c
2014-11-25 13:59:21 -08:00
Elliott Hughes
5bb748dc6e Merge "Remove unused HAVE_STDBOOL_H." 2014-11-25 21:15:56 +00:00
Elliott Hughes
b35ef252e8 Remove unused HAVE_STDBOOL_H.
Change-Id: I0072847719566e9622ec9765673fdeb8be9eb5ef
2014-11-25 12:22:43 -08:00
Dan Albert
29f8d7d68a Merge "Make gnu++11 the default standard version." 2014-11-25 18:36:05 +00:00
Elliott Hughes
99a75fbbb9 Merge "Kill unused HAVE_WRITEV." 2014-11-25 18:35:47 +00:00
Elliott Hughes
9ed0cd57ba Kill unused HAVE_WRITEV.
Change-Id: I6e4df2449b27d67f207fc53b19e49b21f9cee611
2014-11-25 10:30:55 -08:00
Nicolas Geoffray
3379b3a461 Merge "Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"" 2014-11-25 14:22:37 +00:00
Nicolas Geoffray
ffefd33491 Revert "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk"
This breaks our build-art-host and build-art-target. I think we need to rewrite those rules as well.

This reverts commit 29f0a487b0.

Change-Id: I2e6674e01a2042e9d53e28ecd3e6bdf76fa806a3
2014-11-25 12:52:26 +00:00
Dan Albert
bf0426f474 Make gnu++11 the default standard version.
There are a _lot_ of users of `typeof` in the tree, and they'll need a
GNU flavored standard. Rather than fixing up all of these
individually, let's just use gnu++11 as the default.

Bug: 18466763
Change-Id: Ia1bd3adaa74fadba259fda3d37653fb8d5cff69a
2014-11-24 15:53:31 -08:00
Ying Wang
918ca4fd35 Merge "Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk" 2014-11-24 23:48:45 +00:00
Ying Wang
29f0a487b0 Use PRIVATE_POST_INSTALL_CMD to simplify executable_prefer_symlink.mk
Change-Id: I4a2827b2cdbb0bf5a8ca960561fbe17cc80cc275
2014-11-24 15:44:39 -08:00
Elliott Hughes
7adbb46659 Merge "Remove TARGET_CPU_SMP." 2014-11-24 18:07:55 +00:00
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