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_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 $(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'], 'process_outputs_as_sources': '1', '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)'}": 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_var_prefix := $(GYP_VAR_PREFIX) 21 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 23 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 24 $(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) 25 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" 26 27 $(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 ; 28 $(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 ; 29 30 31 GYP_GENERATED_OUTPUTS := \ 32 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py \ 33 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.cc \ 34 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.h 35 36 # Make sure our deps and generated files are built first. 37 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 38 39 LOCAL_CPP_EXTENSION := .cc 40 $(gyp_intermediate_dir)/disk_cache_proto.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.cc 41 mkdir -p $(@D); cp $< $@ 42 LOCAL_GENERATED_SOURCES := \ 43 $(gyp_intermediate_dir)/disk_cache_proto.pb.cc \ 44 $(gyp_shared_intermediate_dir)/pyproto/gpu/command_buffer/service/disk_cache_proto_pb2.py \ 45 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service/disk_cache_proto.pb.h 46 47 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 48 $(gyp_shared_intermediate_dir)/protoc_out/gpu/command_buffer/service 49 50 LOCAL_SRC_FILES := 51 52 53 # Flags passed to both C and C++ files. 54 MY_CFLAGS_Debug := \ 55 --param=ssp-buffer-size=4 \ 56 -Werror \ 57 -fno-strict-aliasing \ 58 -Wall \ 59 -Wno-unused-parameter \ 60 -Wno-missing-field-initializers \ 61 -fvisibility=hidden \ 62 -pipe \ 63 -fPIC \ 64 -Wno-unused-local-typedefs \ 65 -msse2 \ 66 -mfpmath=sse \ 67 -mmmx \ 68 -m32 \ 69 -ffunction-sections \ 70 -funwind-tables \ 71 -g \ 72 -fno-short-enums \ 73 -finline-limit=64 \ 74 -Wa,--noexecstack \ 75 -U_FORTIFY_SOURCE \ 76 -Wno-extra \ 77 -Wno-ignored-qualifiers \ 78 -Wno-type-limits \ 79 -Wno-unused-but-set-variable \ 80 -fno-stack-protector \ 81 -Os \ 82 -g \ 83 -gdwarf-4 \ 84 -fdata-sections \ 85 -ffunction-sections \ 86 -fomit-frame-pointer \ 87 -funwind-tables 88 89 MY_DEFS_Debug := \ 90 '-DV8_DEPRECATION_WARNINGS' \ 91 '-D_FILE_OFFSET_BITS=64' \ 92 '-DNO_TCMALLOC' \ 93 '-DDISABLE_NACL' \ 94 '-DCHROMIUM_BUILD' \ 95 '-DUSE_LIBJPEG_TURBO=1' \ 96 '-DENABLE_WEBRTC=1' \ 97 '-DUSE_PROPRIETARY_CODECS' \ 98 '-DENABLE_BROWSER_CDMS' \ 99 '-DENABLE_CONFIGURATION_POLICY' \ 100 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 101 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 102 '-DENABLE_EGLIMAGE=1' \ 103 '-DCLD_VERSION=1' \ 104 '-DENABLE_PRINTING=1' \ 105 '-DENABLE_MANAGED_USERS=1' \ 106 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 107 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 108 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 109 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 110 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 111 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 112 '-DVIDEO_HOLE=1' \ 113 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 114 '-DPROTOBUF_USE_DLLS' \ 115 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 116 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 117 '-DUSE_OPENSSL=1' \ 118 '-DUSE_OPENSSL_CERTS=1' \ 119 '-D__STDC_CONSTANT_MACROS' \ 120 '-D__STDC_FORMAT_MACROS' \ 121 '-DANDROID' \ 122 '-D__GNU_SOURCE=1' \ 123 '-DUSE_STLPORT=1' \ 124 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 125 '-DCHROME_BUILD_ID=""' \ 126 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 127 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 128 '-D_DEBUG' 129 130 131 # Include paths placed before CFLAGS/CPPFLAGS 132 LOCAL_C_INCLUDES_Debug := \ 133 $(gyp_shared_intermediate_dir) \ 134 $(gyp_shared_intermediate_dir)/protoc_out \ 135 $(LOCAL_PATH) \ 136 $(LOCAL_PATH)/third_party/protobuf \ 137 $(LOCAL_PATH)/third_party/protobuf/src \ 138 $(PWD)/frameworks/wilhelm/include \ 139 $(PWD)/bionic \ 140 $(PWD)/external/stlport/stlport 141 142 143 # Flags passed to only C++ (and not C) files. 144 LOCAL_CPPFLAGS_Debug := \ 145 -fno-exceptions \ 146 -fno-rtti \ 147 -fno-threadsafe-statics \ 148 -fvisibility-inlines-hidden \ 149 -Wsign-compare \ 150 -std=gnu++11 \ 151 -Wno-narrowing \ 152 -Wno-literal-suffix \ 153 -Wno-non-virtual-dtor \ 154 -Wno-sign-promo 155 156 157 # Flags passed to both C and C++ files. 158 MY_CFLAGS_Release := \ 159 --param=ssp-buffer-size=4 \ 160 -Werror \ 161 -fno-strict-aliasing \ 162 -Wall \ 163 -Wno-unused-parameter \ 164 -Wno-missing-field-initializers \ 165 -fvisibility=hidden \ 166 -pipe \ 167 -fPIC \ 168 -Wno-unused-local-typedefs \ 169 -msse2 \ 170 -mfpmath=sse \ 171 -mmmx \ 172 -m32 \ 173 -ffunction-sections \ 174 -funwind-tables \ 175 -g \ 176 -fno-short-enums \ 177 -finline-limit=64 \ 178 -Wa,--noexecstack \ 179 -U_FORTIFY_SOURCE \ 180 -Wno-extra \ 181 -Wno-ignored-qualifiers \ 182 -Wno-type-limits \ 183 -Wno-unused-but-set-variable \ 184 -fno-stack-protector \ 185 -Os \ 186 -fno-ident \ 187 -fdata-sections \ 188 -ffunction-sections \ 189 -fomit-frame-pointer \ 190 -funwind-tables 191 192 MY_DEFS_Release := \ 193 '-DV8_DEPRECATION_WARNINGS' \ 194 '-D_FILE_OFFSET_BITS=64' \ 195 '-DNO_TCMALLOC' \ 196 '-DDISABLE_NACL' \ 197 '-DCHROMIUM_BUILD' \ 198 '-DUSE_LIBJPEG_TURBO=1' \ 199 '-DENABLE_WEBRTC=1' \ 200 '-DUSE_PROPRIETARY_CODECS' \ 201 '-DENABLE_BROWSER_CDMS' \ 202 '-DENABLE_CONFIGURATION_POLICY' \ 203 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 204 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 205 '-DENABLE_EGLIMAGE=1' \ 206 '-DCLD_VERSION=1' \ 207 '-DENABLE_PRINTING=1' \ 208 '-DENABLE_MANAGED_USERS=1' \ 209 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 210 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 211 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 212 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 213 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 214 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 215 '-DVIDEO_HOLE=1' \ 216 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 217 '-DPROTOBUF_USE_DLLS' \ 218 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 219 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 220 '-DUSE_OPENSSL=1' \ 221 '-DUSE_OPENSSL_CERTS=1' \ 222 '-D__STDC_CONSTANT_MACROS' \ 223 '-D__STDC_FORMAT_MACROS' \ 224 '-DANDROID' \ 225 '-D__GNU_SOURCE=1' \ 226 '-DUSE_STLPORT=1' \ 227 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 228 '-DCHROME_BUILD_ID=""' \ 229 '-DNDEBUG' \ 230 '-DNVALGRIND' \ 231 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 232 '-D_FORTIFY_SOURCE=2' 233 234 235 # Include paths placed before CFLAGS/CPPFLAGS 236 LOCAL_C_INCLUDES_Release := \ 237 $(gyp_shared_intermediate_dir) \ 238 $(gyp_shared_intermediate_dir)/protoc_out \ 239 $(LOCAL_PATH) \ 240 $(LOCAL_PATH)/third_party/protobuf \ 241 $(LOCAL_PATH)/third_party/protobuf/src \ 242 $(PWD)/frameworks/wilhelm/include \ 243 $(PWD)/bionic \ 244 $(PWD)/external/stlport/stlport 245 246 247 # Flags passed to only C++ (and not C) files. 248 LOCAL_CPPFLAGS_Release := \ 249 -fno-exceptions \ 250 -fno-rtti \ 251 -fno-threadsafe-statics \ 252 -fvisibility-inlines-hidden \ 253 -Wsign-compare \ 254 -std=gnu++11 \ 255 -Wno-narrowing \ 256 -Wno-literal-suffix \ 257 -Wno-non-virtual-dtor \ 258 -Wno-sign-promo 259 260 261 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 262 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 263 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 264 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 265 ### Rules for final target. 266 267 LOCAL_SHARED_LIBRARIES := \ 268 libstlport \ 269 libdl 270 271 # Add target alias to "gyp_all_modules" target. 272 .PHONY: gyp_all_modules 273 gyp_all_modules: gpu_disk_cache_proto_gyp 274 275 # Alias gyp target name. 276 .PHONY: disk_cache_proto 277 disk_cache_proto: gpu_disk_cache_proto_gyp 278 279 include $(BUILD_STATIC_LIBRARY) 280