| Index: tools/binary_size/models.py
|
| diff --git a/tools/binary_size/models.py b/tools/binary_size/models.py
|
| index 9a422e96c38fc5e0fa0f5fe73870732c7eb9dbd0..ee0481e992e3773fd32d624a93a426f653bfbe23 100644
|
| --- a/tools/binary_size/models.py
|
| +++ b/tools/binary_size/models.py
|
| @@ -236,10 +236,7 @@ class SymbolGroup(BaseSymbol):
|
| return self._symbols[key]
|
|
|
| def __sub__(self, other):
|
| - if other.IsGroup():
|
| - other_ids = set(id(s) for s in other)
|
| - else:
|
| - other_ids = set((id(other),))
|
| + other_ids = set(id(s) for s in other)
|
| new_symbols = [s for s in self if id(s) not in other_ids]
|
| return self._CreateTransformed(new_symbols, section_name=self.section_name)
|
|
|
| @@ -262,6 +259,10 @@ class SymbolGroup(BaseSymbol):
|
| return False
|
|
|
| @property
|
| + def object_path(self):
|
| + return None
|
| +
|
| + @property
|
| def source_path(self):
|
| return None
|
|
|
|
|