1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := gpu_gles2_implementation_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_khronos_khronos_headers_gyp,,,$(GYP_VAR_PREFIX))/khronos_headers.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a 16 17 GYP_GENERATED_OUTPUTS := 18 19 # Make sure our deps and generated files are built first. 20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 21 22 LOCAL_CPP_EXTENSION := .cc 23 LOCAL_GENERATED_SOURCES := 24 25 GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27 LOCAL_SRC_FILES := \ 28 gpu/command_buffer/client/buffer_tracker.cc \ 29 gpu/command_buffer/client/client_context_state.cc \ 30 gpu/command_buffer/client/gles2_implementation.cc \ 31 gpu/command_buffer/client/gles2_trace_implementation.cc \ 32 gpu/command_buffer/client/gpu_memory_buffer_tracker.cc \ 33 gpu/command_buffer/client/program_info_manager.cc \ 34 gpu/command_buffer/client/query_tracker.cc \ 35 gpu/command_buffer/client/share_group.cc \ 36 gpu/command_buffer/client/vertex_array_object_manager.cc 37 38 39 # Flags passed to both C and C++ files. 40 MY_CFLAGS_Debug := \ 41 --param=ssp-buffer-size=4 \ 42 -Werror \ 43 -fno-strict-aliasing \ 44 -Wall \ 45 -Wno-unused-parameter \ 46 -Wno-missing-field-initializers \ 47 -fvisibility=hidden \ 48 -pipe \ 49 -fPIC \ 50 -Wno-unused-local-typedefs \ 51 -msse2 \ 52 -mfpmath=sse \ 53 -mmmx \ 54 -m32 \ 55 -ffunction-sections \ 56 -funwind-tables \ 57 -g \ 58 -fno-short-enums \ 59 -finline-limit=64 \ 60 -Wa,--noexecstack \ 61 -U_FORTIFY_SOURCE \ 62 -Wno-extra \ 63 -Wno-ignored-qualifiers \ 64 -Wno-type-limits \ 65 -Wno-unused-but-set-variable \ 66 -fno-stack-protector \ 67 -Os \ 68 -g \ 69 -gdwarf-4 \ 70 -fdata-sections \ 71 -ffunction-sections \ 72 -fomit-frame-pointer \ 73 -funwind-tables 74 75 MY_DEFS_Debug := \ 76 '-DV8_DEPRECATION_WARNINGS' \ 77 '-D_FILE_OFFSET_BITS=64' \ 78 '-DNO_TCMALLOC' \ 79 '-DDISABLE_NACL' \ 80 '-DCHROMIUM_BUILD' \ 81 '-DUSE_LIBJPEG_TURBO=1' \ 82 '-DENABLE_WEBRTC=1' \ 83 '-DUSE_PROPRIETARY_CODECS' \ 84 '-DENABLE_BROWSER_CDMS' \ 85 '-DENABLE_CONFIGURATION_POLICY' \ 86 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 87 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 88 '-DENABLE_EGLIMAGE=1' \ 89 '-DCLD_VERSION=1' \ 90 '-DENABLE_PRINTING=1' \ 91 '-DENABLE_MANAGED_USERS=1' \ 92 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 93 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 94 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 95 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 96 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 97 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 98 '-DVIDEO_HOLE=1' \ 99 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 100 '-DGLES2_IMPL_IMPLEMENTATION' \ 101 '-DMESA_EGL_NO_X11_HEADERS' \ 102 '-DUSE_OPENSSL=1' \ 103 '-DUSE_OPENSSL_CERTS=1' \ 104 '-D__STDC_CONSTANT_MACROS' \ 105 '-D__STDC_FORMAT_MACROS' \ 106 '-DANDROID' \ 107 '-D__GNU_SOURCE=1' \ 108 '-DUSE_STLPORT=1' \ 109 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 110 '-DCHROME_BUILD_ID=""' \ 111 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 112 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 113 '-D_DEBUG' 114 115 116 # Include paths placed before CFLAGS/CPPFLAGS 117 LOCAL_C_INCLUDES_Debug := \ 118 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 119 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 120 $(gyp_shared_intermediate_dir) \ 121 $(LOCAL_PATH)/third_party/khronos \ 122 $(LOCAL_PATH)/gpu \ 123 $(LOCAL_PATH) \ 124 $(LOCAL_PATH)/skia/config \ 125 $(gyp_shared_intermediate_dir)/ui/gl \ 126 $(LOCAL_PATH)/third_party/mesa/src/include \ 127 $(PWD)/frameworks/wilhelm/include \ 128 $(PWD)/bionic \ 129 $(PWD)/external/stlport/stlport 130 131 132 # Flags passed to only C++ (and not C) files. 133 LOCAL_CPPFLAGS_Debug := \ 134 -fno-exceptions \ 135 -fno-rtti \ 136 -fno-threadsafe-statics \ 137 -fvisibility-inlines-hidden \ 138 -Wsign-compare \ 139 -std=gnu++11 \ 140 -Wno-narrowing \ 141 -Wno-literal-suffix \ 142 -Wno-non-virtual-dtor \ 143 -Wno-sign-promo 144 145 146 # Flags passed to both C and C++ files. 147 MY_CFLAGS_Release := \ 148 --param=ssp-buffer-size=4 \ 149 -Werror \ 150 -fno-strict-aliasing \ 151 -Wall \ 152 -Wno-unused-parameter \ 153 -Wno-missing-field-initializers \ 154 -fvisibility=hidden \ 155 -pipe \ 156 -fPIC \ 157 -Wno-unused-local-typedefs \ 158 -msse2 \ 159 -mfpmath=sse \ 160 -mmmx \ 161 -m32 \ 162 -ffunction-sections \ 163 -funwind-tables \ 164 -g \ 165 -fno-short-enums \ 166 -finline-limit=64 \ 167 -Wa,--noexecstack \ 168 -U_FORTIFY_SOURCE \ 169 -Wno-extra \ 170 -Wno-ignored-qualifiers \ 171 -Wno-type-limits \ 172 -Wno-unused-but-set-variable \ 173 -fno-stack-protector \ 174 -Os \ 175 -fno-ident \ 176 -fdata-sections \ 177 -ffunction-sections \ 178 -fomit-frame-pointer \ 179 -funwind-tables 180 181 MY_DEFS_Release := \ 182 '-DV8_DEPRECATION_WARNINGS' \ 183 '-D_FILE_OFFSET_BITS=64' \ 184 '-DNO_TCMALLOC' \ 185 '-DDISABLE_NACL' \ 186 '-DCHROMIUM_BUILD' \ 187 '-DUSE_LIBJPEG_TURBO=1' \ 188 '-DENABLE_WEBRTC=1' \ 189 '-DUSE_PROPRIETARY_CODECS' \ 190 '-DENABLE_BROWSER_CDMS' \ 191 '-DENABLE_CONFIGURATION_POLICY' \ 192 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 193 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 194 '-DENABLE_EGLIMAGE=1' \ 195 '-DCLD_VERSION=1' \ 196 '-DENABLE_PRINTING=1' \ 197 '-DENABLE_MANAGED_USERS=1' \ 198 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 199 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 200 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 201 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 202 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 203 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 204 '-DVIDEO_HOLE=1' \ 205 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 206 '-DGLES2_IMPL_IMPLEMENTATION' \ 207 '-DMESA_EGL_NO_X11_HEADERS' \ 208 '-DUSE_OPENSSL=1' \ 209 '-DUSE_OPENSSL_CERTS=1' \ 210 '-D__STDC_CONSTANT_MACROS' \ 211 '-D__STDC_FORMAT_MACROS' \ 212 '-DANDROID' \ 213 '-D__GNU_SOURCE=1' \ 214 '-DUSE_STLPORT=1' \ 215 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 216 '-DCHROME_BUILD_ID=""' \ 217 '-DNDEBUG' \ 218 '-DNVALGRIND' \ 219 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 220 '-D_FORTIFY_SOURCE=2' 221 222 223 # Include paths placed before CFLAGS/CPPFLAGS 224 LOCAL_C_INCLUDES_Release := \ 225 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 226 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 227 $(gyp_shared_intermediate_dir) \ 228 $(LOCAL_PATH)/third_party/khronos \ 229 $(LOCAL_PATH)/gpu \ 230 $(LOCAL_PATH) \ 231 $(LOCAL_PATH)/skia/config \ 232 $(gyp_shared_intermediate_dir)/ui/gl \ 233 $(LOCAL_PATH)/third_party/mesa/src/include \ 234 $(PWD)/frameworks/wilhelm/include \ 235 $(PWD)/bionic \ 236 $(PWD)/external/stlport/stlport 237 238 239 # Flags passed to only C++ (and not C) files. 240 LOCAL_CPPFLAGS_Release := \ 241 -fno-exceptions \ 242 -fno-rtti \ 243 -fno-threadsafe-statics \ 244 -fvisibility-inlines-hidden \ 245 -Wsign-compare \ 246 -std=gnu++11 \ 247 -Wno-narrowing \ 248 -Wno-literal-suffix \ 249 -Wno-non-virtual-dtor \ 250 -Wno-sign-promo 251 252 253 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 254 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 255 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 256 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 257 ### Rules for final target. 258 259 LOCAL_SHARED_LIBRARIES := \ 260 libstlport \ 261 libdl 262 263 # Add target alias to "gyp_all_modules" target. 264 .PHONY: gyp_all_modules 265 gyp_all_modules: gpu_gles2_implementation_gyp 266 267 # Alias gyp target name. 268 .PHONY: gles2_implementation 269 gles2_implementation: gpu_gles2_implementation_gyp 270 271 include $(BUILD_STATIC_LIBRARY) 272