<commit_before>LOCAL_PATH := $(call my-dir)

MY_ANDROID_SRC_ROOT := $(HOME)/src/android-source
#ANDROID_INCLUDES := $(MY_ANDROID_SRC_ROOT)/system/core/include
#ANDROID_INCLUDES += $(MY_ANDROID_SRC_ROOT)/external/wpa_supplicant
ANDROID_INCLUDES += $(HOME)/src/android-ndk-r8b/sources/
#ANDROID_INCLUDES += $(MY_ANDROID_SRC_ROOT)/external/bdh_apps/mocktime/

MY_SRCS := libpowertutor.cpp power_model.cpp timeops.cpp utils.cpp jni_wrappers.cpp debug.cpp
MY_CFLAGS := -g -ggdb -O0 -Wall -Werror -DANDROID -DNDK_BUILD -std=c++11

#include $(CLEAR_VARS)

#LOCAL_MODULE := libmocktime
#LOCAL_SRC_FILES := ../../../mocktime/obj/local/$(TARGET_ARCH_ABI)/libmocktime.so
#include $(PREBUILT_SHARED_LIBRARY)

# Use the static lib if there happen to be exception-related
# segfaults when using the shared lib.
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libpowertutor
LOCAL_C_INCLUDES := $(ANDROID_INCLUDES)
LOCAL_SRC_FILES := $(addprefix ../, $(MY_SRCS))
LOCAL_CFLAGS := $(MY_CFLAGS) -DBUILDING_SHLIB
LOCAL_EXPORT_CFLAGS := $(MY_CFLAGS) -DBUILDING_SHLIB
LOCAL_SHARED_LIBRARIES := liblog mocktime
LOCAL_LDLIBS := -llog
#LOCAL_LDFLAGS := -L../../mocktime/obj/local/$(TARGET_ARCH_ABI) -lmocktime
LOCAL_PRELINK_MODULE := false
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/..
include $(BUILD_SHARED_LIBRARY)

$(call import-module, edu.umich.mobility/mocktime)<commit_msg>Removed unnecessary noise in Android.mk.<commit_after>LOCAL_PATH := $(call my-dir)

MY_SRCS := libpowertutor.cpp power_model.cpp timeops.cpp utils.cpp jni_wrappers.cpp debug.cpp
MY_CFLAGS := -g -ggdb -Wall -Werror -DANDROID -DNDK_BUILD -std=c++11

include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := libpowertutor
LOCAL_SRC_FILES := $(addprefix ../, $(MY_SRCS))
LOCAL_CFLAGS := $(MY_CFLAGS) -DBUILDING_SHLIB
LOCAL_EXPORT_CFLAGS := $(MY_CFLAGS) -DBUILDING_SHLIB
LOCAL_SHARED_LIBRARIES := liblog mocktime
LOCAL_LDLIBS := -llog
LOCAL_PRELINK_MODULE := false
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/..
include $(BUILD_SHARED_LIBRARY)

$(call import-module, edu.umich.mobility/mocktime)
{'fraction_non_alphanumeric': 0.13416988416988418, 'fraction_numerical': 0.0028957528957528956, 'mean_word_length': 6.273684210526316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1428719', 'n_tokens_mistral': 821, 'n_tokens_neox': 793, 'n_words': 137}