Commit Graph

21465 Commits

Author SHA1 Message Date
Dan Albert
4ae5d4b331 Add a SANITIZE_HOST flag.
We had discussed the idea of making all host tools default to using
ASAN. Even if we don't make it the default, this makes it easy for the
user to switch all host binaries over.

Change-Id: I64a5c741b1b4e9aefed3a6be8dcd4f386e06b29c
2014-12-05 22:20:37 -08:00
Qiwen Zhao
3395c88f44 Merge commit 'aaf823d2' into lmp-mr1-dev-plus-aosp 2014-12-05 20:29:34 -08:00
Dan Albert
b58fb4aac6 Let clang decide ASan linker flags for the host.
Pass -fsanitize=address instead of manually specifying asan libraries
and other linker flags.

Note that we enable LOCAL_ALLOW_UNDEFINED_SYMBOLS by default for host
builds because ASAN only links symbols in the final executable, so
there will _always_ be undefined symbols in intermediate libraries.

Bug: 18208352
Change-Id: Ief55ab296e94974560eeb10507ec8d90f0025d5c
2014-12-05 14:52:56 -08:00
Rong Xu
bf401dd7f2 am 69b8c4f9: am 37979c57: Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9"
* commit '69b8c4f9314e6c48dde64a234b2f4b25500abb36':
  Upgrade gcc compiler for arm build from 4.8 to 4.9
2014-12-05 19:29:44 +00:00
Elliott Hughes
89154e3cf1 am 89b56de1: am 8298ddb0: Merge "bionic doesn\'t implement _FILE_OFFSET_BITS."
* commit '89b56de1904a2f72e81390d6758162dec6797bb9':
  bionic doesn't implement _FILE_OFFSET_BITS.
2014-12-05 19:25:57 +00:00
Elliott Hughes
28ab46aafa am 1ac5626e: am e9d1d7ad: Merge "Darwin has never had a 32-bit off_t."
* commit '1ac5626ef6d6dddabac05f1d992f1fb62797bfd3':
  Darwin has never had a 32-bit off_t.
2014-12-05 19:25:56 +00:00
Rong Xu
69b8c4f931 am 37979c57: Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9"
* commit '37979c5749bfa516094080f9e8a5c0f387273c5b':
  Upgrade gcc compiler for arm build from 4.8 to 4.9
2014-12-05 19:24:18 +00:00
Elliott Hughes
89b56de190 am 8298ddb0: Merge "bionic doesn\'t implement _FILE_OFFSET_BITS."
* commit '8298ddb0e5feee49fd35fa26ecfaf2a541af7d0f':
  bionic doesn't implement _FILE_OFFSET_BITS.
2014-12-05 19:20:31 +00:00
Elliott Hughes
1ac5626ef6 am e9d1d7ad: Merge "Darwin has never had a 32-bit off_t."
* commit 'e9d1d7adcf6473d4f3fce59f855772a7f9d3746b':
  Darwin has never had a 32-bit off_t.
2014-12-05 19:20:30 +00:00
Elliott Hughes
c473fa50ca am 451caf92: am c7296b6f: Merge "Remove ARCH_X86."
* commit '451caf92678ab03834a86c13651a287abce15455':
  Remove ARCH_X86.
2014-12-05 19:16:31 +00:00
Elliott Hughes
554361cda9 am 2e4e4acb: am 9658bda3: Merge "Remove ARCH_ARM."
* commit '2e4e4acbf0f84a32fc4ccb97bd7ef1da74f86f01':
  Remove ARCH_ARM.
2014-12-05 19:16:30 +00:00
Rong Xu
37979c5749 Merge "Upgrade gcc compiler for arm build from 4.8 to 4.9" 2014-12-05 19:14:15 +00:00
Elliott Hughes
451caf9267 am c7296b6f: Merge "Remove ARCH_X86."
* commit 'c7296b6f100fff7ab21fb1f512e9f230f4cae048':
  Remove ARCH_X86.
2014-12-05 19:08:57 +00:00
Elliott Hughes
2e4e4acbf0 am 9658bda3: Merge "Remove ARCH_ARM."
* commit '9658bda351e8e9226181b411eeb14b5cc3618471':
  Remove ARCH_ARM.
2014-12-05 19:08:55 +00:00
Elliott Hughes
8298ddb0e5 Merge "bionic doesn't implement _FILE_OFFSET_BITS." 2014-12-05 19:05:42 +00:00
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
2c93d80f17 bionic doesn't implement _FILE_OFFSET_BITS.
Change-Id: Iec9978e0bb69585dde69593402d53309e0ecb662
2014-12-05 11:01:43 -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
Rong Xu
bf8346e90c Upgrade gcc compiler for arm build from 4.8 to 4.9
Change-Id: Id85c56452a478ea94bdb6ea2b990c3b46a81eed9
2014-12-05 10:29:46 -08:00
smain@google.com
4e8f4b6e33 Merge "update to sdk page template for Android Studio downloads" 2014-12-05 18:28:56 +00:00
smain@google.com
85fd6240cf update to sdk page template for Android Studio downloads
Change-Id: I729a1238a97909d4087f7396cc478a5aea0c43cd
2014-12-04 18:16:10 -08:00
Ying Wang
be66d9f09a am 27eba54b: Add system propery ro.build.flavor.
* commit '27eba54b20e1f1d597a979be1469b62dd262aecb':
  Add system propery ro.build.flavor.
2014-12-05 00:42:02 +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
Adam Lesinski
ec792e5f39 am 82a033f8: am c2b74b87: am 57a3d3e1: Merge "Remove uses of density in PRODUCT_AAP_CONFIG" into lmp-mr1-dev
* commit '82a033f89c257ad72dbf175c3f145ae676958d87':
  Remove uses of density in PRODUCT_AAP_CONFIG
