- Jan 09, 2024
-
-
Elliott Hughes authored
Test: N/A Change-Id: I86d5578eaac260e55a9583db7ab49812b4ba1f5d
-
- Oct 05, 2023
-
-
Jingwen Chen authored
Follow up of https://android-review.googlesource.com/2630914 Bug: 284029211 Test: presubmits Change-Id: Idc0ff2f20e54b81cfdf61472a72e9cb027f60554
-
- Sep 11, 2023
-
-
Jingwen Chen authored
Test: n/a Change-Id: Ic0a997938a5dc4fbb46f401daa3cb3f6e8c2c54b
-
- May 26, 2023
-
-
Inseob Kim authored
This is to differentiate soong intermediate directories for soong config modules. This will help incremental build across different devices. Test result of building panther, building cheetah, and building panther again: Before this change - build time: 02:57 - # of tasks: 31044 After this change - build time: 01:48 - # of tasks: 1694 Build time includes build.ninja generating time (which is more than 1 minute), so the overriden artifacts become far fewer. And "NINJA_ARGS='-n -d explain' m" only gave 4 "command line changed" nodes. Bug: 279362051 Test: see above Change-Id: I4891cbe823ae21628465e5c6eb26a4837ccdd202
-
- Mar 24, 2023
-
-
Cody Heiner authored
Test: N/A, documentation change only. Bug: 267208956 Change-Id: Iadc04f771560ed080a0f93338aef8459c9ddb3c8
-
- Mar 23, 2023
-
-
Steven Moreland authored
has typo Bug: N/A Test: N/A Change-Id: Id56183a6a12518e11593fb226195ee2ac8d4faea
-
- Dec 02, 2022
-
-
Sasha Smundak authored
When `SOONG_DELVE_STEPS` enviromnment variable is set in addition to `SOONG_DELVE`, only given soong_build invocations ('steps') are run in the debugger. Also, make bootstrapBlueprint code table-driven. Test: treehugger Change-Id: Ia4016240ca9e88c2a85c6d06851c5bba30e7b2b5
-
- Oct 12, 2022
-
-
Lukacs T. Berki authored
Test: documentation change. Change-Id: Icb87fbb73abe28e1760bd452c26bda058aa5d22c
-
- Aug 17, 2022
-
-
usta authored
leading colons raise "too many colons in address" error Test: SOONG_DELVE=:5006 m Bug: N/A Change-Id: I311a9b807d97f3fc33411d44e5ec8dfe02376f55
-
- Aug 16, 2022
-
-
Yilin Ma authored
The page was moved to a new location with launch of the new Bazel site: https://blog.bazel.build/2022/02/17/Launching-new-Bazel-site.html. Test: m Change-Id: I53bd60b1f51209a6e4e2e498aed68391a9e52a71 Bug: b/242351623
-
- Feb 09, 2022
-
-
Kousik Kumar authored
Also added documentation on how to use these config files Change-Id: Ic8080bbdceb28da27af521020e671244df452ee4 Bug: 213446344
-
- Jan 29, 2022
-
-
Usta Shrestha authored
Test: n/a Bug: n/a Change-Id: I49faa1d8dec4b729409a45e87212b271ecf9e9d1
-
- Jan 14, 2022
-
-
Cole Faust authored
Bug: None Test: Presubmits Change-Id: Ib6726436f8eea1b46ce4c30febeae6180f21cceb
-
- Oct 13, 2021
-
-
Lukacs T. Berki authored
The ones here were obsolete. Test: None (only documentation changes) Change-Id: Idf5d1490e0f9d55f2078e6ba7396b80da73be369
-
- Sep 08, 2021
-
-
Lukacs T. Berki authored
They were a bit repetitive. In addition, make the environment checks more correct; they could probably use an integration test or two to make sure that when the environment changes, exactly those outputs are rebuilt that need to be, but for now, this is an improvement already. Test: Presubmits. Change-Id: Idd79b81ca6975d57d00e5bf4699d266152505ff8
-
Lukacs T. Berki authored
This makes soong_ui the only place where soong_build is invoked, thus greatly simplifying the conceptual model of the build. It comes with the slight limitation that now soong_docs (and queryview and the JSON module graph) are not Make targets anymore, but I suppose that's an acceptable loss. The only place where someone depended on soong_docs from a Makefile is removed in a separate change. Test: Presubmits. Change-Id: I3f9ac327725c15d84de725d05e3cdde1da3dcbe2
-
- Aug 24, 2021
-
-
Sasha Smundak authored
Bug: 190051051 Test: treehugger Change-Id: Ib77d8af8f926412f6337173927cee6bb1deda2bb
-
- Jun 29, 2021
-
-
Filip authored
Test: not required - documentation change Change-Id: Ib487278e7ca183fd968df70fb701a8cdf7266c19
-
- Jan 21, 2021
-
-
Liz Kammer authored
Each variable can specify a conditions_default for properties to be used when the variable is not set, not set to a true value (for bools), or is set to a value that is not present in the module (for strings). Test: m nothing Test: go test soong tests Change-Id: I76ec026da2369b407f0f530f77760f530e7958fc
-
- May 13, 2020
-
-
Paul Duffin authored
Visibility rules can be 'inherited' in one of two ways. Either from defaults or from a module that called ctx.CreateModule(...). Previously, in both cases the inheriting module could only append additional visibility rules to the end of the inherited rules. That made it impossible to restrict the visibility by removing or ignore inherited rules. The //visibility:override rectifies that by allowing the inheriting module to ignore all the rules that they would have inherited. It can only go at the beginning of a list of rules specified in a module but after defaults are applied it can end up in the middle of a list of rules. In that case it behaves as if all the rules up to and including the //visibility:override rule were discarded. It can be used with //visibility:private to override //visibility:public and vice versa. Bug: 155787200 Test: m nothing Merged-In: I8a9c9c5a1bdceaee387c08864ae2b34629e0d46f Change-Id: I8a9c9c5a1bdceaee387c08864ae2b34629e0d46f (cherry picked from commit 51084ff6)
-
- May 12, 2020
-
-
Paul Duffin authored
Visibility rules can be 'inherited' in one of two ways. Either from defaults or from a module that called ctx.CreateModule(...). Previously, in both cases the inheriting module could only append additional visibility rules to the end of the inherited rules. That made it impossible to restrict the visibility by removing or ignore inherited rules. The //visibility:override rectifies that by allowing the inheriting module to ignore all the rules that they would have inherited. It can only go at the beginning of a list of rules specified in a module but after defaults are applied it can end up in the middle of a list of rules. In that case it behaves as if all the rules up to and including the //visibility:override rule were discarded. It can be used with //visibility:private to override //visibility:public and vice versa. Bug: 155787200 Test: m nothing Change-Id: I8a9c9c5a1bdceaee387c08864ae2b34629e0d46f
-
- Apr 09, 2020
-
-
Dan Willemsen authored
There are some cases that aren't handled with the existing variable types for booleans or known lists of strings. Similarly to our product_variables that uses %s / %d for things like PLATFORM_SDK_VERSION, allow vendors to define their own config variables to be substituted into properties. For example, some of the makefiles that I've attempted to convert had the option to pass in version numbers from the board, or the default display size: -DDISPLAY_VERSION=550 -DDISP_H=1080 These examples happen to be integers, but since our configuration language (make) doesn't support numbers, %s works just as well. This change will allow the above to be represented using: soong_config_module_type { name: "acme_cc_defaults", module_type: "cc_defaults", config_namespace: "acme", value_variables: [ "DISPLAY_VERSION", "DISP_H", ], properties: ["cflags"], } acme_cc_defaults { name: "my_defaults", soong_config_variables: { DISPLAY_VERSION: { cflags: ["-DDISPLAY_VERSION=%s"], }, DISP_H: { cflags: ["-DDISP_H=%s"], } }, } Bug: 153161144 Test: built-in tests Change-Id: I18f35746b5cc39c304a136980249e886d38c6df6 Merged-In: I18f35746b5cc39c304a136980249e886d38c6df6 (cherry picked from commit b0935db8)
-
- Apr 03, 2020
-
-
Dan Willemsen authored
Using a lot of boolean variables can become very verbose without adding really any new information: variables: ["a", "b", "c"], } soong_config_bool_variable { name: "a", } soong_config_bool_variable { name: "b", } soong_config_bool_variable { name: "c", } Now turns into: bool_variables: ["a", "b", "c"], } Bug: 153161144 Test: built-in tests Change-Id: If5455a38433431c7ecbce1e5b32cfbb47f42602a Merged-In: If5455a38433431c7ecbce1e5b32cfbb47f42602a (cherry picked from commit 2b8b89cf)
-
- Mar 24, 2020
-
-
Dan Willemsen authored
There are some cases that aren't handled with the existing variable types for booleans or known lists of strings. Similarly to our product_variables that uses %s / %d for things like PLATFORM_SDK_VERSION, allow vendors to define their own config variables to be substituted into properties. For example, some of the makefiles that I've attempted to convert had the option to pass in version numbers from the board, or the default display size: -DDISPLAY_VERSION=550 -DDISP_H=1080 These examples happen to be integers, but since our configuration language (make) doesn't support numbers, %s works just as well. This change will allow the above to be represented using: soong_config_module_type { name: "acme_cc_defaults", module_type: "cc_defaults", config_namespace: "acme", value_variables: [ "DISPLAY_VERSION", "DISP_H", ], properties: ["cflags"], } acme_cc_defaults { name: "my_defaults", soong_config_variables: { DISPLAY_VERSION: { cflags: ["-DDISPLAY_VERSION=%s"], }, DISP_H: { cflags: ["-DDISP_H=%s"], } }, } Test: built-in tests Change-Id: I18f35746b5cc39c304a136980249e886d38c6df6
-
Dan Willemsen authored
Using a lot of boolean variables can become very verbose without adding really any new information: variables: ["a", "b", "c"], } soong_config_bool_variable { name: "a", } soong_config_bool_variable { name: "b", } soong_config_bool_variable { name: "c", } Now turns into: bool_variables: ["a", "b", "c"], } Test: built-in tests Change-Id: If5455a38433431c7ecbce1e5b32cfbb47f42602a
-
- Jan 25, 2020
-
-
Colin Cross authored
Support vendor conditionals with no Go code. Test: TestSoongConfigModule Change-Id: I42546e7f17324921ada80f4d8e1cd399830f8dfc
-
- Dec 09, 2019
-
-
Sasha Smundak authored
Test: N/A Change-Id: Iec7d40e6886285046fbe00aea8e19073c6c1ba73
-
- Nov 25, 2019
-
-
Martin Stjernholm authored
Taken from the comment for OutputFileProducer in android/module.go. Test: n/a Change-Id: If74e9072333ed2acd51e1019d5e756cf54c9e55e
-
- Nov 16, 2019
-
-
Colin Cross authored
Test: none Change-Id: I5ccf5824c6a85d881070d8e0ae16d87d3ee6cee2
-
- Aug 06, 2019
-
-
Colin Cross authored
Fixes: 138580915 Test: m checkbuild Change-Id: Iefee8a914225d465a1feb37690a54423be332841
-
- Jul 25, 2019
-
-
Paul Duffin authored
Bug: 130796911 Test: m nothing Change-Id: I7b9462d3360be2bbeaf6ff38c5328f45ff5b5ebb
-
- Jul 03, 2019
-
-
Colin Cross authored
Allow running Soong in a headless delve debugger by passing SOONG_DELVE=<listen addr> in the environment. Bug: 80165685 Test: SOONG_DELVE=:1234 m nothing Change-Id: Icfc893c8a8354a9bbc99112d9c83259cb41906d1
-
- Jun 27, 2019
-
-
Paul Duffin authored
Enhances the visibility mechanism to use the default_visibility property of the closest ancestor package that has the property specified. Bug: 133290645 Test: m droid Change-Id: I7248e9034a73894ac8d514f913316438c4d7c079
-
Paul Duffin authored
Adds a package module type with a default_visibility property. The package module type can only be specified once per package. Bug: 133290645 Test: m droid Change-Id: Ibb2fb499c9ea88ecaa662d3cd2cbde478e4b9a4b
-
- May 28, 2019
-
-
Colin Cross authored
Document that strings can contain double quotes escaped as \", and the droiddoc args argument can contain a dollar signe escaped as $$. Test: none Change-Id: I91d3fa73f484094c9ce8cbecc93189850856de84
-
- May 24, 2019
-
-
Martin Stjernholm authored
However only allow it when they are merged from different defaults. Extend the tests to cover that and other cases with visibilities in defaults. Also avoid dumping the whole visibility spec in the error message when a visibility check fails, because it gets noisy for long visibility lists, and can be confusing when //visibility:public gets merged with other visibility rules. Test: Soong self test Bug: 112158820 Bug: 130796911 Change-Id: I242513975a3f824b9ea2eab5b94b194b9af2481b
-
- Apr 26, 2019
-
-
Paul Duffin authored
Implementation uploaded for review. Includes unit tests but does not yet handle prebuilts, that will come in a future change once some more general issues with prebuilts and namespaces is resolved. See README.md#Visibility for details of what this does and how to use it. Bug: 112158820 Test: add visibility rules for core library modules, make core-tests Change-Id: I8ec980554398ad6f2d42043ce518f811a35da679
-
- Mar 01, 2019
-
-
Dan Willemsen authored
The built reference documentation is now hosted publicly. Test: check the link in gitiles Change-Id: I69c90f2d74f1e7535054aed115930a293057ad48
-
- Feb 09, 2019
-
-
Mikhail Naganov authored
On the recent versions, the module types help is generated into $OUT_DIR/soong/docs/soong_build.html Test: make && ls -l out/soong/docs/soong_build.html Change-Id: Ib7522a417fd5467f19d7393672a592d349f276f4
-
- Jan 17, 2019
-
-
Clay Murphy authored
Test: make online-sac-docs Bug: 120866204 Change-Id: I4560a32ec2cb29aaaa9e9048d4ed075d09a44d13
-