| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) | 
|  | 2 |  | 
|  | 3 | # | 
|  | 4 | # Build the software OpenGL ES library | 
|  | 5 | # | 
|  | 6 |  | 
|  | 7 | include $(CLEAR_VARS) | 
|  | 8 |  | 
|  | 9 | LOCAL_SRC_FILES:= \ | 
|  | 10 | egl.cpp                     \ | 
|  | 11 | state.cpp		            \ | 
|  | 12 | texture.cpp		            \ | 
|  | 13 | Tokenizer.cpp               \ | 
|  | 14 | TokenManager.cpp            \ | 
|  | 15 | TextureObjectManager.cpp    \ | 
|  | 16 | BufferObjectManager.cpp     \ | 
|  | 17 | array.cpp.arm		        \ | 
|  | 18 | fp.cpp.arm		            \ | 
|  | 19 | light.cpp.arm		        \ | 
|  | 20 | matrix.cpp.arm		        \ | 
|  | 21 | mipmap.cpp.arm		        \ | 
|  | 22 | primitives.cpp.arm	        \ | 
|  | 23 | vertex.cpp.arm | 
|  | 24 |  | 
| Mathias Agopian | 54ba51d | 2009-10-26 20:12:37 -0700 | [diff] [blame] | 25 | LOCAL_CFLAGS += -DLOG_TAG=\"libagl\" | 
|  | 26 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES | 
|  | 27 | LOCAL_CFLAGS += -fvisibility=hidden | 
|  | 28 |  | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 29 | LOCAL_SHARED_LIBRARIES := libcutils libhardware libutils liblog libpixelflinger libETC1 libui | 
| Mathias Agopian | 54ba51d | 2009-10-26 20:12:37 -0700 | [diff] [blame] | 30 |  | 
| Colin Cross | ff75a80 | 2014-02-12 17:15:53 -0800 | [diff] [blame] | 31 | LOCAL_SRC_FILES_arm += fixed_asm.S iterators.S | 
|  | 32 | LOCAL_CFLAGS_arm += -fstrict-aliasing | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 33 |  | 
| Duane Sand | 81c6d66 | 2014-11-25 16:43:13 -0800 | [diff] [blame] | 34 | ifndef ARCH_MIPS_REV6 | 
| Colin Cross | ff75a80 | 2014-02-12 17:15:53 -0800 | [diff] [blame] | 35 | LOCAL_SRC_FILES_mips += arch-mips/fixed_asm.S | 
| Duane Sand | 81c6d66 | 2014-11-25 16:43:13 -0800 | [diff] [blame] | 36 | endif | 
| Colin Cross | ff75a80 | 2014-02-12 17:15:53 -0800 | [diff] [blame] | 37 | LOCAL_CFLAGS_mips += -fstrict-aliasing | 
|  | 38 | # The graphics code can generate division by zero | 
|  | 39 | LOCAL_CFLAGS_mips += -mno-check-zero-division | 
| Duane Sand | b43722c | 2013-03-27 10:53:14 -0700 | [diff] [blame] | 40 |  | 
| Jeff Brown | baa44b8 | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 41 | # we need to access the private Bionic header <bionic_tls.h> | 
| Jeff Brown | baa44b8 | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 42 | LOCAL_C_INCLUDES += bionic/libc/private | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 43 |  | 
| Colin Cross | df50868 | 2014-01-24 21:00:32 -0800 | [diff] [blame] | 44 | LOCAL_MODULE_RELATIVE_PATH := egl | 
| Mathias Agopian | de58697 | 2009-05-28 17:39:03 -0700 | [diff] [blame] | 45 | LOCAL_MODULE:= libGLES_android | 
| The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 46 |  | 
|  | 47 | include $(BUILD_SHARED_LIBRARY) |