Skip to content

Commit 5755127

Browse files
theotherjimmy0xc0170
authored andcommitted
Reveal cumulative attributes from Targets
1 parent 7600a32 commit 5755127

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def __init__(self, target, top_level_dirs=None):
396396

397397
self.cumulative_overrides = {key: ConfigCumulativeOverride(key)
398398
for key in
399-
Target._Target__cumulative_attributes}
399+
Target.cumulative_attributes}
400400

401401
self._process_config_and_overrides(self.app_config_data, {}, "app",
402402
"application")

tools/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def wrapper(*args, **kwargs):
5959
class Target:
6060
# Cumulative attributes can have values appended to them, so they
6161
# need to be computed differently than regular attributes
62-
__cumulative_attributes = ['extra_labels', 'macros', 'device_has', 'features']
62+
cumulative_attributes = ['extra_labels', 'macros', 'device_has', 'features']
6363

6464
# List of targets that were added dynamically using "add_py_targets" (see below)
6565
__py_targets = set()

0 commit comments

Comments
 (0)