Skip to content

Commit cee1124

Browse files
krutonAndroid Git Automerger
authored andcommitted
am 07b4339: Merge "Change androidfw tests to native test target"
* commit '07b4339b2a2f39c17194b21dc301c0c026a2f197': Change androidfw tests to native test target
2 parents bad7121 + 07b4339 commit cee1124

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

libs/androidfw/tests/Android.mk

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,25 @@ test_src_files := \
1010
ObbFile_test.cpp
1111

1212
shared_libraries := \
13-
libandroidfw \
14-
libcutils \
15-
libutils \
16-
libbinder \
17-
libui \
18-
libstlport \
19-
libskia
13+
libandroidfw \
14+
libcutils \
15+
libutils \
16+
libbinder \
17+
libui \
18+
libstlport \
19+
libskia
2020

2121
static_libraries := \
22-
libgtest \
23-
libgtest_main
24-
25-
c_includes := \
26-
bionic \
27-
bionic/libstdc++/include \
28-
external/gtest/include \
29-
external/stlport/stlport \
30-
external/skia/include/core
31-
32-
module_tags := eng tests
22+
libgtest \
23+
libgtest_main
3324

3425
$(foreach file,$(test_src_files), \
3526
$(eval include $(CLEAR_VARS)) \
3627
$(eval LOCAL_SHARED_LIBRARIES := $(shared_libraries)) \
3728
$(eval LOCAL_STATIC_LIBRARIES := $(static_libraries)) \
38-
$(eval LOCAL_C_INCLUDES := $(c_includes)) \
3929
$(eval LOCAL_SRC_FILES := $(file)) \
4030
$(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
41-
$(eval LOCAL_MODULE_TAGS := $(module_tags)) \
42-
$(eval include $(BUILD_EXECUTABLE)) \
31+
$(eval include $(BUILD_NATIVE_TEST)) \
4332
)
4433

4534
# Build the manual test programs.

libs/androidfw/tests/InputEvent_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <binder/Parcel.h>
2020

2121
#include <math.h>
22-
#include <SkMatrix.h>
22+
#include <core/SkMatrix.h>
2323

2424
namespace android {
2525

0 commit comments

Comments
 (0)