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