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