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

###############################################################################
# libluajit-5.1
###############################################################################
include $(CLEAR_VARS)

LOCAL_MODULE := luajit-5.1
LOCAL_SRC_FILES := libluajit-5.1.so
include $(PREBUILT_SHARED_LIBRARY)

###############################################################################
# libcrown
###############################################################################
include $(CLEAR_VARS)

LOCAL_MODULE    := crown
LOCAL_SRC_FILES :=\
	core/bv/Circle.cpp\
	core/bv/Frustum.cpp\
	core/bv/Rect.cpp\
\
	core/compressors/ZipCompressor.cpp\
	core/containers/Generic.cpp\
\
	core/filesystem/BinaryReader.cpp\
	core/filesystem/BinaryWriter.cpp\
	core/filesystem/DiskFile.cpp\
	core/filesystem/File.cpp\
	core/filesystem/Filesystem.cpp\
	core/filesystem/TextReader.cpp\
	core/filesystem/TextWriter.cpp\
\
	core/json/JSONParser.cpp
\
	core/math/Color4.cpp\
	core/math/Mat3.cpp\
	core/math/Mat4.cpp\
	core/math/Plane.cpp\
	core/math/Quat.cpp\
	core/math/Shape.cpp\
	core/math/Vec2.cpp\
	core/math/Vec3.cpp\
	core/math/Vec4.cpp\
\
	core/mem/Allocator.cpp\
	core/mem/HeapAllocator.cpp\
	core/mem/LinearAllocator.cpp\
	core/mem/ProxyAllocator.cpp\
	core/mem/StackAllocator.cpp\
	core/mem/Memory.cpp\
\
	core/settings/FloatSetting.cpp\
	core/settings/IntSetting.cpp\
	core/settings/StringSetting.cpp\
\
	core/Args.cpp\
	core/Log.cpp\
\
	input/Accelerometer.cpp\
	input/Keyboard.cpp\
	input/Mouse.cpp\
	input/Touch.cpp\
	input/EventDispatcher.cpp\
	input/InputManager.cpp\
\
	network/BitMessage.cpp\
\
	os/OS.cpp\
	os/android/AndroidOS.cpp\
	os/android/AndroidDevice.cpp\
	os/android/OsWindow.cpp\
	os/posix/OsFile.cpp\
	os/posix/Thread.cpp\
	os/posix/Mutex.cpp\
	os/posix/Cond.cpp\
	os/posix/TCPSocket.cpp\
	os/posix/UDPSocket.cpp\
\
	renderers/gles/GLESRenderer.cpp\
	renderers/gles/GLESUtils.cpp\
	renderers/gles/egl/GLContext.cpp\
	renderers/DebugRenderer.cpp\
	renderers/PixelFormat.cpp\
	renderers/VertexFormat.cpp\
\
	resource/ArchiveBundle.cpp\
	resource/FileBundle.cpp\
	resource/FontResource.cpp\
	resource/MaterialResource.cpp\
	resource/PixelShaderResource.cpp\
	resource/ResourceManager.cpp\
	resource/TextResource.cpp\
	resource/TextureResource.cpp\
	resource/VertexShaderResource.cpp\
	resource/SoundResource.cpp\
\
	lua/LuaStack.cpp\
	lua/LuaEnvironment.cpp\
	lua/LuaAccelerometer.cpp\
	lua/LuaCamera.cpp\
	lua/LuaDevice.cpp\
	lua/LuaKeyboard.cpp\
	lua/LuaMat4.cpp\
	lua/LuaMath.cpp\
	lua/LuaMouse.cpp\
	lua/LuaQuat.cpp\
	lua/LuaTouch.cpp\
	lua/LuaVec2.cpp\
	lua/LuaVec3.cpp\
	lua/LuaWindow.cpp\
	lua/LuaIntSetting.cpp\
	lua/LuaFloatSetting.cpp\
	lua/LuaStringSetting.cpp\
