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 -fstack-protector \ 56 --param=ssp-buffer-size=4 \ 57 -Werror \ 58 -fno-strict-aliasing \ 59 -Wall \ 60 -Wno-unused-parameter \ 61 -Wno-missing-field-initializers \ 62 -fvisibility=hidden \ 63 -pipe \ 64 -fPIC \ 65 -Wno-unused-local-typedefs \ 66 -m64 \ 67 -march=x86-64 \ 68 -ffunction-sections \ 69 -funwind-tables \ 70 -g \ 71 -fstack-protector \ 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 -Os \ 81 -g \ 82 -gdwarf-4 \ 83 -fdata-sections \ 84 -ffunction-sections \ 85 -fomit-frame-pointer \ 86 -funwind-tables 87 88 MY_DEFS_Debug := \ 89 '-DV8_DEPRECATION_WARNINGS' \ 90 '-D_FILE_OFFSET_BITS=64' \ 91 '-DNO_TCMALLOC' \ 92 '-DDISABLE_NACL' \ 93 '-DCHROMIUM_BUILD' \ 94 '-DUSE_LIBJPEG_TURBO=1' \ 95 '-DENABLE_WEBRTC=1' \ 96 '-DUSE_PROPRIETARY_CODECS' \ 97 '-DENABLE_BROWSER_CDMS' \ 98 '-DENABLE_CONFIGURATION_POLICY' \ 99 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 100 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 101 '-DENABLE_EGLIMAGE=1' \ 102 '-DCLD_VERSION=1' \ 103 '-DENABLE_PRINTING=1' \ 104 '-DENABLE_MANAGED_USERS=1' \ 105 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 106 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 107 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 108 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 109 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 110 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 111 '-DVIDEO_HOLE=1' \ 112 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 113 '-DPROTOBUF_USE_DLLS' \ 114 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 115 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 116 '-DUSE_OPENSSL=1' \ 117 '-DUSE_OPENSSL_CERTS=1' \ 118 '-D__STDC_CONSTANT_MACROS' \ 119 '-D__STDC_FORMAT_MACROS' \ 120 '-DANDROID' \ 121 '-D__GNU_SOURCE=1' \ 122 '-DUSE_STLPORT=1' \ 123 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 124 '-DCHROME_BUILD_ID=""' \ 125 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 126 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 127 '-D_DEBUG' 128 129 130 # Include paths placed before CFLAGS/CPPFLAGS 131 LOCAL_C_INCLUDES_Debug := \ 132 $(gyp_shared_intermediate_dir) \ 133 $(gyp_shared_intermediate_dir)/protoc_out \ 134 $(LOCAL_PATH) \ 135 $(LOCAL_PATH)/third_party/protobuf \ 136 $(LOCAL_PATH)/third_party/protobuf/src \ 137 $(PWD)/frameworks/wilhelm/include \ 138 $(PWD)/bionic \ 139 $(PWD)/external/stlport/stlport 140 141 142 # Flags passed to only C++ (and not C) files. 143 LOCAL_CPPFLAGS_Debug := \ 144 -fno-exceptions \ 145 -fno-rtti \ 146 -fno-threadsafe-statics \ 147 -fvisibility-inlines-hidden \ 148 -Wsign-compare \ 149 -std=gnu++11 \ 150 -Wno-narrowing \ 151 -Wno-literal-suffix \ 152 -Wno-non-virtual-dtor \ 153 -Wno-sign-promo 154 155 156 # Flags passed to both C and C++ files. 157 MY_CFLAGS_Release := \ 158 -fstack-protector \ 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 -m64 \ 170 -march=x86-64 \ 171 -ffunction-sections \ 172 -funwind-tables \ 173 -g \ 174 -fstack-protector \ 175 -fno-short-enums \ 176 -finline-limit=64 \ 177 -Wa,--noexecstack \ 178 -U_FORTIFY_SOURCE \ 179 -Wno-extra \ 180 -Wno-ignored-qualifiers \ 181 -Wno-type-limits \ 182 -Wno-unused-but-set-variable \ 183 -Os \ 184 -fno-ident \ 185 -fdata-sections \ 186 -ffunction-sections \ 187 -fomit-frame-pointer \ 188 -funwind-tables 189 190 MY_DEFS_Release := \ 191 '-DV8_DEPRECATION_WARNINGS' \ 192 '-D_FILE_OFFSET_BITS=64' \ 193 '-DNO_TCMALLOC' \ 194 '-DDISABLE_NACL' \ 195 '-DCHROMIUM_BUILD' \ 196 '-DUSE_LIBJPEG_TURBO=1' \ 197 '-DENABLE_WEBRTC=1' \ 198 '-DUSE_PROPRIETARY_CODECS' \ 199 '-DENABLE_BROWSER_CDMS' \ 200 '-DENABLE_CONFIGURATION_POLICY' \ 201 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 202 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 203 '-DENABLE_EGLIMAGE=1' \ 204 '-DCLD_VERSION=1' \ 205 '-DENABLE_PRINTING=1' \ 206 '-DENABLE_MANAGED_USERS=1' \ 207 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 208 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 209 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 210 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 211 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 212 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 213 '-DVIDEO_HOLE=1' \ 214 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 215 '-DPROTOBUF_USE_DLLS' \ 216 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 217 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 218 '-DUSE_OPENSSL=1' \ 219 '-DUSE_OPENSSL_CERTS=1' \ 220 '-D__STDC_CONSTANT_MACROS' \ 221 '-D__STDC_FORMAT_MACROS' \ 222 '-DANDROID' \ 223 '-D__GNU_SOURCE=1' \ 224 '-DUSE_STLPORT=1' \ 225 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 226 '-DCHROME_BUILD_ID=""' \ 227 '-DNDEBUG' \ 228 '-DNVALGRIND' \ 229 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 230 '-D_FORTIFY_SOURCE=2' 231 232 233 # Include paths placed before CFLAGS/CPPFLAGS 234 LOCAL_C_INCLUDES_Release := \ 235 $(gyp_shared_intermediate_dir) \ 236 $(gyp_shared_intermediate_dir)/protoc_out \ 237 $(LOCAL_PATH) \ 238 $(LOCAL_PATH)/third_party/protobuf \ 239 $(LOCAL_PATH)/third_party/protobuf/src \ 240 $(PWD)/frameworks/wilhelm/include \ 241 $(PWD)/bionic \ 242 $(PWD)/external/stlport/stlport 243 244 245 # Flags passed to only C++ (and not C) files. 246 LOCAL_CPPFLAGS_Release := \ 247 -fno-exceptions \ 248 -fno-rtti \ 249 -fno-threadsafe-statics \ 250 -fvisibility-inlines-hidden \ 251 -Wsign-compare \ 252 -std=gnu++11 \ 253 -Wno-narrowing \ 254 -Wno-literal-suffix \ 255 -Wno-non-virtual-dtor \ 256 -Wno-sign-promo 257 258 259 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 260 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 261 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 262 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 263 ### Rules for final target. 264 265 LOCAL_SHARED_LIBRARIES := \ 266 libstlport \ 267 libdl 268 269 # Add target alias to "gyp_all_modules" target. 270 .PHONY: gyp_all_modules 271 gyp_all_modules: gpu_disk_cache_proto_gyp 272 273 # Alias gyp target name. 274 .PHONY: disk_cache_proto 275 disk_cache_proto: gpu_disk_cache_proto_gyp 276 277 include $(BUILD_STATIC_LIBRARY) 278