Commit graph

9396 commits

Author SHA1 Message Date
Yi Kong
b8506d246e Remove unneeded -Wno-deprecated-register flag
am: 02c0ad48ba

Change-Id: I129ebec38b7d8c99d72affb3ea0a97cfaaefd7e7
2018-12-08 20:50:34 -08:00
Yi Kong
02c0ad48ba Remove unneeded -Wno-deprecated-register flag
Test: m checkbuild
Change-Id: I030a66b8a484673caf3a96a844dc26954e08071a
2018-12-09 04:41:38 +00:00
Evgenii Stepanov
aabc76c5eb Merge "Disable hwasan frame descriptions."
am: adeb54c811

Change-Id: I8fc3f24dcb501c5729a3be72412f7d3c3d53acc3
2018-12-08 18:01:52 -08:00
Treehugger Robot
adeb54c811 Merge "Disable hwasan frame descriptions." 2018-12-09 01:42:00 +00:00
Elliott Hughes
2f90fc7fe0 Move touch(1) to toybox.
am: 734a780217

Change-Id: I014d583b6f5b99dabffa4db168f3265fa19b66a5
2018-12-08 12:06:33 -08:00
Elliott Hughes
734a780217 Move touch(1) to toybox.
Test: treehugger
Change-Id: If31fe1fdc0150d07d5421702cbac8e142f522802
2018-12-07 18:30:52 -08:00
Dan Albert
440be95512 Merge "Add flag to disable source directory includes."
am: 3adf8b05f5

Change-Id: I5b79bbc90bd889701e0f3f55dcc7be9df62dec17
2018-12-07 16:41:43 -08:00
Treehugger Robot
3adf8b05f5 Merge "Add flag to disable source directory includes." 2018-12-08 00:33:35 +00:00
Evgenii Stepanov
0a87b664c3 Disable hwasan frame descriptions.
Current implementation does not play nice with -gc-sections.

Bug: 120673911
Test: make SANITIZE_TARGET=hwaddress recovery-persist
Change-Id: I36cd37fb41c0c26c7e747e2c1dd5fadf7a31f4e7
2018-12-07 15:33:24 -08:00
Yi Kong
11c39a728a Revert "Revert "Remove unneeded -Wno-constant-logical-operand flag""
am: 4a7400be79

Change-Id: I5bce78df06270134ebf3f9ac00b176f1fd80304e
2018-12-07 15:12:26 -08:00
Yi Kong
a9d3b3a947 Merge "Remove unneeded -Wno-dangling-field flag"
am: 3412046caf

Change-Id: If82dad79f357ba4c59a0e24f7b15b6285051a511
2018-12-07 14:21:07 -08:00
Yi Kong
4a7400be79 Revert "Revert "Remove unneeded -Wno-constant-logical-operand flag""
This reverts commit f993e7797d.

Build breakage fixed.

Test: m checkbuild
2018-12-07 22:00:57 +00:00
Yi Kong
3412046caf Merge "Remove unneeded -Wno-dangling-field flag" 2018-12-07 21:59:21 +00:00
Chih-hung Hsieh
7a43111d0f Merge "Switch to clang-r346389b."
am: 98f91d4f72

Change-Id: Iefcb7128460c336642f22440e0de22111913c586
2018-12-07 12:31:18 -08:00
Chih-hung Hsieh
98f91d4f72 Merge "Switch to clang-r346389b." 2018-12-07 20:19:09 +00:00
Elliott Hughes
463b7c4956 Move mkdir(1) to toybox.
am: cc85770628

Change-Id: Ia81b14bb40341805cb51295a6c3a304f0dd1980e
2018-12-07 08:28:57 -08:00
Elliott Hughes
cc85770628 Move mkdir(1) to toybox.
Test: treehugger
Change-Id: I5fcbf33acb93cdc279a900586b96e0232c4aea87
2018-12-06 22:30:45 -08:00
Jiyong Park
77551055d2 Merge "Fix: a module with sub_dir can't be placed in APEX"
am: 308ef76ef9