\
	Camera.cpp\
	Device.cpp\
	FPSSystem.cpp\
	ConsoleServer.cpp\
\

LOCAL_C_INCLUDES	:=\
	$(LOCAL_PATH)/\
	$(LOCAL_PATH)/core\
	$(LOCAL_PATH)/core/bv\
	$(LOCAL_PATH)/core/compressors\
	$(LOCAL_PATH)/core/containers\
	$(LOCAL_PATH)/core/filesystem\
	$(LOCAL_PATH)/core/math\
	$(LOCAL_PATH)/core/mem\
	$(LOCAL_PATH)/core/filesystem\
	$(LOCAL_PATH)/core/json\
	$(LOCAL_PATH)/core/settings\
	$(LOCAL_PATH)/core/strings\
	$(LOCAL_PATH)/input\
	$(LOCAL_PATH)/lua\
	$(LOCAL_PATH)/network\
	$(LOCAL_PATH)/os\
	$(LOCAL_PATH)/os/android\
	$(LOCAL_PATH)/os/posix\
	$(LOCAL_PATH)/renderers\
	$(LOCAL_PATH)/renderers/gles\
	$(LOCAL_PATH)/renderers/gles/egl\
	$(LOCAL_PATH)/third/luajit/include/luajit-2.0\

LOCAL_CPPFLAGS	:= -g -fexceptions -std=c++03 -ansi -pedantic -Wall -Wextra -Wno-long-long -Wno-variadic-macros
LOCAL_LDLIBS	:= -llog -landroid -lEGL -lGLESv2 -lz 
LOCAL_SHARED_LIBRARIES := luajit-5.1
LOCAL_STATIC_LIBRARIES := android_native_app_glue
include $(BUILD_SHARED_LIBRARY)<commit_msg>add OpenSLES to LDLIBS in android make file<commit_after>
LOCAL_PATH := $(call my-dir)

###############################################################################
# libluajit-5.1
###############################################################################
include $(CLEAR_VARS)

LOCAL_MODULE := luajit-5.1
LOCAL_SRC_FILES := libluajit-5.1.so
include $(PREBUILT_SHARED_LIBRARY)

###############################################################################
# libcrown
###############################################################################
include $(CLEAR_VARS)

LOCAL_MODULE    := crown
LOCAL_SRC_FILES :=\
	core/bv/Circle.cpp\
	core/bv/Frustum.cpp\
	core/bv/Rect.cpp\
\
	core/compressors/ZipCompressor.cpp\
	core/containers/Generic.cpp\
\
	core/filesystem/BinaryReader.cpp\
	core/filesystem/BinaryWriter.cpp\
	core/filesystem/DiskFile.cpp\
	core/filesystem/File.cpp\
	core/filesystem/Filesystem.cpp\
	core/filesystem/TextReader.cpp\
	core/filesystem/TextWriter.cpp\
\
	core/json/JSONParser.cpp
\
	core/math/Color4.cpp\
	core/math/Mat3.cpp\
	core/math/Mat4.cpp\
	core/math/Plane.cpp\
	core/math/Quat.cpp\
	core/math/Shape.cpp\
	core/math/Vec2.cpp\
	core/math/Vec3.cpp\
	core/math/Vec4.cpp\
\
	core/mem/Allocator.cpp\
	core/mem/HeapAllocator.cpp\
	core/mem/LinearAllocator.cpp\
	core/mem/ProxyAllocator.cpp\
	core/mem/StackAllocator.cpp\
	core/mem/Memory.cpp\
\
	core/settings/FloatSetting.cpp\
	core/settings/IntSetting.cpp\
	core/settings/StringSetting.cpp\
\
	core/Args.cpp\
	core/Log.cpp\
\
	input/Accelerometer.cpp\
	input/Keyboard.cpp\
	input/Mouse.cpp\
	input/Touch.cpp\
	input/EventDispatcher.cpp\
	input/InputManager.cpp\
