Handle frozen objs in add_lists_defaulting_to_none

If the first non-None object in args was a frozen object, adding
subsequent items would fail. Instead, always create an empty list and
add to it.

Test: build/bazel/ci/bp2build.sh
Change-Id: Ibbaba2cc7bac71a3101422e380278ef847fa013e
1 file changed
tree: a1a2489ae293d5440dcf83b46a83fa167a3a1f4a
  1. ci/
  2. docs/
  3. examples/
  4. json_module_graph/
  5. platforms/
  6. product_variables/
  7. rules/
  8. rules_cc/
  9. scripts/
  10. tests/
  11. bazel.BUILD
  12. bazel.sh
  13. bazel.WORKSPACE
  14. common.bazelrc
  15. darwin.bazelrc
  16. linux.bazelrc
  17. OWNERS
  18. README.md
README.md

Bazel

The code in this directory is experimental. Bazel support for Android Platform is undergoing active development and workflow stability is currently not guaranteed.