Change-Id: I819e9d89e43f723e4a31f83e17b4c7e2a2bd531e
2018-12-06 22:08:15 -08:00
Treehugger Robot
308ef76ef9 Merge "Fix: a module with sub_dir can't be placed in APEX" 2018-12-07 05:58:06 +00:00
Jiyong Park
7c2ee713ec Fix: a module with sub_dir can't be placed in APEX
This change fixes the bug that when a module is defined with sub_dir,
then build breaks when the module is included in an APEX.

This was happening because, for example when we have a prebuilt_etc
module having sub_dir set to "foo/bar", then only etc/foo/bar is added
to the canned_fs_config file and other intermediate directories (etc,
etc/foo) are not added. e2fsdroid however expects that every directories
to be listed.

Fixing the problem by adding parent directories when adding a directory
to canned_fs_config.

Bug: 120600179
Test: m (a new test case added to apex_test)
Change-Id: If712ff65761a7e1e3216371bb2eb7acf9cb5dc9e
2018-12-07 14:29:59 +09:00
Elliott Hughes
b271d8af39 Move head(1) to toybox.
am: ed46164d03

Change-Id: I5e39cdabe30abb5a107471308d423973bcd8af9c
2018-12-06 20:21:03 -08:00
Elliott Hughes
8aaff09e33 Merge "Move dirname(1) to toybox."
am: d28d0ec119

Change-Id: Ie6eb1c503b9aa77be1e035230f6d9b46d6e9edb9
2018-12-06 18:53:52 -08:00
Elliott Hughes
ed46164d03 Move head(1) to toybox.
Test: clean build
Change-Id: I264c320b4a63e9b0f440791dc20ff99ec910036a
2018-12-07 02:36:16 +00:00
Treehugger Robot
d28d0ec119 Merge "Move dirname(1) to toybox." 2018-12-07 02:31:38 +00:00
The Android Open Source Project
57f2d067bc [automerger skipped] Merge "DO NOT MERGE"
am: 33b03f7105  -s ours

Change-Id: Iee777dd3a775198881207d27c502282013b9cebc
2018-12-06 17:50:56 -08:00
Alex Light
52050be9b5 Merge "Make apex.ApexBundleFactory public"
am: dfaf769841

Change-Id: I7d6dcb454627a712897f3c4e15b8dcc72323e09e
2018-12-06 17:44:03 -08:00
Treehugger Robot
33b03f7105 Merge "DO NOT MERGE" 2018-12-07 01:38:19 +00:00
Alex Light
dfaf769841 Merge "Make apex.ApexBundleFactory public" 2018-12-07 01:34:32 +00:00
Yi Kong
d218df1b2f Remove unneeded -Wno-dangling-field flag
Test: m checkbuild
Change-Id: I4867fb80ffa901d4fef96b315cd114e6f9b82476
2018-12-06 16:43:55 -08:00
Chih-Hung Hsieh
058cd51ebb Undo workaround of flag filtering.
am: 1017b37654

Change-Id: I1645934dad7001555a2ac32e4fe17cd72aa540c4
2018-12-06 16:07:04 -08:00
The Android Open Source Project
902590e70e DO NOT MERGE
Merge pie-platform-release (PPRL.181105.017, history only) into master

Bug: 118454372
Change-Id: I9956713bafd0e5b131a6245304af629084f29b68
2018-12-06 14:10:56 -08:00
Alex Light
ee25072e35 Make apex.ApexBundleFactory public
Art needs to be able to create an ApexBundle with a LoadHook to
support art testing using the HOST_PREFER_32_BIT=true hack.

Bug: 120617876
Test: HOST_PREFER_32_BIT=true m nothing
Change-Id: Ia11e61a92094dfbc013c6c53a6edff33371ed8e1
2018-12-06 14:02:16 -08:00
Chih-Hung Hsieh
1017b37654 Undo workaround of flag filtering.
* Now header-abi-dumper does not complain about -fno-sanitize=implicit-integer-sign-change

