Use BUILD_NATIVE_TEST instead of BUILD_EXECUTABLE.
authorscroggo <scroggo@google.com>
Tue, 8 Jul 2014 18:20:57 +0000 (11:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 8 Jul 2014 18:20:58 +0000 (11:20 -0700)
commitf50a79366f49fdc5ea726c74642ad6a706f1fe64
tree740948c652fa4a8ee61618bb58d62bdb260331db
parentbe08aceaab724b21136d7654fa86315850e9993c
Use BUILD_NATIVE_TEST instead of BUILD_EXECUTABLE.

This will generate makefiles for our tools (bench, tests, gm, dm) using
the line "include $(BUILD_NATIVE_TEST)". This has been recommended by the
Android team, as it builds both 32 bit and 64 bit versions of the test.

Do not use LOCAL_MODULE_PATH, which is deprecated (see https://docs.google.com/a/google.com/document/d/1uLAuY7_KYGx1TSzJ9SXkyevT8qNpra2ZoIBkmCoq8VM/edit# ).

Corresponds to ag/498302 , which makes this change just for bench.

R=djsollen@google.com, halcanary@google.com

Author: scroggo@google.com

Review URL: https://codereview.chromium.org/369673002
platform_tools/android/bin/gyp_to_android.py
platform_tools/android/gyp_gen/tool_makefile_writer.py
platform_tools/android/tests/expectations/tool/Android.mk
platform_tools/android/tests/makefile_writer_tests.py