1# The purpose of this test is to check that the definitions in <stdint.h> 2# follow the standard with regards to limit- and constant- related macros 3# (e.g. INT8_MIN / INT8_MAX / INT8_C) 4# 5# The rules are: 6# 7# - All constants should be defined when <stdint.h> is included from a C program 8# 9# - When included from a C++ program, limit-related macros should only be 10# defined if __STDC_LIMIT_MACROS is already defined. 11# 12# - When included from a C++ program, constant-related macros should only be 13# defined if __STDC_CONSTANT_MACROS is already defined. 14# 15# The test checks all possible tests, with source files generated by a helper 16# script found in this directory. 17# 18LOCAL_PATH := $(call my-dir) 19 20include $(CLEAR_VARS) 21LOCAL_MODULE := test_stdint_c++ 22LOCAL_SRC_FILES := test_c.c test_no_macros.cpp test_limit_macros.cpp test_constant_macros.cpp test_all_macros.cpp 23include $(BUILD_SHARED_LIBRARY) 24