Commit graph

2472 commits

Author SHA1 Message Date
usta
790ee79d44 cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef am: d4cd9e3052 am: c7ea45527d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I24e0e361659b4f37f44308c464b30c066bf0c881
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 07:12:43 +00:00
usta
f0c8db82b6 cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8 am: e08fe2741c am: 8f192e1ca3
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: Iede5690968eba382a28eefa8d6ce2ce81e843399
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 07:12:34 +00:00
usta
c7ea45527d cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef am: d4cd9e3052
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I4a50cd7fb062548a54e4078e7bda89cb79477caa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:45:48 +00:00
usta
8f192e1ca3 cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8 am: e08fe2741c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: I63fb045be743c23bda5e33ff5b70174fc83b4c1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:45:38 +00:00
usta
d4cd9e3052 cosmetic: fail fast on empty module list am: 71ce3eae12 am: 9bc4b27cef
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I865e00fce3dde4f66deef119623c8dcd44af6eb5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:18:21 +00:00
usta
e08fe2741c cleanup: remove deprecated module ioutil am: 83ede83a31 am: b519ebb0b8
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: Id2b82322eaa417d5f1b4a96d4f6423eddd225251
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 06:18:12 +00:00
usta
9bc4b27cef cosmetic: fail fast on empty module list am: 71ce3eae12
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219405

Change-Id: I465597ab21dd852102a3fe09d7c751a6e1530621
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 05:49:17 +00:00
usta
b519ebb0b8 cleanup: remove deprecated module ioutil am: 83ede83a31
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2219404

Change-Id: I6adaf1e9e0d2af1ba8e0ddd6406276a41010b37d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-20 05:49:09 +00:00
usta
71ce3eae12 cosmetic: fail fast on empty module list
also minor refactoring to limit var scopes

Test: m nothing and ensure ninja files are generated
Bug: N/A
Change-Id: If7bdede4e54687955896b03ab11ef771855d2225
2022-09-20 05:15:24 +00:00
usta
83ede83a31 cleanup: remove deprecated module ioutil
Test: m nothing and check bootstrap.ninja and build.ninja file
Bug: N/A
Change-Id: I8c2f2d8cb452955921b2287ec2c621909ebde5e4
2022-09-20 05:13:27 +00:00
Christopher Parsons
eee0919231 Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222 am: 59e154aa49 am: 44dae789ba
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: Ibf212867cd8f562039d56127e35e6e5868a33dd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 16:18:45 +00:00
Christopher Parsons
44dae789ba Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222 am: 59e154aa49
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: I87ba2f1755d115e7e03a762a6cc170dbb3650e04
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 15:51:54 +00:00
Christopher Parsons
59e154aa49 Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e am: 2113d66222
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: Ibbd98e261392de8350f755ac59f7ad2491142be0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 15:25:17 +00:00
Christopher Parsons
2113d66222 Merge "Add bazelmode and bazelmodedev as command args" am: 31ce118f0e
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2190180

Change-Id: Idba0e94371924382a282fb936f0f901679edd385
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-30 14:55:37 +00:00
Christopher Parsons
31ce118f0e Merge "Add bazelmode and bazelmodedev as command args" 2022-08-30 14:29:30 +00:00
MarkDacek
f43ef295d7 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5 am: c3cd9cc2d6 am: e7a229a5d1
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: Ic43ca7f4b779f502ac62d706ad0d312e57f07ce7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 20:35:29 +00:00
MarkDacek
e7a229a5d1 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5 am: c3cd9cc2d6
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I37340dd2e1f5da96aab51674668aa3e062cc00fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 20:10:53 +00:00
MarkDacek
c3cd9cc2d6 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2 am: 98777cb8d5
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I857f150f72cbd886f8c3643117bee42ede8a64a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 19:42:06 +00:00
MarkDacek
98777cb8d5 Add LSC tool meant for remediating module/file collisions. am: c3eb9199b2
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2193718

Change-Id: I677f89890ac0c8f8100d9b43bf2d2bff8c1d4aad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-29 19:00:56 +00:00
MarkDacek
c3eb9199b2 Add LSC tool meant for remediating module/file collisions.
See b/198619163
Test: ./rename_module_and_deps.py art/tools/ahat/ahat

