Commit Graph

5631 Commits

Author SHA1 Message Date
Colin Cross 5ed07bf6ec Set -fomit-frame-pointer for all devices am: 20823f95e6 am: c7155993ee
am: 255924d2a2

Change-Id: I74da5f76ff30b53c294aa7dd2cd66b27180ce222
2017-11-15 21:56:05 +00:00
Colin Cross 255924d2a2 Set -fomit-frame-pointer for all devices am: 20823f95e6
am: c7155993ee

Change-Id: I561227d1b2bf348cfaa12b24df095e34f418712c
2017-11-15 21:51:19 +00:00
Colin Cross c7155993ee Set -fomit-frame-pointer for all devices
am: 20823f95e6

Change-Id: I01bbd0dd9b777c2f48ffd5c036f2ef511c2c07a6
2017-11-15 21:48:15 +00:00
Colin Cross 20823f95e6 Set -fomit-frame-pointer for all devices
-fomit-frame-pointer was only being set for arm and mips.  Since
we always use unwind tables and not frame pointers to unwind, and
since ART generated code does not use frame pointers, just turn
off frame pointers everywhere to gain an extra register.

Bug: 68951394
Test: m checkbuild
Change-Id: I9237d486a0c0215cdafd96d66712082df0eba785
2017-11-15 18:52:42 +00:00
Colin Cross 49ab9666ba Merge changes Iae2bda98,I68e64888,I75af16e7 am: d03553cf13 am: f053a45ad9
am: 59ec9ffe3c

Change-Id: I441f23f7de21754306ec7f387153ed81fb183021
2017-11-15 02:00:03 +00:00
Jiyong Park 46e61e26b2 Merge "Make cc.NewLLndkStubLibrary as public" am: 31c3239038 am: bd913486bf
am: 76681e64f7

Change-Id: I4d895c9a7f29f02d04835718ee1fa41ce780731e
2017-11-15 01:51:09 +00:00
Colin Cross 5d0c1ce512 Merge changes I5059a1e3,I5a06a893 am: fff8ad2f35 am: 7b38d380bd
am: d6d86c35a0

Change-Id: I32a17b92b8b5bd25485738e30fa53b54f2c452b8
2017-11-15 01:50:47 +00:00
Dan Willemsen 6832fe5eda Merge "Update default configuration" am: 90377447c8 am: ebe75b0228
am: f57c903864

Change-Id: Ia5830ac5a6569a5cad760e3945e6af9876f6e24c
2017-11-15 01:50:27 +00:00
Colin Cross 59ec9ffe3c Merge changes Iae2bda98,I68e64888,I75af16e7 am: d03553cf13
am: f053a45ad9

Change-Id: I968b4b4ba70ccc68915f85dd0422312a68a5ebd9
2017-11-15 01:45:58 +00:00
Colin Cross f053a45ad9 Merge changes Iae2bda98,I68e64888,I75af16e7
am: d03553cf13

Change-Id: I775a10c73ab21f6afb102e7a0a1d8ef42d061137
2017-11-15 01:44:15 +00:00
Jiyong Park 76681e64f7 Merge "Make cc.NewLLndkStubLibrary as public" am: 31c3239038
am: bd913486bf

Change-Id: Ic3ccbfe2c5144d80d396b16ca0d9e1474931a7fc
2017-11-15 01:39:19 +00:00
Colin Cross d6d86c35a0 Merge changes I5059a1e3,I5a06a893 am: fff8ad2f35
am: 7b38d380bd

Change-Id: I1dc6685b64010b007a23de99e5ff92b344d2816c
2017-11-15 01:38:49 +00:00
Dan Willemsen f57c903864 Merge "Update default configuration" am: 90377447c8
am: ebe75b0228

Change-Id: Ic067f7a82dd14af87cb48fe911331c7267ad1885
2017-11-15 01:38:04 +00:00
Treehugger Robot d03553cf13 Merge changes Iae2bda98,I68e64888,I75af16e7
* changes:
  Remove gcc-specific optimizations
  Move some flags to affect all devices
  Move -fvisibility-inlines-hidden to global device cppflags
2017-11-15 01:34:46 +00:00
Jiyong Park bd913486bf Merge "Make cc.NewLLndkStubLibrary as public"
am: 31c3239038

Change-Id: I360c2eaa52ad750e0948a0f16aa82c963d54f6bb
2017-11-15 01:29:46 +00:00
Colin Cross 7b38d380bd Merge changes I5059a1e3,I5a06a893
am: fff8ad2f35

Change-Id: If2bde9159092b2b2dfcb1cc03885781555875db0
2017-11-15 01:29:17 +00:00
Dan Willemsen ebe75b0228 Merge "Update default configuration"
am: 90377447c8