Bug: 119558057
Test: make checkbuild
Change-Id: I80be08dd5aa184498bdbb83b42b877dbec152165
2018-12-06 12:12:41 -08:00
Chih-Hung Hsieh
a910d83a41 Switch to clang-r346389b.
Bug: 120551946
Test: make checkbuild, boot, go/clang-r346389b-testing
Change-Id: I71e28ee97cb02b6be71847b53fbb05007c936e34
2018-12-06 11:18:28 -08:00
Dan Albert
899c23e19b Add flag to disable source directory includes.
Not all projects can be built when their base directory (the
directory containing the Android.bp file) is automatically included.
For example, external/jsoncpp has a file named version, which will
override the standard library's <version> header.

It would maybe be reasonable for this to be on by default, but many
projects in the tree currently depend on this behavior.

Test: make checkbuild
Bug: None
Change-Id: I58dff2689270ae56fef7cf83be31262d16794fc4
2018-12-06 11:04:03 -08:00
Elliott Hughes
92afd1e947 Merge "Move to toybox unix2dos(1)."
am: 080c2455a3

Change-Id: Idc0559d9d743c441bd6257937de2f7ebafd235b4
2018-12-06 09:14:29 -08:00
Elliott Hughes
2ebfd495cf Move dirname(1) to toybox.
Test: treehugger
Change-Id: Ie1ffbfb900803940620dd11a7ed6bfda76bee86c
2018-12-06 08:57:31 -08:00
Treehugger Robot
080c2455a3 Merge "Move to toybox unix2dos(1)." 2018-12-06 16:52:47 +00:00
Martin Stjernholm
ae0f414646 Merge "Revert "Remove unneeded -Wno-constant-logical-operand flag""
am: 53afe27ef9

Change-Id: Id9e853048df0ead63df11f5460289dd96aac622b
2018-12-06 04:51:37 -08:00
Martin Stjernholm
53afe27ef9 Merge "Revert "Remove unneeded -Wno-constant-logical-operand flag"" 2018-12-06 12:33:30 +00:00
Martin Stjernholm
f993e7797d Revert "Remove unneeded -Wno-constant-logical-operand flag"
This reverts commit 4f0ce757aa.

Reason for revert: Breaks several targets in internal git_master, e.g. http://ab/5165971.

Test: Build failing library
Change-Id: I02a5ade05a76b24020586c55a4e8f441ca7708a9
2018-12-06 12:17:40 +00:00
Yi Kong
3c861d1b33 Merge "Remove unneeded -Wno-constant-logical-operand flag"
am: a7a432fb82

Change-Id: I5dcc954fc139d9ab43a1f399fefe61ce7ceef2f1
2018-12-05 20:38:17 -08:00
Elliott Hughes
5172a8b50e Move to toybox unix2dos(1).
This removes the need for the confusingly named "todos".

Test: treehugger
Change-Id: Id8931deb00a06d54262b2803a00d13bd4de88f12
2018-12-05 19:42:43 -08:00
Treehugger Robot
a7a432fb82 Merge "Remove unneeded -Wno-constant-logical-operand flag" 2018-12-06 03:36:11 +00:00
Elliott Hughes
fbc9f2619f Merge "Move to toybox cmp(1)."
am: 2ae2759824

Change-Id: I1c71d9b26e95f5a1cfd452b773097a44cb00ff16
2018-12-05 18:22:43 -08:00
Peter Collingbourne
49801f4373 Merge "Stop mapping c++17 to c++1z."
am: 60045811c0

Change-Id: Ia9aeb2454ba7ead27e10edd24a2fc9051a4213b6
2018-12-05 18:19:35 -08:00
Treehugger Robot
2ae2759824 Merge "Move to toybox cmp(1)." 2018-12-06 02:16:53 +00:00
Peter Collingbourne
60045811c0 Merge "Stop mapping c++17 to c++1z." 2018-12-06 02:07:31 +00:00
Yi Kong
4f0ce757aa Remove unneeded -Wno-constant-logical-operand flag
Test: m checkbuild
Change-Id: If1ec62b6d88b8260c9ec39e0d63a379e7ae573e9
2018-12-06 00:18:05 +00:00
Alex Light
9496d08dd6 Merge "Add zip-apex"
am: a0aaf2f43e

Change-Id: Idd77bc69a15fcdf28e7550295fe6df6baecadb53
2018-12-05 14:48:19 -08:00