cmake: Remove architecture specifiers for some compiler options.

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.

Change-Id: I85d03d2a6ddb8ec78f55e882081f9b7966a09de6
1 file changed
tree: 1e8df169ef9e12e79695e8d2031090f3c63bd075
  1. registry/