Change-Id: I6a064a213953d4279f185af19f2efa7fed4bfb98
2017-11-15 01:28:57 +00:00
Xin Li 56ae4fc1f8 Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 8035ca7823

Change-Id: I356587c5e5efa386eabef33b34574c7844ecf0c0
2017-11-15 01:04:07 +00:00
Treehugger Robot 31c3239038 Merge "Make cc.NewLLndkStubLibrary as public" 2017-11-15 00:56:46 +00:00
Xin Li 8035ca7823 Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Change-Id: I85dfcf813be6bb22efee6ba9e930f4789041576a
2017-11-14 16:38:04 -08:00
Colin Cross fff8ad2f35 Merge changes I5059a1e3,I5a06a893
* changes:
  Add --write_if_changed argument to soong_zip
  Add searchable android.DirectorySortedPaths
2017-11-14 23:44:25 +00:00
Treehugger Robot 90377447c8 Merge "Update default configuration" 2017-11-14 22:27:48 +00:00
Xin Li 359ff31875 Merge commit '1b7d80ae5c2edda4f50f9299a5daf93d43b20d5f' into HEAD
Change-Id: I9bee9e27bfbef55d89b2c92f4a8bd85f7edfdd18
2017-11-14 11:38:41 -08:00
Colin Cross b37620f870 Remove gcc-specific optimizations
These flags were added for gcc, but are always stripped out when
compiling for clang.  Since gcc is barely used, removed them.

Bug: 68855788
Bug: 68947919
Test: m checkbuild
Change-Id: Iae2bda9808dd9499848ce145ccdf71c4c490b80e
2017-11-14 17:43:33 +00:00
Colin Cross ea3141d06d Move some flags to affect all devices
Move -fdata-sections and -fno-short-enums to global device flags.
-fdata-sections was not previously set on x86[_64], -fno-short-enums
was not previously set on mips[64].

Bug: 68855788
Test: m checkbuild
Change-Id: I68e64888d5414fc022366eb2b6c5cd92c28a5542
2017-11-14 17:43:24 +00:00
Jiyong Park 64ca4b722a Make cc.NewLLndkStubLibrary as public
We need to extend llndk_library to automatically set symbol_file for the
llndk version of libclang_rt.asan* libraries.

Bug: 67011251
Test: build

Change-Id: Ib6964817759f9228456e4fb2a27fce3bc09423a9
2017-11-14 20:53:13 +09:00
Colin Cross f6cb6327d5 Merge "Revert "Test for dangling rules in make checkbuild"" am: c7d1254119 am: d7837c555a
am: 5adf52face

Change-Id: I8fe9181ba7a9edb7e3d626cdf58757fda0e45a46
2017-11-14 11:32:37 +00:00
Colin Cross 365b1ff155 Merge "Test for dangling rules in make checkbuild" am: df93350ccd am: 99bde85caa
am: 513c3df4c6

Change-Id: I5438ab8fbc941700915e0ecc22da59bf25bcd2d9
2017-11-14 11:32:11 +00:00
Nan Zhang b2bc27a53d Merge "Change remaining properties to *string, *bool in Soong." am: bafc47aea6 am: 0791bbf4ca
am: b84d38dc2e

Change-Id: Ic349292370b44b0ccc35b74e0af5e3d673458147
2017-11-14 11:31:49 +00:00
Dan Willemsen 0141d42b8d Merge "Send soong output to std.log in multiproduct_kati" am: 08bb51cdc5 am: 4c6416c021
am: ea1cc75c1a

Change-Id: Ied9c726052bee94b82e695c0495ad0876545781d
2017-11-14 11:31:28 +00:00
Pirama Arumuga Nainar eaffec54ba Merge "Re-enable -Wunknown-warning-option" am: cc178b3e78 am: e25bbfdc04
am: e5d53e9cdf

Change-Id: Id4b71f0e0372987102e689653de9fefac21721d5
2017-11-14 11:22:38 +00:00
Colin Cross 5adf52face Merge "Revert "Test for dangling rules in make checkbuild"" am: c7d1254119
am: d7837c555a

Change-Id: Iaf5169cba2f59169dc925eee2edc0142f1f3ad22
2017-11-14 02:05:02 +00:00
Colin Cross 513c3df4c6 Merge "Test for dangling rules in make checkbuild" am: df93350ccd
am: 99bde85caa

Change-Id: I66100b6bd6982158639c8f3a3e72a6437e94e9f6
2017-11-14 02:04:43 +00:00
Nan Zhang b84d38dc2e Merge "Change remaining properties to *string, *bool in Soong." am: bafc47aea6
am: 0791bbf4ca

