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_disk_cache_proto_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 $(gyp_shared_intermediate_dir)/protoc 15 16 17 ### Generated for rule "gpu_gpu_gyp_disk_cache_proto_target_genproto": 18 # "{'inputs': ['../tools/protoc_wrapper/protoc_wrapper.py', '$(gyp_shared_intermediate_dir)/protoc'], 'msvs_cygwin_shell': '0', 'extension': 'proto', 'outputs': ['$(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/%(INPUT_ROOT)s_pb2.py', '$(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/%(INPUT_ROOT)s.pb.cc', '$(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/%(INPUT_ROOT)s.pb.h'], 'rule_name': 'genproto', 'rule_sources': ['command_buffer/service/disk_cache_proto.proto'], 'action': ['python', '../tools/protoc_wrapper/protoc_wrapper.py', '--include', '', '--protobuf', '$(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/%(INPUT_ROOT)s.pb.h', '--proto-in-dir', 'command_buffer/service', '--proto-in-file', '%(INPUT_ROOT)s$(suffix $<)', '--use-system-protobuf=0', '--', '$(gyp_shared_intermediate_dir)/protoc', '--cpp_out', '$(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service', '--python_out', '$(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service'], 'message': 'Generating C++ and Python code from $(RULE_SOURCES)', 'process_outputs_as_sources': '1'}": 19 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: $(LOCAL_PATH)/gpu/command_buffer/service/disk_cache_proto.proto $(LOCAL_PATH)/tools/protoc_wrapper/protoc_wrapper.py $(gyp_shared_intermediate_dir)/protoc $(GYP_TARGET_DEPENDENCIES) 24 mkdir -p $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service; cd $(gyp_local_path)/gpu; python ../tools/protoc_wrapper/protoc_wrapper.py --include "" --protobuf "$(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.h" --proto-in-dir command_buffer/service --proto-in-file "disk_cache_proto$(suffix $<)" "--use-system-protobuf=0" -- "$(gyp_shared_intermediate_dir)/protoc" --cpp_out "$(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service" --python_out "$(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service" 25 26 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.cc: $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py ; 27 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.h: $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py ; 28 .PHONY: gpu_disk_cache_proto_gyp_rule_trigger 29 gpu_disk_cache_proto_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py 30 31 ### Finished generating for all rules 32 33 GYP_GENERATED_OUTPUTS := \ 34 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py \ 35 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.cc \ 36 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.h 37 38 # Make sure our deps and generated files are built first. 39 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 40 41 LOCAL_CPP_EXTENSION := .cc 42 $(gyp_intermediate_dir)/disk_cache_proto.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.cc 43 mkdir -p $(@D); cp $< $@ 44 LOCAL_GENERATED_SOURCES := \ 45 $(gyp_intermediate_dir)/disk_cache_proto.pb.cc \ 46 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py \ 47 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.h \ 48 gpu_disk_cache_proto_gyp_rule_trigger 49 50 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 51 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service 52 53 LOCAL_SRC_FILES := 54 55 56 # Flags passed to both C and C++ files. 57 MY_CFLAGS_Debug := \ 58 --param=ssp-buffer-size=4 \ 59 -Werror \ 60 -fno-exceptions \ 61 -fno-strict-aliasing \ 62 -Wall \ 63 -Wno-unused-parameter \ 64 -Wno-missing-field-initializers \ 65 -fvisibility=hidden \ 66 -pipe \ 67 -fPIC \ 68 -m32 \ 69 -mmmx \ 70 -march=pentium4 \ 71 -msse2 \ 72 -mfpmath=sse \ 73 -fuse-ld=gold \ 74 -ffunction-sections \ 75 -funwind-tables \ 76 -g \ 77 -fno-short-enums \ 78 -finline-limit=64 \ 79 -Wa,--noexecstack \ 80 -U_FORTIFY_SOURCE \ 81 -Wno-extra \ 82 -Wno-ignored-qualifiers \ 83 -Wno-type-limits \ 84 -fno-stack-protector \ 85 -Os \ 86 -g \ 87 -fomit-frame-pointer \ 88 -fdata-sections \ 89 -ffunction-sections 90 91 MY_DEFS_Debug := \ 92 '-DV8_DEPRECATION_WARNINGS' \ 93 '-D_FILE_OFFSET_BITS=64' \ 94 '-DNO_TCMALLOC' \ 95 '-DDISABLE_NACL' \ 96 '-DCHROMIUM_BUILD' \ 97 '-DUSE_LIBJPEG_TURBO=1' \ 98 '-DUSE_PROPRIETARY_CODECS' \ 99 '-DENABLE_CONFIGURATION_POLICY' \ 100 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 101 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 102 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 103 '-DUSE_OPENSSL=1' \ 104 '-DENABLE_EGLIMAGE=1' \ 105 '-DCLD_VERSION=1' \ 106 '-DENABLE_PRINTING=1' \ 107 '-DENABLE_MANAGED_USERS=1' \ 108 '-DPROTOBUF_USE_DLLS' \ 109 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 110 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 111 '-D__STDC_CONSTANT_MACROS' \ 112 '-D__STDC_FORMAT_MACROS' \ 113 '-DANDROID' \ 114 '-D__GNU_SOURCE=1' \ 115 '-DUSE_STLPORT=1' \ 116 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 117 '-DCHROME_BUILD_ID=""' \ 118 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 119 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 120 '-D_DEBUG' 121 122 123 # Include paths placed before CFLAGS/CPPFLAGS 124 LOCAL_C_INCLUDES_Debug := \ 125 $(gyp_shared_intermediate_dir)/protoc_out \ 126 $(LOCAL_PATH) \ 127 $(LOCAL_PATH)/third_party/protobuf \ 128 $(LOCAL_PATH)/third_party/protobuf/src \ 129 $(PWD)/frameworks/wilhelm/include \ 130 $(PWD)/bionic \ 131 $(PWD)/external/stlport/stlport 132 133 134 # Flags passed to only C++ (and not C) files. 135 LOCAL_CPPFLAGS_Debug := \ 136 -fno-rtti \ 137 -fno-threadsafe-statics \ 138 -fvisibility-inlines-hidden \ 139 -Wsign-compare \ 140 -Wno-error=c++0x-compat \ 141 -Wno-non-virtual-dtor \ 142 -Wno-sign-promo 143 144 145 # Flags passed to both C and C++ files. 146 MY_CFLAGS_Release := \ 147 --param=ssp-buffer-size=4 \ 148 -Werror \ 149 -fno-exceptions \ 150 -fno-strict-aliasing \ 151 -Wall \ 152 -Wno-unused-parameter \ 153 -Wno-missing-field-initializers \ 154 -fvisibility=hidden \ 155 -pipe \ 156 -fPIC \ 157 -m32 \ 158 -mmmx \ 159 -march=pentium4 \ 160 -msse2 \ 161 -mfpmath=sse \ 162 -fuse-ld=gold \ 163 -ffunction-sections \ 164 -funwind-tables \ 165 -g \ 166 -fno-short-enums \ 167 -finline-limit=64 \ 168 -Wa,--noexecstack \ 169 -U_FORTIFY_SOURCE \ 170 -Wno-extra \ 171 -Wno-ignored-qualifiers \ 172 -Wno-type-limits \ 173 -fno-stack-protector \ 174 -Os \ 175 -fno-ident \ 176 -fdata-sections \ 177 -ffunction-sections \ 178 -fomit-frame-pointer \ 179 -fno-unwind-tables \ 180 -fno-asynchronous-unwind-tables 181 182 MY_DEFS_Release := \ 183 '-DV8_DEPRECATION_WARNINGS' \ 184 '-D_FILE_OFFSET_BITS=64' \ 185 '-DNO_TCMALLOC' \ 186 '-DDISABLE_NACL' \ 187 '-DCHROMIUM_BUILD' \ 188 '-DUSE_LIBJPEG_TURBO=1' \ 189 '-DUSE_PROPRIETARY_CODECS' \ 190 '-DENABLE_CONFIGURATION_POLICY' \ 191 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 192 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 193 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 194 '-DUSE_OPENSSL=1' \ 195 '-DENABLE_EGLIMAGE=1' \ 196 '-DCLD_VERSION=1' \ 197 '-DENABLE_PRINTING=1' \ 198 '-DENABLE_MANAGED_USERS=1' \ 199 '-DPROTOBUF_USE_DLLS' \ 200 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 201 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 202 '-D__STDC_CONSTANT_MACROS' \ 203 '-D__STDC_FORMAT_MACROS' \ 204 '-DANDROID' \ 205 '-D__GNU_SOURCE=1' \ 206 '-DUSE_STLPORT=1' \ 207 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 208 '-DCHROME_BUILD_ID=""' \ 209 '-DNDEBUG' \ 210 '-DNVALGRIND' \ 211 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 212 '-D_FORTIFY_SOURCE=2' 213 214 215 # Include paths placed before CFLAGS/CPPFLAGS 216 LOCAL_C_INCLUDES_Release := \ 217 $(gyp_shared_intermediate_dir)/protoc_out \ 218 $(LOCAL_PATH) \ 219 $(LOCAL_PATH)/third_party/protobuf \ 220 $(LOCAL_PATH)/third_party/protobuf/src \ 221 $(PWD)/frameworks/wilhelm/include \ 222 $(PWD)/bionic \ 223 $(PWD)/external/stlport/stlport 224 225 226 # Flags passed to only C++ (and not C) files. 227 LOCAL_CPPFLAGS_Release := \ 228 -fno-rtti \ 229 -fno-threadsafe-statics \ 230 -fvisibility-inlines-hidden \ 231 -Wsign-compare \ 232 -Wno-error=c++0x-compat \ 233 -Wno-non-virtual-dtor \ 234 -Wno-sign-promo 235 236 237 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 238 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 239 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 240 ### Rules for final target. 241 242 LOCAL_LDFLAGS_Debug := \ 243 -Wl,-z,now \ 244 -Wl,-z,relro \ 245 -Wl,-z,noexecstack \ 246 -fPIC \ 247 -m32 \ 248 -fuse-ld=gold \ 249 -nostdlib \ 250 -Wl,--no-undefined \ 251 -Wl,--exclude-libs=ALL \ 252 -Wl,--fatal-warnings \ 253 -Wl,--gc-sections \ 254 -Wl,--warn-shared-textrel \ 255 -Wl,-O1 \ 256 -Wl,--as-needed 257 258 259 LOCAL_LDFLAGS_Release := \ 260 -Wl,-z,now \ 261 -Wl,-z,relro \ 262 -Wl,-z,noexecstack \ 263 -fPIC \ 264 -m32 \ 265 -fuse-ld=gold \ 266 -nostdlib \ 267 -Wl,--no-undefined \ 268 -Wl,--exclude-libs=ALL \ 269 -Wl,-O1 \ 270 -Wl,--as-needed \ 271 -Wl,--gc-sections \ 272 -Wl,--fatal-warnings \ 273 -Wl,--warn-shared-textrel 274 275 276 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 277 278 LOCAL_STATIC_LIBRARIES := 279 280 # Enable grouping to fix circular references 281 LOCAL_GROUP_STATIC_LIBRARIES := true 282 283 LOCAL_SHARED_LIBRARIES := \ 284 libstlport \ 285 libdl 286 287 # Add target alias to "gyp_all_modules" target. 288 .PHONY: gyp_all_modules 289 gyp_all_modules: gpu_disk_cache_proto_gyp 290 291 # Alias gyp target name. 292 .PHONY: disk_cache_proto 293 disk_cache_proto: gpu_disk_cache_proto_gyp 294 295 include $(BUILD_STATIC_LIBRARY) 296