Jihoon Kang
241d4d79de
Merge "Find subdir aconfig_values from srcs" into main am: 437f87f0c7
am: c178376639
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3260766
Change-Id: I51f9433845b13c5fa7f22d797c4741add7fcae18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-13 04:32:21 +00:00
Jihoon Kang
437f87f0c7
Merge "Find subdir aconfig_values from srcs" into main
2024-09-13 03:56:32 +00:00
Dennis Shen
b340dd2140
Treat system_ext as system container am: 01efb83420
am: bf9c8f0613
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3261301
Change-Id: I51244bb6eb12207b122c5c1316347516726d23df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-13 02:20:12 +00:00
Jihoon Kang
4fbee9af0b
Find subdir aconfig_values from srcs
...
This change supports adding dependencies from the aconfig_value_set
module to the aconfig_values modules from `srcs`, which are the
paths to the Android.bp files where the aconfig_value modules are
defined.
Test: m nothing --no-skip-soong-tests
Bug: 365827715
Change-Id: Idd5f1d9c2625a6362dbaf3adba0a74406e3a9928
2024-09-12 23:48:19 +00:00
Dennis Shen
01efb83420
Treat system_ext as system container
...
Bug: b/365135457
Test: m
Change-Id: Ic8fd60c0e1045f190b6608931ca1d65a784026f0
2024-09-12 23:31:49 +00:00
Yu Liu
e97a9ce7cd
Merge "Move the caching/restoring code from soong to blueprint to fully skip build actions." into main am: c55b25f125
am: 246315e4fd
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3249489
Change-Id: Ib5b0b6fde2d99eb2c0b2c5d8f5595b194af91cd9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-04 22:17:13 +00:00
Yu Liu
246315e4fd
Merge "Move the caching/restoring code from soong to blueprint to fully skip build actions." into main am: c55b25f125
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3249489
Change-Id: I43e2ee71097e95e313eab8631742acb8048e36d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-09-04 22:07:50 +00:00
Yu Liu
26a716d5e5
Move the caching/restoring code from soong to blueprint to fully skip build actions.
...
Bug: 358425833
Test: Manually verified the generated ninja and mk files and CI.
Change-Id: Ieebb822c46f37c0ff55fad08531e9870a76cbd7b
2024-09-04 19:59:55 +00:00
Yu Liu
0ed493b02c
Merge "Skip writing ninja file for module with a cache hit during incremental build." into main am: 8bf4079e5f
am: 2db4f06825
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3199910
Change-Id: I6988b418ceb8e4d14c9b5278c1ada714c74c7d84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-13 17:58:59 +00:00
Yu Liu
2db4f06825
Merge "Skip writing ninja file for module with a cache hit during incremental build." into main am: 8bf4079e5f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3199910
Change-Id: I9499830d7a05690bcb4f3be40cf5261bca1541a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-13 17:34:46 +00:00
Yu Liu
8bf4079e5f
Merge "Skip writing ninja file for module with a cache hit during incremental build." into main
2024-08-13 17:00:55 +00:00
Yu Liu
ac93739762
Merge "Merge SingletonProviderContext with OtherModuleProviderContext" into main am: 246b43049c
am: 73282e8129
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3216676
Change-Id: Ic5fa82e4179f922e35479e527a392db141a973c4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-13 16:38:05 +00:00
Yu Liu
73282e8129
Merge "Merge SingletonProviderContext with OtherModuleProviderContext" into main am: 246b43049c
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3216676
Change-Id: Ib0d8eb66616fa4775e3827b4956ad19034bf1cc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-08-13 16:15:51 +00:00
Yu Liu
663e4508dc
Merge SingletonProviderContext with OtherModuleProviderContext
...
Bug: 358425833
Test: CI
Change-Id: I8e3f40dc3cfc5337008b419801f8e6bf2d48e8b2
2024-08-12 22:50:19 +00:00
Yu Liu
f072120c00
Skip writing ninja file for module with a cache hit during incremental build.
...
This is just the first change, many more will come to make this feature
really work. The main changes included here are:
1. Skip the writing of ninja file if a module has a cache hit.
2. Handle the case where a skipped module doesn't have the build defs
info for the OrderOnlyStrings dedup logic to work by caching the
missing info.
Bug: 335718784
Test: local manual tests
Change-Id: I32542bd1e7fd268113e072e7f68b51b293d83d03
2024-08-02 22:11:46 +00:00
Zhi Dou
9612480ee2
Revert^2 "pass read new storage parameter to java codegen"
...
This reverts commit 848c6c939c
.
Reason for revert: The real issue is fixed in another cl, not related to this one
Change-Id: Id12816206a16b17c23e3a53832d268f1600107b3
2024-07-30 20:26:49 +00:00
Satish Yalla
848c6c939c
Revert "pass read new storage parameter to java codegen"
...
This reverts commit c980327853
.
Reason for revert: Droidmonitor created revert due to b/356193768. Will be verifying through ABTD before submission.
Change-Id: Ifaaa33b07333683492bc54270b840df21bcd00ca
2024-07-30 03:56:25 +00:00
Zhi Dou
c980327853
pass read new storage parameter to java codegen
...
When RELEASE_READ_FROM_NEW_STORAGE is true, enable reading from new
storage. So that we can ensure nextfood is not impacted.
Test: m and check cf
Bug: 349874828
Ignore-AOSP-First: the previous change ag/26821089 submitted internally this one depends on that change. The added code will be removed after test mission
Change-Id: I95ad9457e6d9c07a5a5b3074045a383f004113a9
2024-07-26 23:11:27 +00:00
Treehugger Robot
54848573e4
Merge "Support aapt2 resources flagging" into main am: 2484be669a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3177780
Change-Id: I9be8826cab35704598d79f37735a3b931e6d67d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-07-18 01:54:23 +00:00
Jihoon Kang
98ea83687f
Support aapt2 resources flagging
...
This change modifies the aconfig and aapt2 build rules to support
resources flagging in aapt2.
Implementation details:
- Modify the aconfig text rule to include flag permission in the output
text file
- Pass the `--flags-packages` argument to `aapt2 compile` command,
similar to what is currently being done in the `aapt2 link` command
Bug: 344979955
Test: m nothing --no-skip-soong-tests
Change-Id: I3b0b1fd6dcd691b7cc50ba3d081ecafd82c2c904
2024-07-16 19:41:31 +00:00
Treehugger Robot
05145c8a17
Merge "Cleanup more bazel code" into main am: 51fc67bd20
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3146657
Change-Id: I4c7c226a331b50c9ac38ecba6146dab4fb2d45c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-06-25 19:40:38 +00:00
Cole Faust
487b144fe0
Cleanup more bazel code
...
Bug: 315353489
Test: m nothing --no-skip-soong-tests
Change-Id: I6c6b4fcd559f4a45b1a96c70cbb5d6d1a615ccff
2024-06-25 11:02:38 -07:00
Xin Li
037736c1d0
Merge "Merge 24Q3 (ab/11976889) to aosp-main-future" into aosp-main-future
2024-06-20 19:38:53 +00:00
Yu Liu
88f4e331cc
Merge "Experimental code to support build action caching." into main
2024-06-19 01:57:12 +00:00
LaMont Jones
21d04d99c8
Add RELEASE_ACONFIG_EXTRA_RELEASE_CONFIGS
...
This build flag causes us to create aconfig flag artifacts for the
given extra release configs.
Bug: 298444886
Test: manual
Change-Id: I10148f6e7318b0477438ed1d8baafbf4dc594c90
2024-06-18 17:16:42 -07:00
Yu Liu
fa29764f9f
Experimental code to support build action caching.
...
Bug: 335718784
Test: build locally
Change-Id: Icc1f1fb15f9fe305e95dd51e2e7aff1e9cbf340c
2024-06-19 00:09:32 +00:00
Cole Faust
efe843b319
Merge "Simplify aconfig_declarations_group" into main am: 791733fad4
am: 4ec136ab8f
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3133934
Change-Id: I48d0ddb19e76ab9118b661549c305d8f345111ee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-06-14 20:35:13 +00:00
Cole Faust
779d41cf7c
Simplify aconfig_declarations_group
...
Some of the getters were unused, which means that all the fields
could be made into local variables.
Test: m nothing --no-skip-soong-tests
Change-Id: Iea38ed7f9da952803f54194c0c5a8fda9b6007f5
2024-06-14 11:17:48 -07:00
Zi Wang
58b583f64d
Merge "Use OutputFilesProvider on aconfig_declarations_group" into main am: 8f3fd0a049
am: 2d92d1dc3a
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3126616
Change-Id: I3b4ae3de38159917a3940ffb60894268fb511d55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-06-14 00:27:57 +00:00
mrziwang
937f35f464
Use OutputFilesProvider on aconfig_declarations_group
...
In the context of incremental soong, the output files
inter-module-communication will be through OutputFilesProvider.
The OutputFileProducer interface will be deprecated.
This CL also removes the unused field "intermediatePath" from
build_flag_declarations and aconfig_declarations
Test: CI
Bug: 339477385
Change-Id: I8417db7ca6ece50b3ecd807fc3b6356aa52b18e0
2024-06-13 15:03:16 -07:00
Treehugger Robot
bdf8b61b90
Merge "Build build_flags.json in soong" into main am: 89341ed9ad
am: fe69b391f2
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3011253
Change-Id: Ie0e1c55ec6bced378ad3b1692a73a31223ee7133
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-29 22:30:10 +00:00
Treehugger Robot
89341ed9ad
Merge "Build build_flags.json in soong" into main
2024-05-29 00:18:16 +00:00
Dennis Shen
a6efbada57
Merge "Soong: remove obsolete proto lib from unit test" into main am: 54082dd8fe
am: efc53b111d
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3097659
Change-Id: I7dd91be78499f7192f7ed2cf1f531f25f6dfa04f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-23 16:35:43 +00:00
Dennis Shen
6a7ffb3ec0
Soong: remove obsolete proto lib from unit test
...
Bug: b/321077378
Test: m and avd
Change-Id: Ib121da201e0be38d1acd82de1487f6cfba9e696c
2024-05-23 11:43:42 +00:00
Justin Yun
5f53869dfe
Build build_flags.json in soong
...
Define release_flags_json module type to install build_flags.json in
'etc'. release_flags_json reads the json files generated from the
soong release-config command.
Bug: 324996303
Test: build and see if the files are installed
Change-Id: I8cdcb7c61dd75cc54e4912d2ed7d1687f424151c
2024-05-23 14:58:08 +09:00
Treehugger Robot
a2f9e9a882
Merge changes I6b1d6dcd,I97eb864e,I155c26b1 into main am: 1ab18fc547
am: 1415729eea
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3092860
Change-Id: I91e4f3a5637983bacb121ed36f3745fdac36b965
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-22 00:37:41 +00:00
LaMont Jones
c6aef16816
Add build_flag_declarations module
...
And generate build-flags/build_flags.{pb,textproto} files
Bug: 328495189
Test: manual,TH
Change-Id: I97eb864e2d84bc606fef7e9077554894338edaa0
2024-05-21 15:35:22 -07:00
Oriol Prieto Gascó
a874e94bab
Merge "Make container mandatory in aconfig_declarations." into main
2024-05-03 14:09:48 +00:00
Ted Bauer
27eee7045a
Read from original flag
...
Test: m
Change-Id: I72f0a3fc765a00fc57a293f39cefa1f6c3aac519
Bug: 328444881
Ignore-AOSP-First: reconciling with aosp/3067403
2024-05-01 18:00:34 +00:00
Treehugger Robot
be43654c4e
Merge "Add new storage deps in forced read-only mode" into main am: 82e91a602b
am: e6dae288ae
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3068633
Change-Id: I48a7f64b42bd8be4cd55617703dd264e9dc6afb4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-01 15:51:17 +00:00
Ted Bauer
c3031c5c7b
Add new storage deps in forced read-only mode
...
Bug: 328444881
Test: m
Change-Id: I26d5d5c96414a62f2f83eb4d725e69cea61214da
2024-05-01 13:54:40 +00:00
Ted Bauer
205f08b7ad
Drive instrumentation with build flag for C/C++ am: 10fff94e2e
am: c19dfaf9d6
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3065602
Change-Id: I04dc519f2bb9a3304071ac5430ead38405a2326d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 22:03:21 +00:00
Ted Bauer
10fff94e2e
Drive instrumentation with build flag for C/C++
...
Bug: 328444881
Test: m
Change-Id: I20c92c61f855adb772d6aa173e85a6d8092460d7
2024-04-29 19:53:43 +00:00
Ted Bauer
29219f8b47
Merge "Switch libbase to shared" into main am: 84835f48ea
am: ef05b58774
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3065162
Change-Id: I2971e86181f43d0bbfeaf105ce141c4bfda37fea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 17:28:30 +00:00
Ted Bauer
84835f48ea
Merge "Switch libbase to shared" into main
2024-04-29 16:47:45 +00:00
Ted Bauer
6c69edfbf1
Switch libbase to shared
...
Test: m
Bug: 328444881
Change-Id: Ia232859bcc6591e26eb244d8c3f15336204a460e
2024-04-29 15:05:57 +00:00
Jeff DeCew
3479eb04bf
Merge "Ensure aconfig generated CustomFeatureFlags is renamed by JarJar" into main am: 996c883b65
am: 28f8546ea0
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3058302
Change-Id: I0b24529f8fabd4a206b1504283856907c47d32c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-26 19:27:41 +00:00
Jeff DeCew
996c883b65
Merge "Ensure aconfig generated CustomFeatureFlags is renamed by JarJar" into main
2024-04-26 18:39:43 +00:00
Ted Bauer
f08e6ff54c
Merge "Switch to static deps" into main am: 8e4060abc5
am: 60462974fa
...
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/3062942
Change-Id: Ie69b7b4b5d1ed79d1c327a3765dfa94815da7cb8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-26 15:47:44 +00:00
Ted Bauer
1e96f8c622
Switch to static deps
...
Bug: 328444881
Test: m
Change-Id: I53ad95ca281031ec98d5df66ada0ed69749da312
2024-04-26 13:46:09 +00:00