Merge remote-tracking branch 'aosp/upstream' into master

* aosp/upstream:
  Add SetDefaultDependencyVariation

Bug: 138103882
Test: m checkbuild
Change-Id: I2c79c3c9e0437fd785b06ca20f43da2963d50b68
tree: 95c4a9523457d2f0b437203e83e5646eac55f471
  1. .gitignore
  2. .travis.fix-fork.sh
  3. .travis.gofmt.sh
  4. .travis.install-ninja.sh
  5. .travis.yml
  6. Blueprints
  7. CONTRIBUTING.md
  8. LICENSE
  9. OWNERS
  10. README.md
  11. blueprint.bash
  12. blueprint_impl.bash
  13. bootstrap.bash
  14. bootstrap/
  15. bpfmt/
  16. bpmodify/
  17. context.go
  18. context_test.go
  19. deptools/
  20. doc.go
  21. glob.go
  22. glob_test.go
  23. go.mod
  24. gotestmain/
  25. gotestrunner/
  26. live_tracker.go
  27. loadplugins/
  28. mangle.go
  29. microfactory/
  30. module_ctx.go
  31. name_interface.go
  32. ninja_defs.go
  33. ninja_strings.go
  34. ninja_strings_test.go
  35. ninja_writer.go
  36. ninja_writer_test.go
  37. package_ctx.go
  38. parser/
  39. pathtools/
  40. proptools/
  41. scope.go
  42. singleton_ctx.go
  43. splice_modules_test.go
  44. tests/
  45. unpack.go
  46. unpack_test.go
  47. visit_test.go
README.md

Blueprint Build System

Build Status

Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.