2014-12-05 00:13:49 +00:00
Ying Wang
27eba54b20 Add system propery ro.build.flavor.
ro.build.flavor is set to "$(TARGET_PRODUCT)-$(TARGET_BUILD_VARIANT)" in
system.img build.prop at build time,
and it won't be overridden by oem partition's build.prop.

Bug: 18605832
Change-Id: Ic917623dd43b74d9c601119db0b457483e8c4472
2014-12-04 15:19:08 -08:00
Dianne Hackborn
aaf823d23c am 0421d0b1: Fix issue #18368417: 5.0 -> 5.1.
* commit '0421d0b115208b50015781b09f3661b65d72e858':
  Fix issue #18368417: 5.0 -> 5.1.
2014-12-04 22:07:08 +00:00
Adam Lesinski
82a033f89c am c2b74b87: am 57a3d3e1: Merge "Remove uses of density in PRODUCT_AAP_CONFIG" into lmp-mr1-dev
* commit 'c2b74b87d4ea4bcdef228080a874bad4aca7c323':
  Remove uses of density in PRODUCT_AAP_CONFIG
2014-12-04 21:46:56 +00:00
Dianne Hackborn
0421d0b115 Fix issue #18368417: 5.0 -> 5.1.
Change-Id: Icd7137fe8b1bda1c5aaf170aa7b19a58832144c8
2014-12-04 12:10:32 -08:00
Stephen Hines
f70fa13e73 am 3ab4ba1d: am ea4f39e8: Merge "Switch to Clang 3.6."
* commit '3ab4ba1dff0dac72e938a710db7bb0860fe1ab0a':
  Switch to Clang 3.6.
2014-12-04 19:59:40 +00:00
Stephen Hines
3ab4ba1dff am ea4f39e8: Merge "Switch to Clang 3.6."
* commit 'ea4f39e86d315793390fb84b5b4d667aa4d3917b':
  Switch to Clang 3.6.
2014-12-04 19:51:36 +00:00
Elliott Hughes
54d67bfce4 am eae211ba: am b919da4c: Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk."
* commit 'eae211ba7b709716833e2f10421e0e6e1bd53926':
  Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
2014-12-04 16:17:17 +00:00
Adam Lesinski
c2b74b87d4 am 57a3d3e1: Merge "Remove uses of density in PRODUCT_AAP_CONFIG" into lmp-mr1-dev
* commit '57a3d3e1f48f1719fdead0b13495230d772955b4':
  Remove uses of density in PRODUCT_AAP_CONFIG
2014-12-04 15:17:20 +00:00
Yohann Roussel
75dbbb6e0f Merge "Compile using Jack." 2014-12-04 09:27:14 +00:00
Elliott Hughes
eae211ba7b am b919da4c: Merge "Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk."
* commit 'b919da4c6267cd139e8b3c41db921e1f61ad4c50':
  Rename core/combo/arch/x86/x86-atom.mk to core/combo/arch/x86/atom.mk.
2014-12-04 09:22:16 +00:00
Stephen Hines
ea4f39e86d Merge "Switch to Clang 3.6." 2014-12-04 02:59:21 +00:00
Adam Lesinski
57a3d3e1f4 Merge "Remove uses of density in PRODUCT_AAP_CONFIG" into lmp-mr1-dev 2014-12-03 23:29:16 +00:00
Adam Lesinski
83ee6d790f Remove uses of density in PRODUCT_AAP_CONFIG
Change-Id: I98594165515c07fa2e6b847266f7d8fa3283b52e
2014-12-03 15:20:51 -08: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
smain@google.com
711b3e3e4c am 02af9d6d: am b8e8e522: am e217fc3c: am eee91eb2: am d99989c5: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs
* commit '02af9d6dfdb1dcd35f3291d2a931265b886c57ad':
  new version of Helpouts recruit banner for TV and Wear
2014-12-03 21:51:53 +00:00
smain@google.com
02af9d6dfd am b8e8e522: am e217fc3c: am eee91eb2: am d99989c5: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs
* commit 'b8e8e522704f37ea5adc63cce9c34801bb10c42d':
  new version of Helpouts recruit banner for TV and Wear
2014-12-03 20:43:06 +00: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
smain@google.com
b8e8e52270 am e217fc3c: am eee91eb2: am d99989c5: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs
* commit 'e217fc3c3ee9a437dfdeda2c3cc0df99380dbfc0':
  new version of Helpouts recruit banner for TV and Wear
2014-12-03 18:36:34 +00:00
smain@google.com
e217fc3c3e am eee91eb2: am d99989c5: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs
* commit 'eee91eb24233fa0a14f2d273bebd18a4bcb87310':
  new version of Helpouts recruit banner for TV and Wear
2014-12-03 18:12:41 +00:00
smain@google.com
eee91eb242 am d99989c5: Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs
* commit 'd99989c558c384312bd63cf3a5e1bbbd799bf4b5':
  new version of Helpouts recruit banner for TV and Wear
2014-12-03 03:04:49 +00:00
smain@google.com
d99989c558 Merge "new version of Helpouts recruit banner for TV and Wear" into lmp-docs 2014-12-03 02:23:11 +00:00
Stephen Hines
a3b5851b3a am 78706f91: am 0db9ea92: Merge "Fix a preprocessor warning exposed by -Wundef."
* commit '78706f9149b2513bd71672aaa651cd8855088fe3':
  Fix a preprocessor warning exposed by -Wundef.
2014-12-03 00:29:48 +00:00