1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := STATIC_LIBRARIES
6LOCAL_MODULE := components_autofill_content_risk_proto_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
11
12# Make sure our deps are built first.
13GYP_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'], 'process_outputs_as_sources': '1', '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)'}":
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_var_prefix := $(GYP_VAR_PREFIX)
21$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
22$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
23$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
24$(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)
25	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"
26
27$(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 ;
28$(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 ;
29
30
31GYP_GENERATED_OUTPUTS := \
32	$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py \
33	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc \
34	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h
35
36# Make sure our deps and generated files are built first.
37LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
38
39LOCAL_CPP_EXTENSION := .cc
40$(gyp_intermediate_dir)/fingerprint.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc
41	mkdir -p $(@D); cp $< $@
42LOCAL_GENERATED_SOURCES := \
43	$(gyp_intermediate_dir)/fingerprint.pb.cc \
44	$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py \
45	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h
46
47GYP_COPIED_SOURCE_ORIGIN_DIRS := \
48	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto
49
50LOCAL_SRC_FILES :=
51
52
53# Flags passed to both C and C++ files.
54MY_CFLAGS_Debug := \
55	--param=ssp-buffer-size=4 \
56	-Werror \
57	-fno-strict-aliasing \
58	-Wall \
59	-Wno-unused-parameter \
60	-Wno-missing-field-initializers \
61	-fvisibility=hidden \
62	-pipe \
63	-fPIC \
64	-Wno-unused-local-typedefs \
65	-ffunction-sections \
66	-funwind-tables \
67	-g \
68	-fno-short-enums \
69	-finline-limit=64 \
70	-Wa,--noexecstack \
71	-U_FORTIFY_SOURCE \
72	-Wno-extra \
73	-Wno-ignored-qualifiers \
74	-Wno-type-limits \
75	-Wno-unused-but-set-variable \
76	-Os \
77	-g \
78	-gdwarf-4 \
79	-fdata-sections \
80	-ffunction-sections \
81	-funwind-tables
82
83MY_DEFS_Debug := \
84	'-DV8_DEPRECATION_WARNINGS' \
85	'-D_FILE_OFFSET_BITS=64' \
86	'-DNO_TCMALLOC' \
87	'-DDISABLE_NACL' \
88	'-DCHROMIUM_BUILD' \
89	'-DUSE_LIBJPEG_TURBO=1' \
90	'-DENABLE_WEBRTC=1' \
91	'-DUSE_PROPRIETARY_CODECS' \
92	'-DENABLE_BROWSER_CDMS' \
93	'-DENABLE_CONFIGURATION_POLICY' \
94	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
95	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
96	'-DENABLE_EGLIMAGE=1' \
97	'-DCLD_VERSION=1' \
98	'-DENABLE_PRINTING=1' \
99	'-DENABLE_MANAGED_USERS=1' \
100	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
101	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
102	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
103	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
104	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
105	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
106	'-DVIDEO_HOLE=1' \
107	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
108	'-DPROTOBUF_USE_DLLS' \
109	'-DGOOGLE_PROTOBUF_NO_RTTI' \
110	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
111	'-DUSE_OPENSSL=1' \
112	'-DUSE_OPENSSL_CERTS=1' \
113	'-D__STDC_CONSTANT_MACROS' \
114	'-D__STDC_FORMAT_MACROS' \
115	'-DANDROID' \
116	'-D__GNU_SOURCE=1' \
117	'-DUSE_STLPORT=1' \
118	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
119	'-DCHROME_BUILD_ID=""' \
120	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
121	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
122	'-D_DEBUG'
123
124
125# Include paths placed before CFLAGS/CPPFLAGS
126LOCAL_C_INCLUDES_Debug := \
127	$(gyp_shared_intermediate_dir) \
128	$(gyp_shared_intermediate_dir)/protoc_out \
129	$(LOCAL_PATH) \
130	$(LOCAL_PATH)/third_party/protobuf \
131	$(LOCAL_PATH)/third_party/protobuf/src \
132	$(PWD)/frameworks/wilhelm/include \
133	$(PWD)/bionic \
134	$(PWD)/external/stlport/stlport
135
136
137# Flags passed to only C++ (and not C) files.
138LOCAL_CPPFLAGS_Debug := \
139	-fno-exceptions \
140	-fno-rtti \
141	-fno-threadsafe-statics \
142	-fvisibility-inlines-hidden \
143	-Wsign-compare \
144	-std=gnu++11 \
145	-Wno-narrowing \
146	-Wno-literal-suffix \
147	-Wno-non-virtual-dtor \
148	-Wno-sign-promo
149
150
151# Flags passed to both C and C++ files.
152MY_CFLAGS_Release := \
153	--param=ssp-buffer-size=4 \
154	-Werror \
155	-fno-strict-aliasing \
156	-Wall \
157	-Wno-unused-parameter \
158	-Wno-missing-field-initializers \
159	-fvisibility=hidden \
160	-pipe \
161	-fPIC \
162	-Wno-unused-local-typedefs \
163	-ffunction-sections \
164	-funwind-tables \
165	-g \
166	-fno-short-enums \
167	-finline-limit=64 \
168	-Wa,--noexecstack \
169	-U_FORTIFY_SOURCE \
170	-Wno-extra \
171	-Wno-ignored-qualifiers \
172	-Wno-type-limits \
173	-Wno-unused-but-set-variable \
174	-Os \
175	-fno-ident \
176	-fdata-sections \
177	-ffunction-sections \
178	-funwind-tables
179
180MY_DEFS_Release := \
181	'-DV8_DEPRECATION_WARNINGS' \
182	'-D_FILE_OFFSET_BITS=64' \
183	'-DNO_TCMALLOC' \
184	'-DDISABLE_NACL' \
185	'-DCHROMIUM_BUILD' \
186	'-DUSE_LIBJPEG_TURBO=1' \
187	'-DENABLE_WEBRTC=1' \
188	'-DUSE_PROPRIETARY_CODECS' \
189	'-DENABLE_BROWSER_CDMS' \
190	'-DENABLE_CONFIGURATION_POLICY' \
191	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
192	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
193	'-DENABLE_EGLIMAGE=1' \
194	'-DCLD_VERSION=1' \
195	'-DENABLE_PRINTING=1' \
196	'-DENABLE_MANAGED_USERS=1' \
197	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
198	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
199	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
200	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
201	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
202	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
203	'-DVIDEO_HOLE=1' \
204	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
205	'-DPROTOBUF_USE_DLLS' \
206	'-DGOOGLE_PROTOBUF_NO_RTTI' \
207	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
208	'-DUSE_OPENSSL=1' \
209	'-DUSE_OPENSSL_CERTS=1' \
210	'-D__STDC_CONSTANT_MACROS' \
211	'-D__STDC_FORMAT_MACROS' \
212	'-DANDROID' \
213	'-D__GNU_SOURCE=1' \
214	'-DUSE_STLPORT=1' \
215	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
216	'-DCHROME_BUILD_ID=""' \
217	'-DNDEBUG' \
218	'-DNVALGRIND' \
219	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
220	'-D_FORTIFY_SOURCE=2'
221
222
223# Include paths placed before CFLAGS/CPPFLAGS
224LOCAL_C_INCLUDES_Release := \
225	$(gyp_shared_intermediate_dir) \
226	$(gyp_shared_intermediate_dir)/protoc_out \
227	$(LOCAL_PATH) \
228	$(LOCAL_PATH)/third_party/protobuf \
229	$(LOCAL_PATH)/third_party/protobuf/src \
230	$(PWD)/frameworks/wilhelm/include \
231	$(PWD)/bionic \
232	$(PWD)/external/stlport/stlport
233
234
235# Flags passed to only C++ (and not C) files.
236LOCAL_CPPFLAGS_Release := \
237	-fno-exceptions \
238	-fno-rtti \
239	-fno-threadsafe-statics \
240	-fvisibility-inlines-hidden \
241	-Wsign-compare \
242	-std=gnu++11 \
243	-Wno-narrowing \
244	-Wno-literal-suffix \
245	-Wno-non-virtual-dtor \
246	-Wno-sign-promo
247
248
249LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
250LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
251LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
252LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
253### Rules for final target.
254
255LOCAL_SHARED_LIBRARIES := \
256	libstlport \
257	libdl
258
259# Add target alias to "gyp_all_modules" target.
260.PHONY: gyp_all_modules
261gyp_all_modules: components_autofill_content_risk_proto_gyp
262
263# Alias gyp target name.
264.PHONY: autofill_content_risk_proto
265autofill_content_risk_proto: components_autofill_content_risk_proto_gyp
266
267include $(BUILD_STATIC_LIBRARY)
268