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