Merge changes I78bc86ad,Ieeab8376
* changes: c2a: Legacy cleanup c2a: Parse new cargo output
This commit is contained in:
@@ -43,8 +43,6 @@ If there are rustc warning messages, this script will add
|
|||||||
a warning comment to the owner crate module in Android.bp.
|
a warning comment to the owner crate module in Android.bp.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import print_function
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import glob
|
import glob
|
||||||
import json
|
import json
|
||||||
@@ -58,7 +56,7 @@ import sys
|
|||||||
|
|
||||||
# Some Rust packages include extra unwanted crates.
|
# Some Rust packages include extra unwanted crates.
|
||||||
# This set contains all such excluded crate names.
|
# This set contains all such excluded crate names.
|
||||||
EXCLUDED_CRATES = set(['protobuf_bin_gen_rust_do_not_use'])
|
EXCLUDED_CRATES = {'protobuf_bin_gen_rust_do_not_use'}
|
||||||
|
|
||||||
RENAME_MAP = {
|
RENAME_MAP = {
|
||||||
# This map includes all changes to the default rust module names
|
# This map includes all changes to the default rust module names
|
||||||
@@ -1547,7 +1545,7 @@ class Runner(object):
|
|||||||
return ''
|
return ''
|
||||||
|
|
||||||
def add_empty_test(self, name):
|
def add_empty_test(self, name):
|
||||||
if name == 'unittests':
|
if name.startswith('unittests'):
|
||||||
self.empty_unittests = True
|
self.empty_unittests = True
|
||||||
else:
|
else:
|
||||||
self.empty_tests.add(name)
|
self.empty_tests.add(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user