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