Revert "Revert "cmake: Remove architecture specifiers for some compiler ...""

This reverts commit 93d50a7b8bbdbf024ef23e42ac234813c337eff0.

Many compile definitions and compile settings are architecture
agnostic and there is no need to define them once for each
architecture. Instead we can just use the OS name to differentiate
them from each other.

This change modifies the android_target_*() cmake logic,
allowing two new target names "linux" and "darwin" which
could match any Linux / macOS target regardless of architecture.
This makes our CMakeLists.txt files less verbose.

Bug: b/206641310
Original-Change-Id: I85d03d2a6ddb8ec78f55e882081f9b7966a09de6
Change-Id: I5e317fcd580b6a687ebb70a2a5f8848cdb7fcb8e
1 file changed
tree: 1e8df169ef9e12e79695e8d2031090f3c63bd075
  1. registry/