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 := webkit_common_gpu_webkit_gpu_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,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_minimal_gyp,,,$(GYP_VAR_PREFIX))/blink_minimal.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a 18 19 GYP_GENERATED_OUTPUTS := 20 21 # Make sure our deps and generated files are built first. 22 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24 LOCAL_CPP_EXTENSION := .cc 25 LOCAL_GENERATED_SOURCES := 26 27 GYP_COPIED_SOURCE_ORIGIN_DIRS := 28 29 LOCAL_SRC_FILES := \ 30 webkit/common/gpu/context_provider_in_process.cc \ 31 webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc \ 32 webkit/common/gpu/webgraphicscontext3d_impl.cc \ 33 webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc 34 35 36 # Flags passed to both C and C++ files. 37 MY_CFLAGS_Debug := \ 38 -fstack-protector \ 39 --param=ssp-buffer-size=4 \ 40 \ 41 -fno-strict-aliasing \ 42 -Wall \ 43 -Wno-unused-parameter \ 44 -Wno-missing-field-initializers \ 45 -fvisibility=hidden \ 46 -pipe \ 47 -fPIC \ 48 -Wno-unused-local-typedefs \ 49 -ffunction-sections \ 50 -funwind-tables \ 51 -g \ 52 -fstack-protector \ 53 -fno-short-enums \ 54 -finline-limit=64 \ 55 -Wa,--noexecstack \ 56 -U_FORTIFY_SOURCE \ 57 -Wno-extra \ 58 -Wno-ignored-qualifiers \ 59 -Wno-type-limits \ 60 -Wno-unused-but-set-variable \ 61 -Os \ 62 -g \ 63 -gdwarf-4 \ 64 -fdata-sections \ 65 -ffunction-sections \ 66 -fomit-frame-pointer \ 67 -funwind-tables 68 69 MY_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 '-DWEBKIT_GPU_IMPLEMENTATION' \ 95 '-DSK_ENABLE_INST_COUNT=0' \ 96 '-DSK_SUPPORT_GPU=1' \ 97 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 98 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 99 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 100 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 101 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 102 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 103 '-DSK_BUILD_FOR_ANDROID' \ 104 '-DSK_USE_POSIX_THREADS' \ 105 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 106 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 107 '-DMESA_EGL_NO_X11_HEADERS' \ 108 '-DU_USING_ICU_NAMESPACE=0' \ 109 '-DU_ENABLE_DYLOAD=0' \ 110 '-DUSE_OPENSSL=1' \ 111 '-DUSE_OPENSSL_CERTS=1' \ 112 '-D__STDC_CONSTANT_MACROS' \ 113 '-D__STDC_FORMAT_MACROS' \ 114 '-DANDROID' \ 115 '-D__GNU_SOURCE=1' \ 116 '-DUSE_STLPORT=1' \ 117 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 118 '-DCHROME_BUILD_ID=""' \ 119 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 120 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 121 '-D_DEBUG' 122 123 124 # Include paths placed before CFLAGS/CPPFLAGS 125 LOCAL_C_INCLUDES_Debug := \ 126 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 127 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 128 $(gyp_shared_intermediate_dir) \ 129 $(LOCAL_PATH) \ 130 $(LOCAL_PATH)/third_party/khronos \ 131 $(LOCAL_PATH)/gpu \ 132 $(LOCAL_PATH)/skia/config \ 133 $(LOCAL_PATH)/third_party/WebKit/Source \ 134 $(LOCAL_PATH)/third_party/skia/src/core \ 135 $(LOCAL_PATH)/third_party/skia/include/core \ 136 $(LOCAL_PATH)/third_party/skia/include/effects \ 137 $(LOCAL_PATH)/third_party/skia/include/pdf \ 138 $(LOCAL_PATH)/third_party/skia/include/gpu \ 139 $(LOCAL_PATH)/third_party/skia/include/lazy \ 140 $(LOCAL_PATH)/third_party/skia/include/pathops \ 141 $(LOCAL_PATH)/third_party/skia/include/pipe \ 142 $(LOCAL_PATH)/third_party/skia/include/ports \ 143 $(LOCAL_PATH)/third_party/skia/include/utils \ 144 $(LOCAL_PATH)/skia/ext \ 145 $(gyp_shared_intermediate_dir)/ui/gl \ 146 $(LOCAL_PATH)/third_party/mesa/src/include \ 147 $(PWD)/external/icu/icu4c/source/common \ 148 $(PWD)/external/icu/icu4c/source/i18n \ 149 $(PWD)/frameworks/wilhelm/include \ 150 $(PWD)/bionic \ 151 $(PWD)/external/stlport/stlport 152 153 154 # Flags passed to only C++ (and not C) files. 155 LOCAL_CPPFLAGS_Debug := \ 156 -fno-exceptions \ 157 -fno-rtti \ 158 -fno-threadsafe-statics \ 159 -fvisibility-inlines-hidden \ 160 -Wsign-compare \ 161 -Wno-uninitialized \ 162 -std=gnu++11 \ 163 -Wno-narrowing \ 164 -Wno-literal-suffix \ 165 -Wno-non-virtual-dtor \ 166 -Wno-sign-promo 167 168 169 # Flags passed to both C and C++ files. 170 MY_CFLAGS_Release := \ 171 -fstack-protector \ 172 --param=ssp-buffer-size=4 \ 173 \ 174 -fno-strict-aliasing \ 175 -Wall \ 176 -Wno-unused-parameter \ 177 -Wno-missing-field-initializers \ 178 -fvisibility=hidden \ 179 -pipe \ 180 -fPIC \ 181 -Wno-unused-local-typedefs \ 182 -ffunction-sections \ 183 -funwind-tables \ 184 -g \ 185 -fstack-protector \ 186 -fno-short-enums \ 187 -finline-limit=64 \ 188 -Wa,--noexecstack \ 189 -U_FORTIFY_SOURCE \ 190 -Wno-extra \ 191 -Wno-ignored-qualifiers \ 192 -Wno-type-limits \ 193 -Wno-unused-but-set-variable \ 194 -Os \ 195 -fno-ident \ 196 -fdata-sections \ 197 -ffunction-sections \ 198 -fomit-frame-pointer \ 199 -funwind-tables 200 201 MY_DEFS_Release := \ 202 '-DV8_DEPRECATION_WARNINGS' \ 203 '-D_FILE_OFFSET_BITS=64' \ 204 '-DNO_TCMALLOC' \ 205 '-DDISABLE_NACL' \ 206 '-DCHROMIUM_BUILD' \ 207 '-DUSE_LIBJPEG_TURBO=1' \ 208 '-DENABLE_WEBRTC=1' \ 209 '-DUSE_PROPRIETARY_CODECS' \ 210 '-DENABLE_BROWSER_CDMS' \ 211 '-DENABLE_CONFIGURATION_POLICY' \ 212 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 213 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 214 '-DENABLE_EGLIMAGE=1' \ 215 '-DCLD_VERSION=1' \ 216 '-DENABLE_PRINTING=1' \ 217 '-DENABLE_MANAGED_USERS=1' \ 218 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 219 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 220 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 221 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 222 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 223 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 224 '-DVIDEO_HOLE=1' \ 225 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 226 '-DWEBKIT_GPU_IMPLEMENTATION' \ 227 '-DSK_ENABLE_INST_COUNT=0' \ 228 '-DSK_SUPPORT_GPU=1' \ 229 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 230 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 231 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 232 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 233 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 234 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 235 '-DSK_BUILD_FOR_ANDROID' \ 236 '-DSK_USE_POSIX_THREADS' \ 237 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 238 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 239 '-DMESA_EGL_NO_X11_HEADERS' \ 240 '-DU_USING_ICU_NAMESPACE=0' \ 241 '-DU_ENABLE_DYLOAD=0' \ 242 '-DUSE_OPENSSL=1' \ 243 '-DUSE_OPENSSL_CERTS=1' \ 244 '-D__STDC_CONSTANT_MACROS' \ 245 '-D__STDC_FORMAT_MACROS' \ 246 '-DANDROID' \ 247 '-D__GNU_SOURCE=1' \ 248 '-DUSE_STLPORT=1' \ 249 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 250 '-DCHROME_BUILD_ID=""' \ 251 '-DNDEBUG' \ 252 '-DNVALGRIND' \ 253 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 254 '-D_FORTIFY_SOURCE=2' 255 256 257 # Include paths placed before CFLAGS/CPPFLAGS 258 LOCAL_C_INCLUDES_Release := \ 259 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 260 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 261 $(gyp_shared_intermediate_dir) \ 262 $(LOCAL_PATH) \ 263 $(LOCAL_PATH)/third_party/khronos \ 264 $(LOCAL_PATH)/gpu \ 265 $(LOCAL_PATH)/skia/config \ 266 $(LOCAL_PATH)/third_party/WebKit/Source \ 267 $(LOCAL_PATH)/third_party/skia/src/core \ 268 $(LOCAL_PATH)/third_party/skia/include/core \ 269 $(LOCAL_PATH)/third_party/skia/include/effects \ 270 $(LOCAL_PATH)/third_party/skia/include/pdf \ 271 $(LOCAL_PATH)/third_party/skia/include/gpu \ 272 $(LOCAL_PATH)/third_party/skia/include/lazy \ 273 $(LOCAL_PATH)/third_party/skia/include/pathops \ 274 $(LOCAL_PATH)/third_party/skia/include/pipe \ 275 $(LOCAL_PATH)/third_party/skia/include/ports \ 276 $(LOCAL_PATH)/third_party/skia/include/utils \ 277 $(LOCAL_PATH)/skia/ext \ 278 $(gyp_shared_intermediate_dir)/ui/gl \ 279 $(LOCAL_PATH)/third_party/mesa/src/include \ 280 $(PWD)/external/icu/icu4c/source/common \ 281 $(PWD)/external/icu/icu4c/source/i18n \ 282 $(PWD)/frameworks/wilhelm/include \ 283 $(PWD)/bionic \ 284 $(PWD)/external/stlport/stlport 285 286 287 # Flags passed to only C++ (and not C) files. 288 LOCAL_CPPFLAGS_Release := \ 289 -fno-exceptions \ 290 -fno-rtti \ 291 -fno-threadsafe-statics \ 292 -fvisibility-inlines-hidden \ 293 -Wsign-compare \ 294 -Wno-uninitialized \ 295 -std=gnu++11 \ 296 -Wno-narrowing \ 297 -Wno-literal-suffix \ 298 -Wno-non-virtual-dtor \ 299 -Wno-sign-promo 300 301 302 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 303 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 304 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 305 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 306 ### Rules for final target. 307 308 LOCAL_SHARED_LIBRARIES := \ 309 libstlport \ 310 libdl 311 312 # Add target alias to "gyp_all_modules" target. 313 .PHONY: gyp_all_modules 314 gyp_all_modules: webkit_common_gpu_webkit_gpu_gyp 315 316 # Alias gyp target name. 317 .PHONY: webkit_gpu 318 webkit_gpu: webkit_common_gpu_webkit_gpu_gyp 319 320 include $(BUILD_STATIC_LIBRARY) 321