Lines Matching refs:rule
30 def __init__(self, rule, attrs): argument
32 self.rule = rule
111 if module.rule == 'llndk_library':
122 if module.rule.endswith('_prebuilt_library_shared'):
124 if not prev_module.rule.endswith('_prebuilt_library_shared'):
143 for rule, attrs in parsed_items:
152 if rule == 'llndk_library':
153 self.add_module(name, Module(rule, attrs))
154 if rule in {'llndk_library', 'ndk_library'}:
157 if rule.endswith('_library') or \
158 rule.endswith('_library_shared') or \
159 rule.endswith('_library_static') or \
160 rule.endswith('_headers'):
161 self.add_module(name, Module(rule, attrs))
164 if rule == 'hidl_interface':
166 self.add_module(name, Module(rule, attrs))
172 Module(rule, adapter_module_dict))