# libsimpleperf target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
# libsimpleperf host
include $(CLEAR_VARS)
-#LOCAL_CLANG := true # Comment it to build on windows.
LOCAL_MODULE := libsimpleperf
LOCAL_MODULE_HOST_OS := darwin linux windows
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
# simpleperf target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := simpleperf
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
# libsimpleperf_record.a on target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_record
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
LOCAL_SRC_FILES := record_lib_interface.cpp
# libsimpleperf_record.so on target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_record
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
LOCAL_SRC_FILES := record_lib_interface.cpp
# libsimpleperf_record.a on host
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_record
LOCAL_MODULE_HOST_OS := linux
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
# libsimpleperf_record.so on host
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_record
LOCAL_MODULE_HOST_OS := linux
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
# libsimpleperf_inplace_sampler.so on target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_inplace_sampler
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
LOCAL_SRC_FILES := inplace_sampler_lib.cpp
# libsimpleperf_inplace_sampler.so on host
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_inplace_sampler
LOCAL_MODULE_HOST_OS := linux
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
# simpleperf_unit_test target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := simpleperf_unit_test
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
# simpleperf_cpu_hotplug_test target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := simpleperf_cpu_hotplug_test
LOCAL_COMPATIBILITY_SUITE := device-tests
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
# simpleperf_cpu_hotplug_test linux host
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := simpleperf_cpu_hotplug_test
LOCAL_MODULE_HOST_OS := linux
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
# libsimpleperf_cts_test target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_cts_test
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target) -DRUN_IN_APP_CONTEXT="\"com.android.simpleperf\""
LOCAL_SRC_FILES := $(libsimpleperf_cts_test_src_files)
# libsimpleperf_cts_test linux host
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libsimpleperf_cts_test
LOCAL_MODULE_HOST_OS := linux
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)
# simpleperf_record_test target
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := simpleperf_record_test
LOCAL_CPPFLAGS := $(simpleperf_cppflags_target)
LOCAL_SRC_FILES := record_lib_test.cpp
# simpleperf_record_test linux host
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := simpleperf_record_test
LOCAL_MODULE_HOST_OS := linux
LOCAL_CPPFLAGS := $(simpleperf_cppflags_host)