summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterandroid-vts-11.0_r1android-r-preview-4android-r-preview-3android-r-preview-2android-r-preview-1android-mainline-11.0.0_r1android-mainline-10.0.0_r9android-mainline-10.0.0_r8android-mainline-10.0.0_r7android-mainline-10.0.0_r6android-mainline-10.0.0_r5android-mainline-10.0.0_r4android-mainline-10.0.0_r11android-mainline-10.0.0_r10android-cts-11.0_r1android-11.0.0_r3android-11.0.0_r2android-11.0.0_r17android-11.0.0_r1android-10.0.0_r9android-10.0.0_r8android-10.0.0_r7android-10.0.0_r45android-10.0.0_r44android-10.0.0_r43android-10.0.0_r42android-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37android-10.0.0_r36android-10.0.0_r35android-10.0.0_r34android-10.0.0_r33android-10.0.0_r32android-10.0.0_r31android-10.0.0_r30android-10.0.0_r29android-10.0.0_r28android-10.0.0_r27android-10.0.0_r26android-10.0.0_r25android-10.0.0_r24android-10.0.0_r23android-10.0.0_r22android-10.0.0_r21android-10.0.0_r20android-10.0.0_r19android-10.0.0_r18android-10.0.0_r16android-10.0.0_r15android-10.0.0_r14android-10.0.0_r13android-10.0.0_r12ndk-sysroot-r21android11-tests-releaseandroid11-releaseandroid11-mainline-releaseandroid11-gsiandroid11-devandroid10-qpr3-s1-releaseandroid10-qpr3-releaseandroid10-qpr2-s4-releaseandroid10-qpr2-s3-releaseandroid10-qpr2-s2-releaseandroid10-qpr2-s1-releaseandroid10-qpr2-releaseandroid10-qpr1-releaseandroid10-qpr1-mainline-releaseandroid10-qpr1-d-releaseandroid10-qpr1-c-s1-releaseandroid10-qpr1-c-releaseandroid10-qpr1-b-s1-releaseandroid10-qpr1-b-releaseandroid10-mainline-tzdata-releaseandroid10-mainline-resolv-releaseandroid10-mainline-networking-releaseandroid10-mainline-media-releaseandroid10-devandroid10-d4-s1-releaseandroid10-d4-releaseandroid10-c2f2-s2-releaseandroid10-c2f2-s1-releaseandroid10-c2f2-releaseXin Li2019-02-240-0/+0
|\ | | | | | | | | | | | | am: fa3d2c209c -s ours am skip reason: subject contains skip directive Change-Id: I22ab951a4f105f09e40c39e4028a237870fe22c2
| * DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterandroid-o-mr1-iot-release-1.0.14android-o-mr1-iot-release-1.0.13Xin Li2019-02-200-0/+0
| |\ | | | | | | | | | | | | Bug: 120848293 Change-Id: I909b455f1b1e142601a37c76d335024b79835f9e
* | \ Add default code reviewers into OWNERS am: d2b640aa88 am: 25f4bc400dChih-Hung Hsieh2019-01-091-0/+3
|\ \ \ | | |/ | |/| | | | | | | | | | am: 3c8c7a5a87 Change-Id: I845049217a4f5c3b2214524c026285609371b116
| * | Add default code reviewers into OWNERS am: d2b640aa88Chih-Hung Hsieh2019-01-091-0/+3
| |\| | | | | | | | | | | | | | | | am: 25f4bc400d Change-Id: I6d0c85d11fc1d2d34535d9a955767fddd97b0155
| | * Add default code reviewers into OWNERSChih-Hung Hsieh2019-01-091-0/+3
| | |\ | | | | | | | | | | | | | | | | | | | | am: d2b640aa88 Change-Id: Iaada3398f8c2cbfaa28a445400349fccd30de4f8
| | | * Add default code reviewers into OWNERSandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1android-o-mr1-iot-release-1.0.12android-o-mr1-iot-release-1.0.10oreo-mr1-iot-releaseChih-Hung Hsieh2019-01-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 33166666 Test: gerrit uploader Change-Id: Ib181a520ee3c688e2915f7d11e50c59650890fa5
* | | | [automerger skipped] DO NOT MERGE am: 0be0d1548f -s ours am: 37e13d9079 -s ↵Xin Li2018-12-100-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ours am: 41fb9d9954 -s ours Change-Id: I9394c1ea79ca4ad67a0b79b9bf8aed11ca03c8a8
| * | | [automerger skipped] DO NOT MERGE am: 0be0d1548f -s oursXin Li2018-12-100-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | am: 37e13d9079 -s ours Change-Id: Ib25f5a867c31444499a28f737163256b26a0ba98
| | * | [automerger skipped] DO NOT MERGEXin Li2018-12-100-0/+0
| | |\| | | | | | | | | | | | | | | | | | | | | am: 0be0d1548f -s ours Change-Id: I4d2b48b9312e61677195893636eb73b87c151d07
| | | * DO NOT MERGEandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7Xin Li2018-12-070-0/+0
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge pie-platform-release (PPRL.181205.001, history only) into master Bug: 120502534 Change-Id: I68803f82bae399efe4e0f73ebe39392bc86e0622
| | | | * Snap for 4545621 from 4129a9fb971c629262bf8925b1f1a2fcdb6e0e7c to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r3android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r2android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot2018-01-141-1/+3
| | | | |\ | | | | | | | | | | | | | | | | | | Change-Id: Id26e41ab99e8997b34b724d5a4ea021044893bc7
| | | | * \ release-request-0cb00bcd-1971-4ff1-bef2-5d0328e17cb1-for-git_pi-release-4327 ↵android-build-team Robot2017-09-111-2/+0
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 172 snap-temp-L25600000101152760 Change-Id: I8a855b83a093518e86c80641009c23c50b92d3a3
* | | | | | | Convert rootdev to Android.bp am: cf981a4daf am: fb83f6ed63Dan Willemsen2018-11-202-40/+40
|\| | | | | | | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | am: 1f1c0bbdaa Change-Id: I0d0b46a4886864eb00525d1db77ae139518499cb
| * | | | | Convert rootdev to Android.bp am: cf981a4dafDan Willemsen2018-11-202-40/+40
|/| | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | am: fb83f6ed63 Change-Id: Ie543f9364e33ae686df4c3a4221d5b4cd4a318c3
| * / / / Convert rootdev to Android.bpDan Willemsen2018-11-202-40/+40
|/| | | | | |/ / / | | | | | | | | | | | | | | | | am: cf981a4daf Change-Id: I059fae3fff9df6641c627550e10cf93334f67418
| * / / Convert rootdev to Android.bpandroid-wear-8.0.0_r2android-n-iot-release-ihome-igv1nougat-iot-releaseDan Willemsen2018-11-192-40/+40
|/ / / | | | | | | | | | | | | | | | | | | See build/soong/README.md for more information. Test: cd external/rootdev; mma Change-Id: Ie3ff9e17dd6e6a1c5aeb34f7c3dc495abd054878
* | | readdir_r is deprecated. am: 83dfa81a44 am: 7140fac67eandroid-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseElliott Hughes2018-01-121-1/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | am: 0a689ba13c Change-Id: Ib400bdb444735e82bbf2be075970fa074411e586
| * | readdir_r is deprecated. am: 83dfa81a44Elliott Hughes2018-01-121-1/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | am: 7140fac67e Change-Id: I4a7e831463f78612d3a8538e293d4f87d8ff894a
| | * | readdir_r is deprecated.Elliott Hughes2018-01-121-1/+3
| |/| | | | | | | | | | | | | | | | | | | | | | am: 83dfa81a44 Change-Id: I8742bc09a427bc9ba04299bed9dc0f984727960e
| | * | readdir_r is deprecated.android-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Elliott Hughes2018-01-111-1/+3
| |/ / | | | | | | | | | | | | | | | Bug: http://b/32678321 Test: builds, boots Change-Id: Iaaca5175180c6a7ff9f29b57c09f82a5de6084b3
* | / Remove LOCAL_CLANG am: 6fab99202f am: 857775eb36 am: 330f91991fLennart Wieboldt2017-09-101-2/+0
|\| | | |/ |/| | | | | | | am: d711c85ebc Change-Id: Ie100e97a67ba8ea4342d316adf8f00b6d725081b
| * Remove LOCAL_CLANG am: 6fab99202f am: 857775eb36Lennart Wieboldt2017-09-101-2/+0
|/| | | | | | | | | | | am: 330f91991f Change-Id: I6867a57528c855524b1cf3c23fee6af053abddc2
| * Remove LOCAL_CLANG am: 6fab99202fLennart Wieboldt2017-09-101-2/+0
|/| | | | | | | | | | | am: 857775eb36 Change-Id: Ibd1cbd6d5336ab88d74711857d488ec7de513ef4
| * Remove LOCAL_CLANGandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Lennart Wieboldt2017-09-101-2/+0
|/| | | | | | | | | | | am: 6fab99202f Change-Id: Ie66e71982729eea03dbe5b7e08b78f8175dcc140
| * Remove LOCAL_CLANGLennart Wieboldt2017-09-101-2/+0
| | | | | | | | | | | | | | clang is the default compiler since Android nougat Change-Id: I47596de30f31e44bf822c4f5d4ee11aa94c735a1 Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
* | Cope with <sys/sysmacros.h> no longer being included by <sys/types.h>. am: ↵oreo-mr1-devoreo-dr1-devElliott Hughes2017-05-191-0/+1
|\| | | | | | | | | | | | | | | 1dd6771e0f am: 134977ffc3 am: c0b5e4fcf3 am: ac440d6d70 Change-Id: I7540fb61e00d548514f946a98aecbabef53019d0
| * Cope with <sys/sysmacros.h> no longer being included by <sys/types.h>. am: ↵android-o-mr1-preview-2android-o-mr1-preview-1Elliott Hughes2017-05-191-0/+1
|/| | | | | | | | | | | | | | | 1dd6771e0f am: 134977ffc3 am: c0b5e4fcf3 Change-Id: Idc94343486078025f9441de5ea210eaa846d77b4
| * Cope with <sys/sysmacros.h> no longer being included by <sys/types.h>. am: ↵Elliott Hughes2017-05-191-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | 1dd6771e0f am: 134977ffc3 Change-Id: I370b793e85e0ee09cb814e13c0c1574b0b214505
| | * Cope with <sys/sysmacros.h> no longer being included by <sys/types.h>.Elliott Hughes2017-05-191-0/+1
| |/| | | | | | | | | | | | | | | | am: 1dd6771e0f Change-Id: I11ca7a8202b9b451b586e078accc50be6398d134
| | * Cope with <sys/sysmacros.h> no longer being included by <sys/types.h>.android-o-preview-4android-o-preview-3android-o-iot-preview-5o-iot-preview-5Elliott Hughes2017-05-181-0/+1
| |/ | | | | | | | | | | | | | | | | I'm not sure where (if anywhere) is upstream here, so modifying our makefile rather than the source. Bug: https://github.com/android-ndk/ndk/issues/398 Test: builds Change-Id: I2690bbba6c4ac98c957f780e9b9625e8690052f8
* | Fix the build flags. am: f2233f4546 am: 425c5485df am: cd960ab4e9android-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-devoreo-cts-releaseElliott Hughes2016-06-131-6/+5
|\| | | | | | | | | | | am: 1fe2b737ad Change-Id: I14c4bb4494b6d7eb991bed9a1b79b5f5aaa0c01e
| * Fix the build flags. am: f2233f4546 am: 425c5485dfandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-2android-o-preview-1android-n-mr2-preview-2android-n-mr2-preview-1android-n-iot-preview-4o-previewn-iot-preview-4Elliott Hughes2016-06-131-6/+5
|/| | | | | | | | | | | am: cd960ab4e9 Change-Id: Idcd9339737c2f1102b31def80a2045603470c69e
| * Fix the build flags. am: f2233f4546android-n-mr1-preview-2android-n-mr1-preview-1Elliott Hughes2016-06-131-6/+5
|/| | | | | | | | | | | am: 425c5485df Change-Id: Ifcd033cd4f29d45ca308a32f835c5481494657ef
| * Fix the build flags.Elliott Hughes2016-06-131-6/+5
|/| | | | | | | | | | | am: f2233f4546 Change-Id: I994fd18a84073d6f3d928141e032839abde43dcb
| * Fix the build flags.android-wear-n-preview-2android-wear-7.1.1_r1android-n-preview-5android-n-iot-preview-2nougat-mr1-wear-releasen-iot-preview-2Elliott Hughes2016-06-131-6/+5
|/ | | | | | In Android, "CPPFLAGS" are only for C++, so these weren't getting used. Change-Id: I773e380a150ec11a0405c3e65d020fb901d9d076
* rootdev: Don't try to access /dev/block.android-wear-n-preview-1android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasebrillo-m9-releasebrillo-m9-devbrillo-m8-releasebrillo-m8-devbrillo-m7-releasebrillo-m7-mr-devbrillo-m7-devbrillo-m10-releasebrillo-m10-devBertrand SIMONNET2015-09-223-16/+13
| | | | | | | | | | | | | | | | | | | | | | When the device used to back a path is found in /sys/block, rootdev will double check that /dev/block/<device name> exists and that the dev_t matches the one in /sys/block/. On Android, the manufacturer can add an SELinux context for that device node which will prevent core daemons from accessing it, failing the call to rootdev. To avoid this, rootdev should return the device node path without trying to access it. This CL also enable building with Clang to ensure we use the strictest compiler possible. BUG: 24143423 BUG: 24267261 TEST: metricsd starts and find the main disk without any SELinux denial. TEST: builds with clang and -Werror. Change-Id: Icfe64695c28277d4c8eb9c89de1e13a767a703b8
* Revert "rootdev: Don't try to access /dev/block."Bertrand Simonnet2015-09-222-8/+11
| | | | | | | This breaks when built with clang This reverts commit 4a2bdd8006a5ddf166bcc8973c135799da453e09. Change-Id: I2f89a9c19de91d4c46dce110e36a32551134e5d5
* rootdev: Don't try to access /dev/block.Bertrand SIMONNET2015-09-212-11/+8
| | | | | | | | | | | | | | | | | | When the device used to back a path is found in /sys/block, rootdev will double check that /dev/block/<device name> exists and that the dev_t matches the one in /sys/block/. On Android, the manufacturer can add an SELinux context for that device node which will prevent core daemons from accessing it, failing the call to rootdev. To avoid this, rootdev should return the device node path without trying to access it. BUG: 24143423 BUG: 24267261 TEST: metricsd starts and find the main disk without any SELinux denial. Change-Id: I4c0fb2800ac84ff451974990c6228ee10528c0f0
* Add Android.mk.Bertrand SIMONNET2015-09-013-4/+42
| | | | | BUG: 22953719 Change-Id: Ie7d9ff703e50210e1b6a1ab8bd7f52ae6a6e46f7
* rootdev: Add license files.Bertrand SIMONNET2015-08-282-0/+0
| | | | | BUG: 22953719 Change-Id: I04cea1655d85f988b8c803047b08bd19c7e19cdc
* rootdev: Use large file support (LFS)Dan Ehrenberg2015-03-141-1/+5
| | | | | | | | | | | | | | | | | Without LFS, stat fails with -EOVERFLOW on devices with major:minor numbers that don't fit within 8 bits on 32-bit architecutres. This patch turns on LFS to allow that, fixing a bringup but on a new platform. BUG=chromium:464024 TEST=Booted onto a machine and successfully ran rootdev with a large major:minor number. Change-Id: I3dfe698e65366f4608705f56894988d2643e375f Signed-off-by: Dan Ehrenberg <dehrenberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/258550 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
* tests: make it more flexible for the ebuildMike Frysinger2014-12-121-19/+20
| | | | | | | | | | | | | | | The current code requires rootdev to be in $PWD which fails when we build out of tree (like the ebuild). BUG=chromium:441571 TEST=`FEATURES=test emerge-link rootdev` passes Change-Id: I99173ceb557099c20b43f5a31b87107a144efa20 Reviewed-on: https://chromium-review.googlesource.com/234921 Trybot-Ready: Mike Frysinger <vapier@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
* fix --block handling with invalid pathsMike Frysinger2014-12-121-0/+1
| | | | | | | | | | | | | | | | The rootdev program was printing the path buffer even when the library call failed. In that case, the buffer most likely is uninitialized. Make sure we seed it with a NUL byte so it's always valid. BUG=chromium:441571 TEST=`FEATURES=test emerge-link rootdev` passes Change-Id: I00d334376de9bedee0a3fac3b1a74e48237c06b7 Reviewed-on: https://chromium-review.googlesource.com/234920 Trybot-Ready: Mike Frysinger <vapier@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
* fix building w/ABIs that have broken stat structuresMike Frysinger2014-04-011-1/+13
| | | | | | | | | | | | | | | | | | | | If the system's stat buffer is broken and doesn't declare st_dev as a dev_t, we hit a build failure when we try to pass it into a func that expects a dev_t. Add some checks to handle this case. It produces the same code on sane ABIs, so other than ugliness, it should be fine. BUG=chromium:358419 TEST=`emerge-link rootdev` produces same code TEST=`emerge-daisy rootdev` produces same code TEST=`emerge-mipsel-o32-generic rootdev` now works Change-Id: I956436e0c40318c8f2ac61b2e202ec739132c245 Reviewed-on: https://chromium-review.googlesource.com/192550 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
* fix flag handlingMike Frysinger2013-11-061-2/+3
| | | | | | | | | | | | | Make sure we respect CPPFLAGS and don't hardcode BUG=None TEST=`emerge-x86-alex rootdev` uses right flags Change-Id: I668af9e02b842ddc54f60e07d313a564cc927413 Reviewed-on: https://chromium-review.googlesource.com/175522 Reviewed-by: Liam McLoughlin <lmcloughlin@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
* rootdev: link against librootdevMike Frysinger2013-11-061-1/+1
| | | | | | | | | | | | | | We create a lib out of rootdev.c, so have our main program use it rather than duplicate the code in the main program. BUG=None TEST=`emerge-x86-alex rootdev` still works and rootdev is linked against the prog (and works) Change-Id: If649007ddb9499f2217ad0af3f1d30115587dd3d Reviewed-on: https://chromium-review.googlesource.com/175521 Reviewed-by: Liam McLoughlin <lmcloughlin@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
* support out-of-tree buildsMike Frysinger2013-11-061-7/+10
| | | | | | | | | | | | | This will allow us to avoid doing a git clone. BUG=None TEST=`emerge-x86-alex rootdev` still works Change-Id: I2515981c5aa426eebecc6333d8ae7b50276ae577 Reviewed-on: https://chromium-review.googlesource.com/175520 Reviewed-by: Liam McLoughlin <lmcloughlin@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
* Avoid some identifier confusionChris Masone2013-08-201-7/+7
| | | | | | | | | | | | | | Some toolchains are confused by have a local variable with the same name as a function. FIXIT! BUG=None TEST=compilashunz Change-Id: Id7befbcfc9c2cbcd14f4a229cbc8687e1f7ad72c Reviewed-on: https://gerrit.chromium.org/gerrit/66294 Reviewed-by: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org> Commit-Queue: Chris Masone <cmasone@chromium.org>
* Fixed reference to overlapping (the same) string.Paul Taysom2013-07-121-4/+5
| | | | | | | | | | | | | | | | | | | The intent of the rootdev_get_device_slave is to allow the slave and the device to be the same string but it is not required. Added a test for the case where they are the same string to not do the strncpy. Linux has vixed the problem of a limited number of stacked devices, so I fixed the comment that referred to it. BUG=chromium:259893 TEST=rootdev -s Change-Id: I04d84799e77c678f1330e1bcf72cddaf9ac68c4c Reviewed-on: https://gerrit.chromium.org/gerrit/61707 Tested-by: Paul Taysom <taysom@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@chromium.org> Commit-Queue: Paul Taysom <taysom@chromium.org>
* Modified rootdev to handle stacked device mappersPaul Taysom2012-09-252-21/+45
| | | | | | | | | | | | | | | Rootdev only went down one level when traversing the device tree. With the addition of the bootcache device mapper, we need to go multiple levels for the -s option for rootdev. BUG=chromium-os:25441 TEST=used it with bootcache to find boot device. Change-Id: Ica82dc150e403d0e49e4d8074c0b920b20e4cccc Reviewed-on: https://gerrit.chromium.org/gerrit/31851 Commit-Ready: Paul Taysom <taysom@chromium.org> Reviewed-by: Paul Taysom <taysom@chromium.org> Tested-by: Paul Taysom <taysom@chromium.org>