gn2bp: Convert genrules to cc_genrules
* This change doesn't effectively use the `CC_ARCH` environment variable. Just a change of variable name. * cc_genrules are compiled so they need host_supported/device_supported tags. Test: m cronet_aml_components_cronet_android_cronet Change-Id: Ie55e5e0fb60b444817bc13c967e89f35c4e8badf
This commit is contained in:
@@ -365,7 +365,7 @@ class GnParser(object):
|
||||
target.update(dep, arch) # Bubble up groups's cflags/ldflags etc.
|
||||
elif dep.type in ['action', 'action_foreach', 'copy']:
|
||||
if proto_target_type is None:
|
||||
target.deps.add(dep.name)
|
||||
target.arch[arch].deps.add(dep.name)
|
||||
elif dep.type in LINKER_UNIT_TYPES:
|
||||
target.arch[arch].deps.add(dep.name)
|
||||
elif dep.type == 'java_group':
|
||||
|
||||
Reference in New Issue
Block a user