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 := components_autofill_content_risk_proto_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 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 "components_components_gyp_autofill_content_risk_proto_target_genproto": 18 # "{'inputs': ['../tools/protoc_wrapper/protoc_wrapper.py', '$(gyp_shared_intermediate_dir)/protoc'], 'msvs_cygwin_shell': '0', 'extension': 'proto', 'outputs': ['$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/%(INPUT_ROOT)s_pb2.py', '$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/%(INPUT_ROOT)s.pb.cc', '$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/%(INPUT_ROOT)s.pb.h'], 'rule_name': 'genproto', 'rule_sources': ['autofill/content/browser/risk/proto/fingerprint.proto'], 'action': ['python', '../tools/protoc_wrapper/protoc_wrapper.py', '--include', '', '--protobuf', '$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/%(INPUT_ROOT)s.pb.h', '--proto-in-dir', 'autofill/content/browser/risk/proto', '--proto-in-file', '%(INPUT_ROOT)s$(suffix $<)', '--use-system-protobuf=0', '--', '$(gyp_shared_intermediate_dir)/protoc', '--cpp_out', '$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto', '--python_out', '$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto'], 'message': 'Generating C++ and Python code from $(RULE_SOURCES)', 'process_outputs_as_sources': '1'}": 19 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_local_path := $(LOCAL_PATH) 20 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir)) 21 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir)) 22 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH)) 23 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: $(LOCAL_PATH)/components/autofill/content/browser/risk/proto/fingerprint.proto $(LOCAL_PATH)/tools/protoc_wrapper/protoc_wrapper.py $(gyp_shared_intermediate_dir)/protoc $(GYP_TARGET_DEPENDENCIES) 24 mkdir -p $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto; cd $(gyp_local_path)/components; python ../tools/protoc_wrapper/protoc_wrapper.py --include "" --protobuf "$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h" --proto-in-dir autofill/content/browser/risk/proto --proto-in-file "fingerprint$(suffix $<)" "--use-system-protobuf=0" -- "$(gyp_shared_intermediate_dir)/protoc" --cpp_out "$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto" --python_out "$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto" 25 26 $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc: $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py ; 27 $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h: $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py ; 28 .PHONY: components_autofill_content_risk_proto_gyp_rule_trigger 29 components_autofill_content_risk_proto_gyp_rule_trigger: $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py 30 31 ### Finished generating for all rules 32 33 GYP_GENERATED_OUTPUTS := \ 34 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py \ 35 $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc \ 36 $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h 37 38 # Make sure our deps and generated files are built first. 39 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 40 41 LOCAL_CPP_EXTENSION := .cc 42 $(gyp_intermediate_dir)/fingerprint.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc 43 mkdir -p $(@D); cp $< $@ 44 LOCAL_GENERATED_SOURCES := \ 45 $(gyp_intermediate_dir)/fingerprint.pb.cc \ 46 $(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py \ 47 $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h \ 48 components_autofill_content_risk_proto_gyp_rule_trigger 49 50 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 51 $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto 52 53 LOCAL_SRC_FILES := 54 55 56 # Flags passed to both C and C++ files. 57 MY_CFLAGS_Debug := \ 58 -fstack-protector \ 59 --param=ssp-buffer-size=4 \ 60 \ 61 -fno-exceptions \ 62 -fno-strict-aliasing \ 63 -Wall \ 64 -Wno-unused-parameter \ 65 -Wno-missing-field-initializers \ 66 -fvisibility=hidden \ 67 -pipe \ 68 -fPIC \ 69 -EL \ 70 -mhard-float \ 71 -ffunction-sections \ 72 -funwind-tables \ 73 -g \ 74 -fstack-protector \ 75 -fno-short-enums \ 76 -finline-limit=64 \ 77 -Wa,--noexecstack \ 78 -U_FORTIFY_SOURCE \ 79 -Wno-extra \ 80 -Wno-ignored-qualifiers \ 81 -Wno-type-limits \ 82 -Os \ 83 -g \ 84 -fomit-frame-pointer \ 85 -fdata-sections \ 86 -ffunction-sections 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 '-DUSE_PROPRIETARY_CODECS' \ 96 '-DENABLE_CONFIGURATION_POLICY' \ 97 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 98 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 99 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 100 '-DUSE_OPENSSL=1' \ 101 '-DENABLE_EGLIMAGE=1' \ 102 '-DCLD_VERSION=1' \ 103 '-DENABLE_PRINTING=1' \ 104 '-DENABLE_MANAGED_USERS=1' \ 105 '-DPROTOBUF_USE_DLLS' \ 106 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 107 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 108 '-D__STDC_CONSTANT_MACROS' \ 109 '-D__STDC_FORMAT_MACROS' \ 110 '-DANDROID' \ 111 '-D__GNU_SOURCE=1' \ 112 '-DUSE_STLPORT=1' \ 113 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 114 '-DCHROME_BUILD_ID=""' \ 115 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 116 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 117 '-D_DEBUG' 118 119 120 # Include paths placed before CFLAGS/CPPFLAGS 121 LOCAL_C_INCLUDES_Debug := \ 122 $(gyp_shared_intermediate_dir)/protoc_out \ 123 $(LOCAL_PATH) \ 124 $(LOCAL_PATH)/third_party/protobuf \ 125 $(LOCAL_PATH)/third_party/protobuf/src \ 126 $(PWD)/frameworks/wilhelm/include \ 127 $(PWD)/bionic \ 128 $(PWD)/external/stlport/stlport 129 130 131 # Flags passed to only C++ (and not C) files. 132 LOCAL_CPPFLAGS_Debug := \ 133 -fno-rtti \ 134 -fno-threadsafe-statics \ 135 -fvisibility-inlines-hidden \ 136 -Wsign-compare \ 137 -Wno-uninitialized \ 138 -Wno-error=c++0x-compat \ 139 -Wno-non-virtual-dtor \ 140 -Wno-sign-promo 141 142 143 # Flags passed to both C and C++ files. 144 MY_CFLAGS_Release := \ 145 -fstack-protector \ 146 --param=ssp-buffer-size=4 \ 147 \ 148 -fno-exceptions \ 149 -fno-strict-aliasing \ 150 -Wall \ 151 -Wno-unused-parameter \ 152 -Wno-missing-field-initializers \ 153 -fvisibility=hidden \ 154 -pipe \ 155 -fPIC \ 156 -EL \ 157 -mhard-float \ 158 -ffunction-sections \ 159 -funwind-tables \ 160 -g \ 161 -fstack-protector \ 162 -fno-short-enums \ 163 -finline-limit=64 \ 164 -Wa,--noexecstack \ 165 -U_FORTIFY_SOURCE \ 166 -Wno-extra \ 167 -Wno-ignored-qualifiers \ 168 -Wno-type-limits \ 169 -Os \ 170 -fno-ident \ 171 -fdata-sections \ 172 -ffunction-sections \ 173 -fomit-frame-pointer 174 175 MY_DEFS_Release := \ 176 '-DV8_DEPRECATION_WARNINGS' \ 177 '-D_FILE_OFFSET_BITS=64' \ 178 '-DNO_TCMALLOC' \ 179 '-DDISABLE_NACL' \ 180 '-DCHROMIUM_BUILD' \ 181 '-DUSE_LIBJPEG_TURBO=1' \ 182 '-DUSE_PROPRIETARY_CODECS' \ 183 '-DENABLE_CONFIGURATION_POLICY' \ 184 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 185 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 186 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 187 '-DUSE_OPENSSL=1' \ 188 '-DENABLE_EGLIMAGE=1' \ 189 '-DCLD_VERSION=1' \ 190 '-DENABLE_PRINTING=1' \ 191 '-DENABLE_MANAGED_USERS=1' \ 192 '-DPROTOBUF_USE_DLLS' \ 193 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 194 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 195 '-D__STDC_CONSTANT_MACROS' \ 196 '-D__STDC_FORMAT_MACROS' \ 197 '-DANDROID' \ 198 '-D__GNU_SOURCE=1' \ 199 '-DUSE_STLPORT=1' \ 200 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 201 '-DCHROME_BUILD_ID=""' \ 202 '-DNDEBUG' \ 203 '-DNVALGRIND' \ 204 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 205 '-D_FORTIFY_SOURCE=2' 206 207 208 # Include paths placed before CFLAGS/CPPFLAGS 209 LOCAL_C_INCLUDES_Release := \ 210 $(gyp_shared_intermediate_dir)/protoc_out \ 211 $(LOCAL_PATH) \ 212 $(LOCAL_PATH)/third_party/protobuf \ 213 $(LOCAL_PATH)/third_party/protobuf/src \ 214 $(PWD)/frameworks/wilhelm/include \ 215 $(PWD)/bionic \ 216 $(PWD)/external/stlport/stlport 217 218 219 # Flags passed to only C++ (and not C) files. 220 LOCAL_CPPFLAGS_Release := \ 221 -fno-rtti \ 222 -fno-threadsafe-statics \ 223 -fvisibility-inlines-hidden \ 224 -Wsign-compare \ 225 -Wno-uninitialized \ 226 -Wno-error=c++0x-compat \ 227 -Wno-non-virtual-dtor \ 228 -Wno-sign-promo 229 230 231 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 232 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 233 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 234 ### Rules for final target. 235 236 LOCAL_LDFLAGS_Debug := \ 237 -Wl,-z,now \ 238 -Wl,-z,relro \ 239 -Wl,-z,noexecstack \ 240 -fPIC \ 241 -EL \ 242 -Wl,--no-keep-memory \ 243 -nostdlib \ 244 -Wl,--no-undefined \ 245 -Wl,--exclude-libs=ALL \ 246 -Wl,--fatal-warnings \ 247 -Wl,--gc-sections \ 248 -Wl,--warn-shared-textrel \ 249 -Wl,-O1 \ 250 -Wl,--as-needed 251 252 253 LOCAL_LDFLAGS_Release := \ 254 -Wl,-z,now \ 255 -Wl,-z,relro \ 256 -Wl,-z,noexecstack \ 257 -fPIC \ 258 -EL \ 259 -Wl,--no-keep-memory \ 260 -nostdlib \ 261 -Wl,--no-undefined \ 262 -Wl,--exclude-libs=ALL \ 263 -Wl,-O1 \ 264 -Wl,--as-needed \ 265 -Wl,--gc-sections \ 266 -Wl,--fatal-warnings \ 267 -Wl,--warn-shared-textrel 268 269 270 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 271 272 LOCAL_STATIC_LIBRARIES := 273 274 # Enable grouping to fix circular references 275 LOCAL_GROUP_STATIC_LIBRARIES := true 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: components_autofill_content_risk_proto_gyp 284 285 # Alias gyp target name. 286 .PHONY: autofill_content_risk_proto 287 autofill_content_risk_proto: components_autofill_content_risk_proto_gyp 288 289 include $(BUILD_STATIC_LIBRARY) 290