Yi Kong
1b0ba94e5d
Add -faddrsig to ClangExtraCflags
...
Emit address-significance table which allows linker to perform safe ICF.
Clang does not emit the table by default on Android since NDK still uses
GNU binutils.
With the flag, binary size is decreased. For Marlin:
-fno-addrsig -faddrsig diff
/system/bin 28012K 27108K -3.33%
/system/lib 88220K 86964K -1.44%
/system/lib64 151936K 148108K -2.58%
Test: m checkbuild
Bug: 128940110
Change-Id: I99511f038a6d4b88b5c849a0f8943c24731ab6ea
(cherry picked from commit a32b5e6a6b
)
2019-03-20 10:35:40 -07:00
Yi Kong
35badd74bf
Merge "Switch clang to r353983" am: bdb1ed828d
am: cc6ac6647f
...
am: d182fd4f26
Change-Id: I0daabff1c4ed0045115fb8fd2c7ef6542742518a
2019-03-18 21:37:39 -07:00
Yi Kong
cc6ac6647f
Merge "Switch clang to r353983"
...
am: bdb1ed828d
Change-Id: I1852d1b722211a2bb2ba8425e4e91fe19ad66811
2019-03-18 21:29:33 -07:00
Yi Kong
bdb1ed828d
Merge "Switch clang to r353983"
2019-03-19 04:21:20 +00:00
Yi Kong
6925d2b300
Switch clang to r353983
...
Bug: 126457671
Bug: 123638879
Bug: 128878287
Test: go/clang-r353983-testing
Change-Id: I7f16e68f0f521ff55587084932d175b704e452c9
2019-03-19 04:20:52 +00:00
Benjamin Gordon
58d24616e2
Merge "Add stoney ridge x86 variant" am: cd2e52870a
am: 5473e3fbdf
...
am: c8351c6af8
Change-Id: I83644aba3f3657bf630b9330f6d30ab1ff3466e1
2019-03-15 15:57:18 -07:00
Benjamin Gordon
5473e3fbdf
Merge "Add stoney ridge x86 variant"
...
am: cd2e52870a
Change-Id: I8c08245cc45cc4ed91a016058fb043a299fa95cf
2019-03-15 15:33:53 -07:00
Benjamin Gordon
87e7f2f685
Add stoney ridge x86 variant
...
Bug: 124445930
Test: compile and deploy to grunt
Change-Id: Ie63217c7c68f5688bf070cbabf9ea5a1b82d3acc
2019-03-15 11:04:48 -06:00
Stephen Hines
33b3746bb7
Merge "Add AVX/AVX2 supported archs in build system" am: 5971f50a22
am: 3c9be84a21
...
am: 55b011de4c
Change-Id: I7bf976ebdafd8a7859c4c6aa6a6df08c6947316b
2019-03-14 18:21:09 -07:00
Stephen Hines
3c9be84a21
Merge "Add AVX/AVX2 supported archs in build system"
...
am: 5971f50a22
Change-Id: I674453855cd1527aca39c90eac706deec91a4006
2019-03-14 18:02:03 -07:00
Shalini Salomi Bodapati
4a0459dd03
Add AVX/AVX2 supported archs in build system
...
This patch adds new arch features avx2 and avx512 and
their supported archictectures for x86 and x86_64
Bug: 123376719
Test: m checkbuild
Change-Id: I3c079741815b39d7dbb4072e12ef7c9c2c15f5fe
Signed-off-by: Shalini Salomi Bodapati <shalini.salomi.bodapati@intel.com>
2019-03-13 03:48:45 +00:00
Xin Li
ced438cafc
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
...
Bug: 120848293
Change-Id: Ie10bc45dbb1bbf96df17a89ecdf24b68da3ca6d5
2019-02-21 09:24:25 -08:00
Dan Willemsen
88f84d3389
Merge "Allow linking against SystemConfiguration framework on Mac" am: 11545323d2
am: f8aaa24575
...
am: 9f2a63692c
Change-Id: I9604d349d6a551a6336485d89725dfeeecc6762c
2019-02-20 15:14:55 -08:00
Dan Willemsen
9f2a63692c
Merge "Allow linking against SystemConfiguration framework on Mac" am: 11545323d2
...
am: f8aaa24575
Change-Id: I6098803167563d41dbdbf51f91f9b9b2ee71d567
2019-02-20 14:44:44 -08:00
Treehugger Robot
11545323d2
Merge "Allow linking against SystemConfiguration framework on Mac"
2019-02-20 21:06:11 +00:00
Dan Willemsen
97d017ecce
Allow linking against SystemConfiguration framework on Mac
...
This is needed for Python
Test: m py2-cmd; py2-cmd -murllib
Change-Id: I156bd281cb341eba7bdd7e7a15b87e8e90ecee1d
2019-02-20 10:28:56 -08:00
Xin Li
b81f48ee02
Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
2019-02-20 16:26:00 +00:00
Dan Albert
6b3956d122
Merge "Revert "Remove armv7-a without neon support"" am: 48db2b15fb
am: ecbadc5b6c
...
am: 856c8234f2
Change-Id: Ica4d9b0b474c6be9dd273dab71f33f013abaf6dc
2019-02-20 05:39:39 -08:00
Dan Albert
856c8234f2
Merge "Revert "Remove armv7-a without neon support"" am: 48db2b15fb
...
am: ecbadc5b6c
Change-Id: Ib59fed4c3f2d6405c64224152e055280fd455f51
2019-02-20 05:27:20 -08:00
Dan Albert
ecbadc5b6c
Merge "Revert "Remove armv7-a without neon support""
...
am: 48db2b15fb
Change-Id: I3f0bd183bb1dfe36fd9f6221c264c3c26d13e72f
2019-02-20 05:10:09 -08:00
Dan Albert
8818f49989
Revert "Remove armv7-a without neon support"
...
Unfortunately we still need to build the NDK sysroot as non-NEON
since that's still supported, though it's no longer the default.
This reverts commit f4e0601c7e
.
Test: treehugger
Test: rebuilt NDK sysroot and imported into the NDK, ran NDK tests
Bug: None
2019-02-19 13:53:01 -08:00
Pirama Arumuga Nainar
2933c50de6
Merge "Switch to clang-r349610" am: 42b87a2e56
am: 8edd1c3632
...
am: 06b240368e
Change-Id: I22b72f4a260e0438248da7a1401b61a49b1dc26a
2019-02-01 12:14:22 -08:00
Pirama Arumuga Nainar
06b240368e
Merge "Switch to clang-r349610" am: 42b87a2e56
...
am: 8edd1c3632
Change-Id: I92713c576b5c9c9bf7ee16d0016c0f9aa495a3e7
2019-02-01 11:27:22 -08:00
Pirama Arumuga Nainar
8edd1c3632
Merge "Switch to clang-r349610"
...
am: 42b87a2e56
Change-Id: If67d4fd64234ae0ab727556121a6a4cc21941631
2019-02-01 11:07:54 -08:00
Pirama Arumuga Nainar
03b58e2210
Switch to clang-r349610
...
Bug: http://b/122481018
The '-keep' option of llvm-strip has changed to '-keep-section'. Update
scripts/strip.sh accordingly.
Test: Tested on various targets in AOSP and internal branch. Googlers
see http://go/clang-r349610-testing
Change-Id: Ibfc97ecdcdc305c97a4169cead1e1e3cddda9c4c
2019-01-31 16:32:34 +00:00
George Burgess IV
6e55ec9f03
Merge "config: swap to glibc 2.17" am: f4803454b0
am: 5106157118
...
am: 1b9ee9d55e
Change-Id: I84e406ac79693d62c784d18ae7dc5e5fb0556444
2019-01-29 15:11:25 -08:00
George Burgess IV
1b9ee9d55e
Merge "config: swap to glibc 2.17" am: f4803454b0
...
am: 5106157118
Change-Id: If14fbfc6a66f39f36a2d8c626576a2e0582c630a
2019-01-29 14:47:13 -08:00
George Burgess IV
5106157118
Merge "config: swap to glibc 2.17"
...
am: f4803454b0
Change-Id: I7671fe1c1a8bd380aa338cc981cca954fa7d59b6
2019-01-29 14:39:52 -08:00
George Burgess IV
f4803454b0
Merge "config: swap to glibc 2.17"
2019-01-29 22:24:58 +00:00
Orion Hodson
50ecc4d730
Merge "Remove libnativehelper from global includes" am: 6703e6f390
am: 2946369186
...
am: d5325cde0a
Change-Id: Ib2d861763ff3612fa4f81a16fa1b6d7142bba557
2019-01-29 07:03:10 -08:00
Orion Hodson
d5325cde0a
Merge "Remove libnativehelper from global includes" am: 6703e6f390
...
am: 2946369186
Change-Id: I2a4368d191d443fff15e385c6ef89a9af6cb9f03
2019-01-29 06:51:53 -08:00
Orion Hodson
2946369186
Merge "Remove libnativehelper from global includes"
...
am: 6703e6f390
Change-Id: I2c35da64b0886c0a6a0d24f8432ef9f8ff92319a
2019-01-29 06:41:33 -08:00
Orion Hodson
1e7c3d63a9
Remove libnativehelper from global includes
...
Bug: 119840313
Test: m checkbuild
Change-Id: Id80e26a396c2e289dcd2596a5b799e251d9ccf1b
2019-01-27 11:11:01 +00:00
Dan Willemsen
e525783992
Merge "Remove armv7-a without neon support" am: e4f12785db
am: cf71b8ca86
...
am: 89cfde3026
Change-Id: I0b79b14d47e778d4dce4f886cbc0d528a53be3fa
2019-01-24 20:13:33 -08:00
Dan Willemsen
89cfde3026
Merge "Remove armv7-a without neon support" am: e4f12785db
...
am: cf71b8ca86
Change-Id: Ib20a7fa4a78d90fccb24a1ae9ea8e571d3f6447a
2019-01-24 20:09:32 -08:00
Dan Willemsen
cf71b8ca86
Merge "Remove armv7-a without neon support"
...
am: e4f12785db
Change-Id: I2529ec9417cf4f49e70a424dd7a37441fb884624
2019-01-24 19:57:47 -08:00
Dan Willemsen
e4f12785db
Merge "Remove armv7-a without neon support"
2019-01-25 03:52:17 +00:00
Doug Horn
4faa6d2488
Support building for Fuchsia. am: c32c6b0d79
am: ac2925f410
...
am: b85599e803
Change-Id: I6ef28e11e3fbe3dc3217ae7b1c05f39ada1ebbd3
2019-01-24 16:14:20 -08:00
Doug Horn
b85599e803
Support building for Fuchsia. am: c32c6b0d79
...
am: ac2925f410
Change-Id: I29ce80cb8ba76835b97cbdd24c0e3da625dfa83e
2019-01-24 16:06:17 -08:00
Doug Horn
ac2925f410
Support building for Fuchsia.
...
am: c32c6b0d79
Change-Id: Ic180340f6f508e4a897e0464e3e0bc2f3d22c87c
2019-01-24 15:58:35 -08:00
Dan Willemsen
f4e0601c7e
Remove armv7-a without neon support
...
Test: treehugger
Change-Id: I8565d84224daedb6a6dde6dfb9c0fe5f5fabb0f6
2019-01-24 15:51:26 -08:00
Doug Horn
c32c6b0d79
Support building for Fuchsia.
...
This CL adds configs for the arm64 and x64 fuchsia
device targets, sets up the necessary linker flags,
and disables some functionality that is not currently
supported on Fuchsia.
Bug: 119831161
Test: Compile walleye, internal validation against
fuchsia_arm64-eng and fuchsia_x86_64-eng.
Change-Id: I2881b99d2e3a1995e2d8c00a2d86ee101a972c94
2019-01-24 18:59:29 +00:00
George Burgess IV
7294cdced0
config: swap to glibc 2.17
...
**Please do not revert this change without consulting with either
srhines@ or gbiv@ first. It's a large change, and if it only causes
simple/small breakages, we plan to fix those as they pop up.**
This CL swaps the host Android Linux toolchain to gcc 4.8.3 + glibc
2.17, landed in Ieeed444801160e3d288bbad7d871067e81411118.
Bug: 111358231
Test: We've done extensive testing on internal master. Please see
Ieeed444801160e3d288bbad7d871067e81411118.
Change-Id: If991a603a3dce33b55086672c27a11992f0f3123
2019-01-23 14:02:10 -08:00
Jerome Gaillard
fa88a39496
Merge "Add Skia deps to the list of available Windows libraries" am: 13a539c009
am: c5c22a4f86
...
am: 784c73f883
Change-Id: Ib7fd5b0da822203e4b5577abd67f3c70e1accc3f
2019-01-21 12:30:00 -08:00
Jerome Gaillard
784c73f883
Merge "Add Skia deps to the list of available Windows libraries" am: 13a539c009
...
am: c5c22a4f86
Change-Id: Ie97f8c6a0a1dbd77dbed2d512d1267cf783435da
2019-01-21 12:17:36 -08:00
Jerome Gaillard
c5c22a4f86
Merge "Add Skia deps to the list of available Windows libraries"
...
am: 13a539c009
Change-Id: I45c4f8d8305b9ef8f296d50b374d778fabdaf362
2019-01-21 12:13:31 -08:00
Jerome Gaillard
7f7f34f81a
Add Skia deps to the list of available Windows libraries
...
Building Skia for Windows requires linking some Windows libraries that
were not in the list of available ones. This adds the necessary
libraries.
Test: N/A
Change-Id: I803b7b05f47163316c6f03866145dc50656a6bef
2019-01-21 11:34:46 +00:00
Jaewoong Jung
cd9925d0fd
Merge "Move arch variants registering code to arch.go." am: d4a393466a
am: 9dec005b6b
...
am: 68b63d96ac
Change-Id: I4a3f0e986a823cd4cf6a144949ad1e5ebc407a0a
2019-01-17 07:47:16 -08:00
Jaewoong Jung
68b63d96ac
Merge "Move arch variants registering code to arch.go." am: d4a393466a
...
am: 9dec005b6b
Change-Id: I74ca7e25eaa9c5f282a5be4596330b6ab9129efa
2019-01-17 07:43:10 -08:00
Jaewoong Jung
9dec005b6b
Merge "Move arch variants registering code to arch.go."
...
am: d4a393466a
Change-Id: I58e957455a7bcfdcf40e3b4454a0195921b54f20
2019-01-17 07:38:47 -08:00