Merge "Revert "Fix inheritance order"" am: ea8eedde00

Original change: https://android-review.googlesource.com/c/platform/build/+/2054825

Change-Id: I457b7bf11c6a15fdcdcad464f83379c3e986b46b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2022-04-04 21:29:00 +00:00 committed by Automerger Merge Worker
commit 3f67c2235a
2 changed files with 3 additions and 3 deletions

View file

@ -167,8 +167,8 @@ def _product_configuration(top_pcm_name, top_pcm, input_variables_init):
# Now we know everything about this PCM, record it in 'configs'.
children = handle.inherited_modules
if _options.trace_modules:
print("# ", " ".join(sorted(children.keys())))
configs[name] = (pcm, handle.cfg, sorted(children.keys()), False)
print("# ", " ".join(children.keys()))
configs[name] = (pcm, handle.cfg, children.keys(), False)
pcm_count = pcm_count + 1
if len(children) == 0:

View file

@ -18,7 +18,7 @@ load(":inherit2.rbc", _inherit2_init = "init")
def init(g, handle):
cfg = rblf.cfg(handle)
rblf.inherit(handle, "test/inherit2", _inherit2_init)
rblf.inherit(handle, "test/inherit1", _inherit1_init)
rblf.inherit(handle, "test/inherit2", _inherit2_init)
cfg["PRODUCT_DEFAULT_DEV_CERTIFICATE"] = ""