Change-Id: Ie2274701128befb6dd574ad674d1b494d77edd8c
2022-08-29 16:07:29 +00:00
Usta Shrestha
9815f7b80e Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b am: c65173c57d am: 65ae691545
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: I62cca6b6b5f2822aad402cff5e3d1153f37ebcc0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 17:31:34 +00:00
Usta Shrestha
65ae691545 Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b am: c65173c57d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: Icd2ecbb32ca618c5cf02044f8ad9b872e4872126
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:56:43 +00:00
Usta Shrestha
c65173c57d Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6 am: d9a1e7d66b
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: I940bdc0c1fe0751981a2653a026ee705ede94d39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:31:30 +00:00
Usta Shrestha
d9a1e7d66b Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" am: 513e27a6a6
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181555

Change-Id: I2ad2ad8d3422fd109898fa0b42f6777a84e84c93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-19 16:11:26 +00:00
Chris Parsons
a034bea7e9 Add bazelmode and bazelmodedev as command args
Test: See attached topic CLs
Change-Id: I7a6290702f6cd721ef5f67e885b3dfc4b98edeb0
2022-08-19 11:35:54 -04:00
Usta Shrestha
513e27a6a6 Merge "Edit bpmodify to check Android. files and use '=' as the separator for replacements. Test: go test -v and running bpmodify with the LSC tool" 2022-08-19 15:09:10 +00:00
MarkDacek
2b70006b32 Edit bpmodify to check Android. files and use '=' as the separator for
replacements.
Test: go test -v and running bpmodify with the LSC tool

Change-Id: I63741cce66179962e454f9a002bf358bf054c267
2022-08-17 18:54:16 +00:00
Alix
a0ea66d4dd added tests for move-property in bpmodify am: 30751b313c am: 8e5808e747 am: 9482312647 am: a8a3411942
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2182736

Change-Id: I3fa2a96b13e80452d60ec4a582e9e9f1bd97eb1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 16:50:27 +00:00
Alix
a8a3411942 added tests for move-property in bpmodify am: 30751b313c am: 8e5808e747 am: 9482312647
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2182736

Change-Id: I24ba9bfbabea5f34ac0569730c8ebef41a4e5bc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 15:55:30 +00:00
Alix
9482312647 added tests for move-property in bpmodify am: 30751b313c am: 8e5808e747
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2182736

Change-Id: Ie8617d00eb03a1bb37f3660946d16097915cce8b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 15:30:03 +00:00
Alix
8e5808e747 added tests for move-property in bpmodify am: 30751b313c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2182736

Change-Id: If424cd5d43794937d94b7a6b49571bbf0243cb0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-11 15:02:57 +00:00
Alix
30751b313c added tests for move-property in bpmodify
Test: m nothing
Signed-off-by: Alix <agespino@google.com>
Change-Id: Ib8f1e88f7587476845e64a9d9ff96afb2b8d2df8
2022-08-11 02:44:02 +00:00
MarkDacek
fe8582acc3 Add functionality for replacing string values. am: c93385a75a am: e1055bb941 am: 63dab80715 am: 5bdbfb1e06
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181015

Change-Id: Ibf113047432d79570b9a8447165657c672a20ffa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 17:16:47 +00:00
MarkDacek
5bdbfb1e06 Add functionality for replacing string values. am: c93385a75a am: e1055bb941 am: 63dab80715
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181015

Change-Id: Ic19ea3c050fd9ebf4200ec1e71c70df5d17b3e26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 16:26:27 +00:00
MarkDacek
63dab80715 Add functionality for replacing string values. am: c93385a75a am: e1055bb941
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181015

Change-Id: If838601004585a8c1c71039c83cbd1d2f6b61a96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 15:55:32 +00:00
MarkDacek
e1055bb941 Add functionality for replacing string values. am: c93385a75a
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2181015

Change-Id: I01d17d6316210bed552ebcb77372380ca32ab301
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-10 14:39:45 +00:00
MarkDacek
c93385a75a Add functionality for replacing string values.
Test: go test -v

Change-Id: I8e59bd1dc319d06c5645c6f288df46702901573b
2022-08-09 23:33:22 +00:00
Treehugger Robot
d14bb35ceb Merge "move microfactory main.main() to microfactory.bash" am: 5233841b7a am: b4bf67a92d am: c08c30d94c am: 45cb422da1
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179719

