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