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