Change-Id: I7028e06433e6a4620c12f0dd6d268454f46a01c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 20:24:32 +00:00
Treehugger Robot
45cb422da1 Merge "move microfactory main.main() to microfactory.bash" am: 5233841b7a am: b4bf67a92d am: c08c30d94c
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179719

Change-Id: Ia0c51e5e0392c4c6ff0efafff4ef147c7495f36c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 20:06:41 +00:00
Treehugger Robot
c08c30d94c Merge "move microfactory main.main() to microfactory.bash" am: 5233841b7a am: b4bf67a92d
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179719

Change-Id: I4629b0245f67149ffc4beb765bbac07f66e5d175
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 19:41:00 +00:00
Treehugger Robot
b4bf67a92d Merge "move microfactory main.main() to microfactory.bash" am: 5233841b7a
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179719

Change-Id: I1f414374ba3128ceb712b910ab1879075c9922fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 18:50:11 +00:00
Treehugger Robot
5233841b7a Merge "move microfactory main.main() to microfactory.bash" 2022-08-09 18:27:05 +00:00
Usta Shrestha
d5b704c089 move microfactory main.main() to microfactory.bash
package renaming and addition of func main() both done in the same place for clarity

Test: m nothing
Bug: N/A
Change-Id: Icc7d18033fe6049001007fb35271335f19395b8a
2022-08-09 13:04:33 -04:00
Usta Shrestha
036de0c253 Merge "Fix misspelling. Oversight from the CL split after rebasing. Test: N/A" am: 49cd656217 am: ed1f44cad7 am: 3874c6452e am: 7ac8343498
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179679

Change-Id: Ie15c154760428fe320ed79cf9cc62a18c0280fd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 16:51:33 +00:00
Mark Dacek
112bc52976 Merge "Add multiple property and replace functionality to bpmodify. Test: go run bpmodify.go -w -m=libcore-memory-metrics-tests -property=something,static_libs,deps,required,test_suites -replace-property=ahat:ahat_lib,general-tests:something -s ~/aosp-master-with-phones/libcore/metrictests/memory/host/Android.bp go test -v" am: 562ed0d84f am: df452c60d1 am: 53a437279b am: 336affdae7
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2176153

Change-Id: Idd8773b7d129f9891288be730d589b01c2e0e993
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 16:49:53 +00:00
Usta Shrestha
7ac8343498 Merge "Fix misspelling. Oversight from the CL split after rebasing. Test: N/A" am: 49cd656217 am: ed1f44cad7 am: 3874c6452e
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179679

Change-Id: I14da62f9c89b243fcc2de0865aa11237735fac96
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 16:27:47 +00:00
Mark Dacek
336affdae7 Merge "Add multiple property and replace functionality to bpmodify. Test: go run bpmodify.go -w -m=libcore-memory-metrics-tests -property=something,static_libs,deps,required,test_suites -replace-property=ahat:ahat_lib,general-tests:something -s ~/aosp-master-with-phones/libcore/metrictests/memory/host/Android.bp go test -v" am: 562ed0d84f am: df452c60d1 am: 53a437279b
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2176153

Change-Id: Ib5429f34544eebc23ef15b0d83d7ac361f57145d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 16:25:18 +00:00
Usta Shrestha
3874c6452e Merge "Fix misspelling. Oversight from the CL split after rebasing. Test: N/A" am: 49cd656217 am: ed1f44cad7
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179679

Change-Id: I25c4d49fb66ddec529f27526dd92b52676249656
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 15:41:41 +00:00
Mark Dacek
53a437279b Merge "Add multiple property and replace functionality to bpmodify. Test: go run bpmodify.go -w -m=libcore-memory-metrics-tests -property=something,static_libs,deps,required,test_suites -replace-property=ahat:ahat_lib,general-tests:something -s ~/aosp-master-with-phones/libcore/metrictests/memory/host/Android.bp go test -v" am: 562ed0d84f am: df452c60d1
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2176153

Change-Id: I6e3653a7979c7f77d19c26417a66366ace2aa467
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 15:40:03 +00:00
Usta Shrestha
ed1f44cad7 Merge "Fix misspelling. Oversight from the CL split after rebasing. Test: N/A" am: 49cd656217
Original change: https://android-review.googlesource.com/c/platform/build/blueprint/+/2179679

Change-Id: I36c9adfcc14ee3d87f0ddfadc8b9e3c7fe56c149
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 15:20:24 +00:00