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_command_buffer_service_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12 # Make sure our deps are built first. 13 GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,STATIC_LIBRARIES,gpu_disk_cache_proto_gyp)/gpu_disk_cache_proto_gyp.a \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_gl_gl_gyp)/ui_gl_gl_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 17 $(call intermediates-dir-for,GYP,third_party_khronos_khronos_headers_gyp)/khronos_headers.stamp 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 gpu/command_buffer/service/async_pixel_transfer_delegate.cc \ 31 gpu/command_buffer/service/async_pixel_transfer_manager_android.cc \ 32 gpu/command_buffer/service/async_pixel_transfer_manager_idle.cc \ 33 gpu/command_buffer/service/async_pixel_transfer_manager_share_group.cc \ 34 gpu/command_buffer/service/async_pixel_transfer_manager_stub.cc \ 35 gpu/command_buffer/service/async_pixel_transfer_manager_sync.cc \ 36 gpu/command_buffer/service/async_pixel_transfer_manager.cc \ 37 gpu/command_buffer/service/buffer_manager.cc \ 38 gpu/command_buffer/service/cmd_parser.cc \ 39 gpu/command_buffer/service/command_buffer_service.cc \ 40 gpu/command_buffer/service/common_decoder.cc \ 41 gpu/command_buffer/service/context_group.cc \ 42 gpu/command_buffer/service/context_state.cc \ 43 gpu/command_buffer/service/error_state.cc \ 44 gpu/command_buffer/service/feature_info.cc \ 45 gpu/command_buffer/service/framebuffer_manager.cc \ 46 gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc \ 47 gpu/command_buffer/service/gles2_cmd_decoder.cc \ 48 gpu/command_buffer/service/gles2_cmd_validation.cc \ 49 gpu/command_buffer/service/gl_context_virtual.cc \ 50 gpu/command_buffer/service/gl_state_restorer_impl.cc \ 51 gpu/command_buffer/service/gpu_control_service.cc \ 52 gpu/command_buffer/service/gpu_scheduler.cc \ 53 gpu/command_buffer/service/gpu_state_tracer.cc \ 54 gpu/command_buffer/service/gpu_switches.cc \ 55 gpu/command_buffer/service/gpu_tracer.cc \ 56 gpu/command_buffer/service/id_manager.cc \ 57 gpu/command_buffer/service/image_manager.cc \ 58 gpu/command_buffer/service/in_process_command_buffer.cc \ 59 gpu/command_buffer/service/logger.cc \ 60 gpu/command_buffer/service/mailbox_manager.cc \ 61 gpu/command_buffer/service/mailbox_synchronizer.cc \ 62 gpu/command_buffer/service/memory_program_cache.cc \ 63 gpu/command_buffer/service/program_manager.cc \ 64 gpu/command_buffer/service/query_manager.cc \ 65 gpu/command_buffer/service/renderbuffer_manager.cc \ 66 gpu/command_buffer/service/program_cache.cc \ 67 gpu/command_buffer/service/safe_shared_memory_pool.cc \ 68 gpu/command_buffer/service/shader_manager.cc \ 69 gpu/command_buffer/service/shader_translator.cc \ 70 gpu/command_buffer/service/shader_translator_cache.cc \ 71 gpu/command_buffer/service/stream_texture_manager_in_process_android.cc \ 72 gpu/command_buffer/service/texture_definition.cc \ 73 gpu/command_buffer/service/texture_manager.cc \ 74 gpu/command_buffer/service/transfer_buffer_manager.cc \ 75 gpu/command_buffer/service/vertex_array_manager.cc \ 76 gpu/command_buffer/service/vertex_attrib_manager.cc \ 77 gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc 78 79 80 # Flags passed to both C and C++ files. 81 MY_CFLAGS_Debug := \ 82 -fstack-protector \ 83 --param=ssp-buffer-size=4 \ 84 \ 85 -fno-exceptions \ 86 -fno-strict-aliasing \ 87 -Wall \ 88 -Wno-unused-parameter \ 89 -Wno-missing-field-initializers \ 90 -fvisibility=hidden \ 91 -pipe \ 92 -fPIC \ 93 -Wno-unknown-pragmas \ 94 -EL \ 95 -mhard-float \ 96 -ffunction-sections \ 97 -funwind-tables \ 98 -g \ 99 -fstack-protector \ 100 -fno-short-enums \ 101 -finline-limit=64 \ 102 -Wa,--noexecstack \ 103 -U_FORTIFY_SOURCE \ 104 -Wno-extra \ 105 -Wno-ignored-qualifiers \ 106 -Wno-type-limits \ 107 -Os \ 108 -g \ 109 -fomit-frame-pointer \ 110 -fdata-sections \ 111 -ffunction-sections 112 113 MY_DEFS_Debug := \ 114 '-DV8_DEPRECATION_WARNINGS' \ 115 '-D_FILE_OFFSET_BITS=64' \ 116 '-DNO_TCMALLOC' \ 117 '-DDISABLE_NACL' \ 118 '-DCHROMIUM_BUILD' \ 119 '-DUSE_LIBJPEG_TURBO=1' \ 120 '-DUSE_PROPRIETARY_CODECS' \ 121 '-DENABLE_CONFIGURATION_POLICY' \ 122 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 123 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 124 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 125 '-DUSE_OPENSSL=1' \ 126 '-DENABLE_EGLIMAGE=1' \ 127 '-DCLD_VERSION=1' \ 128 '-DENABLE_PRINTING=1' \ 129 '-DENABLE_MANAGED_USERS=1' \ 130 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 131 '-DU_USING_ICU_NAMESPACE=0' \ 132 '-DMESA_EGL_NO_X11_HEADERS' \ 133 '-DPOSIX_AVOID_MMAP' \ 134 '-DPROTOBUF_USE_DLLS' \ 135 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 136 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 137 '-D__STDC_CONSTANT_MACROS' \ 138 '-D__STDC_FORMAT_MACROS' \ 139 '-DANDROID' \ 140 '-D__GNU_SOURCE=1' \ 141 '-DUSE_STLPORT=1' \ 142 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 143 '-DCHROME_BUILD_ID=""' \ 144 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 145 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 146 '-D_DEBUG' 147 148 149 # Include paths placed before CFLAGS/CPPFLAGS 150 LOCAL_C_INCLUDES_Debug := \ 151 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 152 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 153 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 154 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 155 $(LOCAL_PATH) \ 156 $(LOCAL_PATH)/third_party/khronos \ 157 $(LOCAL_PATH)/gpu \ 158 $(LOCAL_PATH)/skia/config \ 159 $(gyp_shared_intermediate_dir)/protoc_out \ 160 $(PWD)/external/skia/include \ 161 $(PWD)/external/skia/include/core \ 162 $(LOCAL_PATH)/third_party/skia/src/core \ 163 $(LOCAL_PATH)/skia/ext \ 164 $(PWD)/external/icu4c/common \ 165 $(PWD)/external/icu4c/i18n \ 166 $(gyp_shared_intermediate_dir)/ui/gl \ 167 $(LOCAL_PATH)/third_party/mesa/src/include \ 168 $(LOCAL_PATH)/third_party/protobuf \ 169 $(LOCAL_PATH)/third_party/protobuf/src \ 170 $(LOCAL_PATH)/third_party/re2 \ 171 $(PWD)/frameworks/wilhelm/include \ 172 $(PWD)/bionic \ 173 $(PWD)/external/stlport/stlport 174 175 176 # Flags passed to only C++ (and not C) files. 177 LOCAL_CPPFLAGS_Debug := \ 178 -fno-rtti \ 179 -fno-threadsafe-statics \ 180 -fvisibility-inlines-hidden \ 181 -Wsign-compare \ 182 -Wno-uninitialized \ 183 -Wno-error=c++0x-compat \ 184 -Wno-non-virtual-dtor \ 185 -Wno-sign-promo 186 187 188 # Flags passed to both C and C++ files. 189 MY_CFLAGS_Release := \ 190 -fstack-protector \ 191 --param=ssp-buffer-size=4 \ 192 \ 193 -fno-exceptions \ 194 -fno-strict-aliasing \ 195 -Wall \ 196 -Wno-unused-parameter \ 197 -Wno-missing-field-initializers \ 198 -fvisibility=hidden \ 199 -pipe \ 200 -fPIC \ 201 -Wno-unknown-pragmas \ 202 -EL \ 203 -mhard-float \ 204 -ffunction-sections \ 205 -funwind-tables \ 206 -g \ 207 -fstack-protector \ 208 -fno-short-enums \ 209 -finline-limit=64 \ 210 -Wa,--noexecstack \ 211 -U_FORTIFY_SOURCE \ 212 -Wno-extra \ 213 -Wno-ignored-qualifiers \ 214 -Wno-type-limits \ 215 -Os \ 216 -fno-ident \ 217 -fdata-sections \ 218 -ffunction-sections \ 219 -fomit-frame-pointer 220 221 MY_DEFS_Release := \ 222 '-DV8_DEPRECATION_WARNINGS' \ 223 '-D_FILE_OFFSET_BITS=64' \ 224 '-DNO_TCMALLOC' \ 225 '-DDISABLE_NACL' \ 226 '-DCHROMIUM_BUILD' \ 227 '-DUSE_LIBJPEG_TURBO=1' \ 228 '-DUSE_PROPRIETARY_CODECS' \ 229 '-DENABLE_CONFIGURATION_POLICY' \ 230 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 231 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 232 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 233 '-DUSE_OPENSSL=1' \ 234 '-DENABLE_EGLIMAGE=1' \ 235 '-DCLD_VERSION=1' \ 236 '-DENABLE_PRINTING=1' \ 237 '-DENABLE_MANAGED_USERS=1' \ 238 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 239 '-DU_USING_ICU_NAMESPACE=0' \ 240 '-DMESA_EGL_NO_X11_HEADERS' \ 241 '-DPOSIX_AVOID_MMAP' \ 242 '-DPROTOBUF_USE_DLLS' \ 243 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 244 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 245 '-D__STDC_CONSTANT_MACROS' \ 246 '-D__STDC_FORMAT_MACROS' \ 247 '-DANDROID' \ 248 '-D__GNU_SOURCE=1' \ 249 '-DUSE_STLPORT=1' \ 250 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 251 '-DCHROME_BUILD_ID=""' \ 252 '-DNDEBUG' \ 253 '-DNVALGRIND' \ 254 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 255 '-D_FORTIFY_SOURCE=2' 256 257 258 # Include paths placed before CFLAGS/CPPFLAGS 259 LOCAL_C_INCLUDES_Release := \ 260 $(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \ 261 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 262 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 263 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 264 $(LOCAL_PATH) \ 265 $(LOCAL_PATH)/third_party/khronos \ 266 $(LOCAL_PATH)/gpu \ 267 $(LOCAL_PATH)/skia/config \ 268 $(gyp_shared_intermediate_dir)/protoc_out \ 269 $(PWD)/external/skia/include \ 270 $(PWD)/external/skia/include/core \ 271 $(LOCAL_PATH)/third_party/skia/src/core \ 272 $(LOCAL_PATH)/skia/ext \ 273 $(PWD)/external/icu4c/common \ 274 $(PWD)/external/icu4c/i18n \ 275 $(gyp_shared_intermediate_dir)/ui/gl \ 276 $(LOCAL_PATH)/third_party/mesa/src/include \ 277 $(LOCAL_PATH)/third_party/protobuf \ 278 $(LOCAL_PATH)/third_party/protobuf/src \ 279 $(LOCAL_PATH)/third_party/re2 \ 280 $(PWD)/frameworks/wilhelm/include \ 281 $(PWD)/bionic \ 282 $(PWD)/external/stlport/stlport 283 284 285 # Flags passed to only C++ (and not C) files. 286 LOCAL_CPPFLAGS_Release := \ 287 -fno-rtti \ 288 -fno-threadsafe-statics \ 289 -fvisibility-inlines-hidden \ 290 -Wsign-compare \ 291 -Wno-uninitialized \ 292 -Wno-error=c++0x-compat \ 293 -Wno-non-virtual-dtor \ 294 -Wno-sign-promo 295 296 297 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 298 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 299 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 300 ### Rules for final target. 301 302 LOCAL_LDFLAGS_Debug := \ 303 -Wl,-z,now \ 304 -Wl,-z,relro \ 305 -Wl,-z,noexecstack \ 306 -fPIC \ 307 -EL \ 308 -Wl,--no-keep-memory \ 309 -nostdlib \ 310 -Wl,--no-undefined \ 311 -Wl,--exclude-libs=ALL \ 312 -Wl,--fatal-warnings \ 313 -Wl,--gc-sections \ 314 -Wl,--warn-shared-textrel \ 315 -Wl,-O1 \ 316 -Wl,--as-needed 317 318 319 LOCAL_LDFLAGS_Release := \ 320 -Wl,-z,now \ 321 -Wl,-z,relro \ 322 -Wl,-z,noexecstack \ 323 -fPIC \ 324 -EL \ 325 -Wl,--no-keep-memory \ 326 -nostdlib \ 327 -Wl,--no-undefined \ 328 -Wl,--exclude-libs=ALL \ 329 -Wl,-O1 \ 330 -Wl,--as-needed \ 331 -Wl,--gc-sections \ 332 -Wl,--fatal-warnings \ 333 -Wl,--warn-shared-textrel 334 335 336 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 337 338 LOCAL_STATIC_LIBRARIES := \ 339 gpu_disk_cache_proto_gyp \ 340 ui_gl_gl_gyp \ 341 ui_ui_gyp 342 343 # Enable grouping to fix circular references 344 LOCAL_GROUP_STATIC_LIBRARIES := true 345 346 LOCAL_SHARED_LIBRARIES := \ 347 libskia \ 348 libstlport \ 349 libdl 350 351 # Add target alias to "gyp_all_modules" target. 352 .PHONY: gyp_all_modules 353 gyp_all_modules: gpu_command_buffer_service_gyp 354 355 # Alias gyp target name. 356 .PHONY: command_buffer_service 357 command_buffer_service: gpu_command_buffer_service_gyp 358 359 include $(BUILD_STATIC_LIBRARY) 360