1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := content_content_gpu_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,mojo_mojo_service_provider_bindings_gyp,,,$(GYP_VAR_PREFIX))/mojo_mojo_service_provider_bindings_gyp.a \ 16 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 18 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp,,,$(GYP_VAR_PREFIX))/ui_gl_gl_gyp.a 19 20GYP_GENERATED_OUTPUTS := 21 22# Make sure our deps and generated files are built first. 23LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 24 25LOCAL_CPP_EXTENSION := .cc 26LOCAL_GENERATED_SOURCES := 27 28GYP_COPIED_SOURCE_ORIGIN_DIRS := 29 30LOCAL_SRC_FILES := \ 31 content/gpu/gpu_main.cc \ 32 content/gpu/gpu_process.cc \ 33 content/gpu/gpu_child_thread.cc \ 34 content/gpu/gpu_watchdog_thread.cc \ 35 content/gpu/in_process_gpu_thread.cc 36 37 38# Flags passed to both C and C++ files. 39MY_CFLAGS_Debug := \ 40 --param=ssp-buffer-size=4 \ 41 -Werror \ 42 -fno-exceptions \ 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 -fdata-sections \ 65 -ffunction-sections \ 66 -funwind-tables 67 68MY_DEFS_Debug := \ 69 '-DCONTENT_IMPLEMENTATION' \ 70 '-DV8_DEPRECATION_WARNINGS' \ 71 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 72 '-D_FILE_OFFSET_BITS=64' \ 73 '-DNO_TCMALLOC' \ 74 '-DDISABLE_NACL' \ 75 '-DCHROMIUM_BUILD' \ 76 '-DUSE_LIBJPEG_TURBO=1' \ 77 '-DENABLE_WEBRTC=1' \ 78 '-DUSE_PROPRIETARY_CODECS' \ 79 '-DENABLE_BROWSER_CDMS' \ 80 '-DENABLE_CONFIGURATION_POLICY' \ 81 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 82 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 83 '-DENABLE_EGLIMAGE=1' \ 84 '-DCLD_VERSION=1' \ 85 '-DENABLE_PRINTING=1' \ 86 '-DENABLE_MANAGED_USERS=1' \ 87 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 88 '-DDATA_REDUCTION_DEV_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 '-DMOJO_USE_SYSTEM_IMPL' \ 94 '-DSK_ENABLE_INST_COUNT=0' \ 95 '-DSK_SUPPORT_GPU=1' \ 96 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 97 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 98 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 99 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 100 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 101 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 102 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 103 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 104 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 105 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 106 '-DSK_IGNORE_ETC1_SUPPORT' \ 107 '-DSK_IGNORE_GPU_DITHER' \ 108 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 109 '-DSK_BUILD_FOR_ANDROID' \ 110 '-DSK_USE_POSIX_THREADS' \ 111 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 112 '-DMESA_EGL_NO_X11_HEADERS' \ 113 '-DUSE_OPENSSL=1' \ 114 '-DUSE_OPENSSL_CERTS=1' \ 115 '-D__STDC_CONSTANT_MACROS' \ 116 '-D__STDC_FORMAT_MACROS' \ 117 '-DANDROID' \ 118 '-D__GNU_SOURCE=1' \ 119 '-DUSE_STLPORT=1' \ 120 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 121 '-DCHROME_BUILD_ID=""' \ 122 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 123 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 124 '-D_DEBUG' 125 126 127# Include paths placed before CFLAGS/CPPFLAGS 128LOCAL_C_INCLUDES_Debug := \ 129 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 130 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 131 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 132 $(gyp_shared_intermediate_dir) \ 133 $(LOCAL_PATH) \ 134 $(LOCAL_PATH)/skia/config \ 135 $(LOCAL_PATH)/third_party/WebKit/Source \ 136 $(LOCAL_PATH)/third_party/khronos \ 137 $(LOCAL_PATH)/gpu \ 138 $(LOCAL_PATH)/third_party/WebKit \ 139 $(LOCAL_PATH)/third_party/skia/src/core \ 140 $(LOCAL_PATH)/third_party/skia/include/core \ 141 $(LOCAL_PATH)/third_party/skia/include/effects \ 142 $(LOCAL_PATH)/third_party/skia/include/pdf \ 143 $(LOCAL_PATH)/third_party/skia/include/gpu \ 144 $(LOCAL_PATH)/third_party/skia/include/lazy \ 145 $(LOCAL_PATH)/third_party/skia/include/pathops \ 146 $(LOCAL_PATH)/third_party/skia/include/pipe \ 147 $(LOCAL_PATH)/third_party/skia/include/ports \ 148 $(LOCAL_PATH)/third_party/skia/include/utils \ 149 $(LOCAL_PATH)/skia/ext \ 150 $(gyp_shared_intermediate_dir)/ui/gl \ 151 $(LOCAL_PATH)/third_party/mesa/src/include \ 152 $(PWD)/frameworks/wilhelm/include \ 153 $(PWD)/bionic \ 154 $(PWD)/external/stlport/stlport 155 156 157# Flags passed to only C++ (and not C) files. 158LOCAL_CPPFLAGS_Debug := \ 159 -fno-rtti \ 160 -fno-threadsafe-statics \ 161 -fvisibility-inlines-hidden \ 162 -Wsign-compare \ 163 -Wno-non-virtual-dtor \ 164 -Wno-sign-promo 165 166 167LOCAL_FDO_SUPPORT_Debug := false 168 169# Flags passed to both C and C++ files. 170MY_CFLAGS_Release := \ 171 --param=ssp-buffer-size=4 \ 172 -Werror \ 173 -fno-exceptions \ 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 -fno-short-enums \ 186 -finline-limit=64 \ 187 -Wa,--noexecstack \ 188 -U_FORTIFY_SOURCE \ 189 -Wno-extra \ 190 -Wno-ignored-qualifiers \ 191 -Wno-type-limits \ 192 -Wno-unused-but-set-variable \ 193 -Os \ 194 -fno-ident \ 195 -fdata-sections \ 196 -ffunction-sections \ 197 -funwind-tables 198 199MY_DEFS_Release := \ 200 '-DCONTENT_IMPLEMENTATION' \ 201 '-DV8_DEPRECATION_WARNINGS' \ 202 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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="http://proxy-dev.googlezip.net:80/"' \ 220 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 221 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 222 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 223 '-DVIDEO_HOLE=1' \ 224 '-DMOJO_USE_SYSTEM_IMPL' \ 225 '-DSK_ENABLE_INST_COUNT=0' \ 226 '-DSK_SUPPORT_GPU=1' \ 227 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 228 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 229 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 230 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 231 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 232 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 233 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 234 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 235 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 236 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 237 '-DSK_IGNORE_ETC1_SUPPORT' \ 238 '-DSK_IGNORE_GPU_DITHER' \ 239 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 240 '-DSK_BUILD_FOR_ANDROID' \ 241 '-DSK_USE_POSIX_THREADS' \ 242 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 243 '-DMESA_EGL_NO_X11_HEADERS' \ 244 '-DUSE_OPENSSL=1' \ 245 '-DUSE_OPENSSL_CERTS=1' \ 246 '-D__STDC_CONSTANT_MACROS' \ 247 '-D__STDC_FORMAT_MACROS' \ 248 '-DANDROID' \ 249 '-D__GNU_SOURCE=1' \ 250 '-DUSE_STLPORT=1' \ 251 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 252 '-DCHROME_BUILD_ID=""' \ 253 '-DNDEBUG' \ 254 '-DNVALGRIND' \ 255 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 256 '-D_FORTIFY_SOURCE=2' 257 258 259# Include paths placed before CFLAGS/CPPFLAGS 260LOCAL_C_INCLUDES_Release := \ 261 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 262 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 263 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 264 $(gyp_shared_intermediate_dir) \ 265 $(LOCAL_PATH) \ 266 $(LOCAL_PATH)/skia/config \ 267 $(LOCAL_PATH)/third_party/WebKit/Source \ 268 $(LOCAL_PATH)/third_party/khronos \ 269 $(LOCAL_PATH)/gpu \ 270 $(LOCAL_PATH)/third_party/WebKit \ 271 $(LOCAL_PATH)/third_party/skia/src/core \ 272 $(LOCAL_PATH)/third_party/skia/include/core \ 273 $(LOCAL_PATH)/third_party/skia/include/effects \ 274 $(LOCAL_PATH)/third_party/skia/include/pdf \ 275 $(LOCAL_PATH)/third_party/skia/include/gpu \ 276 $(LOCAL_PATH)/third_party/skia/include/lazy \ 277 $(LOCAL_PATH)/third_party/skia/include/pathops \ 278 $(LOCAL_PATH)/third_party/skia/include/pipe \ 279 $(LOCAL_PATH)/third_party/skia/include/ports \ 280 $(LOCAL_PATH)/third_party/skia/include/utils \ 281 $(LOCAL_PATH)/skia/ext \ 282 $(gyp_shared_intermediate_dir)/ui/gl \ 283 $(LOCAL_PATH)/third_party/mesa/src/include \ 284 $(PWD)/frameworks/wilhelm/include \ 285 $(PWD)/bionic \ 286 $(PWD)/external/stlport/stlport 287 288 289# Flags passed to only C++ (and not C) files. 290LOCAL_CPPFLAGS_Release := \ 291 -fno-rtti \ 292 -fno-threadsafe-statics \ 293 -fvisibility-inlines-hidden \ 294 -Wsign-compare \ 295 -Wno-non-virtual-dtor \ 296 -Wno-sign-promo 297 298 299LOCAL_FDO_SUPPORT_Release := false 300 301LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 302LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 303LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 304LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 305LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 306### Rules for final target. 307 308LOCAL_LDFLAGS_Debug := \ 309 -Wl,-z,now \ 310 -Wl,-z,relro \ 311 -Wl,--fatal-warnings \ 312 -Wl,-z,noexecstack \ 313 -fPIC \ 314 -nostdlib \ 315 -Wl,--no-undefined \ 316 -Wl,--exclude-libs=ALL \ 317 -Wl,--warn-shared-textrel \ 318 -Wl,-O1 \ 319 -Wl,--as-needed 320 321 322LOCAL_LDFLAGS_Release := \ 323 -Wl,-z,now \ 324 -Wl,-z,relro \ 325 -Wl,--fatal-warnings \ 326 -Wl,-z,noexecstack \ 327 -fPIC \ 328 -nostdlib \ 329 -Wl,--no-undefined \ 330 -Wl,--exclude-libs=ALL \ 331 -Wl,-O1 \ 332 -Wl,--as-needed \ 333 -Wl,--gc-sections \ 334 -Wl,--warn-shared-textrel 335 336 337LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 338 339LOCAL_STATIC_LIBRARIES := \ 340 mojo_mojo_service_provider_bindings_gyp \ 341 skia_skia_library_gyp \ 342 ui_gl_gl_gyp 343 344# Enable grouping to fix circular references 345LOCAL_GROUP_STATIC_LIBRARIES := true 346 347LOCAL_SHARED_LIBRARIES := \ 348 libstlport \ 349 libdl 350 351# Add target alias to "gyp_all_modules" target. 352.PHONY: gyp_all_modules 353gyp_all_modules: content_content_gpu_gyp 354 355# Alias gyp target name. 356.PHONY: content_gpu 357content_gpu: content_content_gpu_gyp 358 359include $(BUILD_STATIC_LIBRARY) 360