Add cpu_features GN target

-cpu_features GN target currently in android_sdk/BUILD.gn but only has
android_ndk configs and sources
-Copy the GN target to android_ndk so other repos can be dependent on
android_ndk target without being dependent on android_sdk
-Remove the target in android_sdk in followup CL

Uncovered when trying to add zlib library to V8:
https://chromium-review.googlesource.com/c/v8/v8/+/1727130/2

TBR: agrieve since both owners are OOO
Bug: 990407
Change-Id: I1d724e8e0fee50ee546df2c8557632bc14a9a94f
Reviewed-on: https://chromium-review.googlesource.com/c/android_ndk/+/1733479
Reviewed-by: Peter Wen <wnwen@chromium.org>
Reviewed-by: Sam Maier <smaier@chromium.org>
Reviewed-by: Eric Stevenson <estevenson@chromium.org>
Tested-by: Peter Wen <wnwen@chromium.org>
1 file changed
tree: 76ba38922a436971bc123d137105c4623b501179
  1. BUILD.gn
  2. CHANGELOG.md
  3. OWNERS
  4. README.chromium
  5. README.md
  6. build/
  7. chromium-patches/
  8. codereview.settings
  9. meta/
  10. ndk-build
  11. ndk-depends
  12. ndk-gdb
  13. ndk-stack
  14. ndk-which
  15. platforms/
  16. prebuilt/
  17. python-packages/
  18. shader-tools/
  19. simpleperf/
  20. source.properties
  21. sources/
  22. sysroot/
  23. toolchains/
README.md

Android NDK

Documentation

NDK documentation, guides, and API reference are available on our website.

NDK code samples are available on GitHub.

Information about Android Studio can be found on the Android Studio website.

Filing Bugs

NDK bugs should be filed on GitHub.

Android Studio and Gradle bugs should be filed in the Android Studio Bug Tracker. For the fastest response, make sure you follow their guide on Filing Bugs.