Change-Id: Iddebcb1141747cc8b5ce3a6faaed92ca0eebff49
2017-11-14 02:04:06 +00:00
Dan Willemsen ea1cc75c1a Merge "Send soong output to std.log in multiproduct_kati" am: 08bb51cdc5
am: 4c6416c021

Change-Id: Ie2128ca5f4e333e9f026d74ab1d54bfcc1171ac8
2017-11-14 02:03:41 +00:00
Pirama Arumuga Nainar e5d53e9cdf Merge "Re-enable -Wunknown-warning-option" am: cc178b3e78
am: e25bbfdc04

Change-Id: I7fa6114b5d63b52e291fcfc7ee02afa1a070a035
2017-11-14 01:28:44 +00:00
Colin Cross d7837c555a Merge "Revert "Test for dangling rules in make checkbuild""
am: c7d1254119

Change-Id: Ib9d84f0ebad31b2cdb14117c4d985f94bb53325a
2017-11-13 23:47:12 +00:00
Colin Cross c7d1254119 Merge "Revert "Test for dangling rules in make checkbuild"" 2017-11-13 23:41:24 +00:00
Colin Cross fb941913a3 Revert "Test for dangling rules in make checkbuild"
This reverts commit 7709a05770.

Reason for revert: Broke mac checkbuilds

Change-Id: If71ec9198ca8943d90ce9d5e3a277faf239e38a5
2017-11-13 23:38:57 +00:00
Colin Cross 26f14509d1 Move -fvisibility-inlines-hidden to global device cppflags
It was previously set on arm[64] and mips[64], this will cause it
to be set for x86[_64] too.

Bug: 68855788
Test: m checkbuild
Change-Id: I75af16e7d259963ad633cc664929144332bb435d
2017-11-13 15:18:19 -08:00
Colin Cross f83c150269 Add --write_if_changed argument to soong_zip
Simplify making restat rules by adding a --write_if_changed argument
to soong_zip that generates the output file into memory and then
compares it to the version on disk before writing it out.

Test: builds
Change-Id: I5059a1e3a11e79b0ca538b3b829bc7479c126ce6
2017-11-13 15:11:08 -08:00
Colin Cross 5e6cfbead9 Add searchable android.DirectorySortedPaths
Add an android.DirectorySortedPaths that stores paths sorted such
that all paths in a directory including subdirectories are in a
contiguous subslice.  This will allow efficient O(log(N)) finding
of all paths in a directory using a binary search on the directory
prefix.

Test: TestDirectorySortedPaths in paths_test.go
Change-Id: I5a06a89351ae06e88c06526be54a6b79075361b7
2017-11-13 15:11:08 -08:00
Colin Cross 99bde85caa Merge "Test for dangling rules in make checkbuild"
am: df93350ccd

Change-Id: Ia375a2520cdd20a672262a9ac05fd063bf5de875
2017-11-13 22:52:43 +00:00
Dan Willemsen cbf9e827a7 Update default configuration
This isn't often used, but the values were quite old. So update them to
something closer to aosp_arm64 from today.

Bug: 68803744
Test: m clean; m --skip-make libc
Change-Id: Id5c60b62e7c7a91635dea9669fc604d63d299778
2017-11-13 14:46:44 -08:00
Treehugger Robot df93350ccd Merge "Test for dangling rules in make checkbuild" 2017-11-13 22:43:30 +00:00
Colin Cross 7709a05770 Test for dangling rules in make checkbuild
Get a list of leaf nodes in the dependency graph
from ninja, and make sure none of them are in the
output directory.  This ensures that there are no
rules that depend on a file in the output directory
that doesn't have rule to generate it.  The check
will catch a common set of build failures where
a rule to generate a file is deleted (either by
deleting a module in an Android.mk file, or by
modifying the build system incorrectly).  These
failures are often not caught by a local incremental
build because the previously built files are still
present in the output directory.

Bug: 36843214
Bug: 68062417
Test: manual
Change-Id: I4933187e8b72f2ef0c32d18ffea756e2c6fa417c
2017-11-13 12:47:42 -08:00
Nan Zhang 0791bbf4ca Merge "Change remaining properties to *string, *bool in Soong."
am: bafc47aea6

Change-Id: Iac23c846f87e6f7f607c9fa812da2cb6491019f3
2017-11-13 19:10:22 +00:00
Treehugger Robot bafc47aea6 Merge "Change remaining properties to *string, *bool in Soong." 2017-11-13 19:04:56 +00:00
Dan Willemsen 4c6416c021 Merge "Send soong output to std.log in multiproduct_kati"
am: 08bb51cdc5

Change-Id: Ieee3e2c9b9245bb80c7c46aecb1241822d8f733f
2017-11-12 01:39:38 +00:00
Treehugger Robot 08bb51cdc5 Merge "Send soong output to std.log in multiproduct_kati" 2017-11-12 01:33:47 +00:00