tools/android/modularization/convenience/build_gn_editor.py
def add_elements(self, elements: List[str]) -> None:
    """Appends unique elements to the existing list."""
    if not self._elements:
      self._elements = list(dict.fromkeys(elements))
      return

    all_elements = list(self._elements)
    all_elements.extend(elements)
    self._elements = list(dict.fromkeys(all_elements))
Appends unique elements to the existing list.
Appends unique elements to the existing list.
Appends unique elements to the existing list .
def add_elements(self, elements: List[str]) -> None:
    if not self._elements:
      self._elements = list(dict.fromkeys(elements))
      return
    all_elements = list(self._elements)
    all_elements.extend(elements)
    self._elements = list(dict.fromkeys(all_elements))
def add_elements ( self , elements : List [ str ] ) -> None : if not self . _elements : self . _elements = list ( dict . fromkeys ( elements ) ) return all_elements = list ( self . _elements ) all_elements . extend ( elements ) self . _elements = list ( dict . fromkeys ( all_elements ) )
Appends unique elements to the existing list.
Appends unique elements to the existing list .
"""Appends unique elements to the existing list."""
self
elements
List[str]