\
	network/BitMessage.cpp\
\
	os/OS.cpp\
	os/android/AndroidOS.cpp\
	os/android/AndroidDevice.cpp\
	os/android/OsWindow.cpp\
	os/posix/OsFile.cpp\
	os/posix/Thread.cpp\
	os/posix/Mutex.cpp\
	os/posix/Cond.cpp\
	os/posix/TCPSocket.cpp\
	os/posix/UDPSocket.cpp\
\
	renderers/gles/GLESRenderer.cpp\
	renderers/gles/GLESUtils.cpp\
	renderers/gles/egl/GLContext.cpp\
	renderers/DebugRenderer.cpp\
	renderers/PixelFormat.cpp\
	renderers/VertexFormat.cpp\
\
	resource/ArchiveBundle.cpp\
	resource/FileBundle.cpp\
	resource/FontResource.cpp\
	resource/MaterialResource.cpp\
	resource/PixelShaderResource.cpp\
	resource/ResourceManager.cpp\
	resource/TextResource.cpp\
	resource/TextureResource.cpp\
	resource/VertexShaderResource.cpp\
	resource/SoundResource.cpp\
\
	lua/LuaStack.cpp\
	lua/LuaEnvironment.cpp\
	lua/LuaAccelerometer.cpp\
	lua/LuaCamera.cpp\
	lua/LuaDevice.cpp\
	lua/LuaKeyboard.cpp\
	lua/LuaMat4.cpp\
	lua/LuaMath.cpp\
	lua/LuaMouse.cpp\
	lua/LuaQuat.cpp\
	lua/LuaTouch.cpp\
	lua/LuaVec2.cpp\
	lua/LuaVec3.cpp\
	lua/LuaWindow.cpp\
	lua/LuaIntSetting.cpp\
	lua/LuaFloatSetting.cpp\
	lua/LuaStringSetting.cpp\
\
	Camera.cpp\
	Device.cpp\
	FPSSystem.cpp\
	ConsoleServer.cpp\
\

LOCAL_C_INCLUDES	:=\
	$(LOCAL_PATH)/\
	$(LOCAL_PATH)/core\
	$(LOCAL_PATH)/core/bv\
	$(LOCAL_PATH)/core/compressors\
	$(LOCAL_PATH)/core/containers\
	$(LOCAL_PATH)/core/filesystem\
	$(LOCAL_PATH)/core/math\
	$(LOCAL_PATH)/core/mem\
	$(LOCAL_PATH)/core/filesystem\
	$(LOCAL_PATH)/core/json\
	$(LOCAL_PATH)/core/settings\
	$(LOCAL_PATH)/core/strings\
	$(LOCAL_PATH)/input\
	$(LOCAL_PATH)/lua\
	$(LOCAL_PATH)/network\
	$(LOCAL_PATH)/os\
	$(LOCAL_PATH)/os/android\
	$(LOCAL_PATH)/os/posix\
	$(LOCAL_PATH)/renderers\
	$(LOCAL_PATH)/renderers/gles\
	$(LOCAL_PATH)/renderers/gles/egl\
	$(LOCAL_PATH)/third/luajit/include/luajit-2.0\

LOCAL_CPPFLAGS	:= -g -fexceptions -std=c++03 -ansi -pedantic -Wall -Wextra -Wno-long-long -Wno-variadic-macros
LOCAL_LDLIBS	:= -llog -landroid -lEGL -lGLESv2 -lz -lOpenSLES
LOCAL_SHARED_LIBRARIES := luajit-5.1
LOCAL_STATIC_LIBRARIES := android_native_app_glue
include $(BUILD_SHARED_LIBRARY)
{'fraction_non_alphanumeric': 0.22384656652360516, 'fraction_numerical': 0.005901287553648069, 'mean_word_length': 4.225648213034337, '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': '3466126', 'n_tokens_mistral': 2993, 'n_tokens_neox': 2950, 'n_words': 309}