• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_TAGS := optional
9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
12
13# Make sure our deps are built first.
14GYP_TARGET_DEPENDENCIES := \
15	$(gyp_shared_intermediate_dir)/protoc
16
17
18### Generated for rule "components_components_gyp_autofill_content_risk_proto_target_genproto":
19# "{'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)'}":
20$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_local_path := $(LOCAL_PATH)
21$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_var_prefix := $(GYP_VAR_PREFIX)
22$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_intermediate_dir := $(abspath $(gyp_intermediate_dir))
23$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: gyp_shared_intermediate_dir := $(abspath $(gyp_shared_intermediate_dir))
24$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py: export PATH := $(subst $(ANDROID_BUILD_PATHS),,$(PATH))
25$(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)
26	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"
27
28$(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 ;
29$(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 ;
30
31
32GYP_GENERATED_OUTPUTS := \
33	$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py \
34	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc \
35	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h
36
37# Make sure our deps and generated files are built first.
38LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
39
40LOCAL_CPP_EXTENSION := .cc
41$(gyp_intermediate_dir)/fingerprint.pb.cc: $(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.cc
42	mkdir -p $(@D); cp $< $@
43LOCAL_GENERATED_SOURCES := \
44	$(gyp_intermediate_dir)/fingerprint.pb.cc \
45	$(gyp_shared_intermediate_dir)/pyproto/components/autofill/content/browser/risk/proto/fingerprint_pb2.py \
46	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto/fingerprint.pb.h
47
48GYP_COPIED_SOURCE_ORIGIN_DIRS := \
49	$(gyp_shared_intermediate_dir)/protoc_out/components/autofill/content/browser/risk/proto
50
51LOCAL_SRC_FILES :=
52
53
54# Flags passed to both C and C++ files.
55MY_CFLAGS_Debug := \
56	-fstack-protector \
57	--param=ssp-buffer-size=4 \
58	-Werror \
59	-fno-exceptions \
60	-fno-strict-aliasing \
61	-Wall \
62	-Wno-unused-parameter \
63	-Wno-missing-field-initializers \
64	-fvisibility=hidden \
65	-pipe \
66	-fPIC \
67	-Wno-unused-local-typedefs \
68	-fno-tree-sra \
69	-fno-partial-inlining \
70	-fno-early-inlining \
71	-fno-tree-copy-prop \
72	-fno-tree-loop-optimize \
73	-fno-move-loop-invariants \
74	-fno-caller-saves \
75	-Wno-psabi \
76	-ffunction-sections \
77	-funwind-tables \
78	-g \
79	-fstack-protector \
80	-fno-short-enums \
81	-finline-limit=64 \
82	-Wa,--noexecstack \
83	-U_FORTIFY_SOURCE \
84	-Wno-extra \
85	-Wno-ignored-qualifiers \
86	-Wno-type-limits \
87	-Wno-unused-but-set-variable \
88	-Os \
89	-g \
90	-fdata-sections \
91	-ffunction-sections \
92	-fomit-frame-pointer \
93	-funwind-tables
94
95MY_DEFS_Debug := \
96	'-DV8_DEPRECATION_WARNINGS' \
97	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
98	'-D_FILE_OFFSET_BITS=64' \
99	'-DNO_TCMALLOC' \
100	'-DDISABLE_NACL' \
101	'-DCHROMIUM_BUILD' \
102	'-DUSE_LIBJPEG_TURBO=1' \
103	'-DENABLE_WEBRTC=1' \
104	'-DUSE_PROPRIETARY_CODECS' \
105	'-DENABLE_BROWSER_CDMS' \
106	'-DENABLE_CONFIGURATION_POLICY' \
107	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
108	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
109	'-DENABLE_EGLIMAGE=1' \
110	'-DCLD_VERSION=1' \
111	'-DENABLE_PRINTING=1' \
112	'-DENABLE_MANAGED_USERS=1' \
113	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
114	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
115	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
116	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
117	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
118	'-DVIDEO_HOLE=1' \
119	'-DPROTOBUF_USE_DLLS' \
120	'-DGOOGLE_PROTOBUF_NO_RTTI' \
121	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
122	'-DUSE_OPENSSL=1' \
123	'-DUSE_OPENSSL_CERTS=1' \
124	'-D__STDC_CONSTANT_MACROS' \
125	'-D__STDC_FORMAT_MACROS' \
126	'-DANDROID' \
127	'-D__GNU_SOURCE=1' \
128	'-DUSE_STLPORT=1' \
129	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
130	'-DCHROME_BUILD_ID=""' \
131	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
132	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
133	'-D_DEBUG'
134
135
136# Include paths placed before CFLAGS/CPPFLAGS
137LOCAL_C_INCLUDES_Debug := \
138	$(gyp_shared_intermediate_dir) \
139	$(gyp_shared_intermediate_dir)/protoc_out \
140	$(LOCAL_PATH) \
141	$(LOCAL_PATH)/third_party/protobuf \
142	$(LOCAL_PATH)/third_party/protobuf/src \
143	$(PWD)/frameworks/wilhelm/include \
144	$(PWD)/bionic \
145	$(PWD)/external/stlport/stlport
146
147
148# Flags passed to only C++ (and not C) files.
149LOCAL_CPPFLAGS_Debug := \
150	-fno-rtti \
151	-fno-threadsafe-statics \
152	-fvisibility-inlines-hidden \
153	-Wsign-compare \
154	-Wno-abi \
155	-Wno-non-virtual-dtor \
156	-Wno-sign-promo
157
158
159LOCAL_FDO_SUPPORT_Debug := false
160
161# Flags passed to both C and C++ files.
162MY_CFLAGS_Release := \
163	-fstack-protector \
164	--param=ssp-buffer-size=4 \
165	-Werror \
166	-fno-exceptions \
167	-fno-strict-aliasing \
168	-Wall \
169	-Wno-unused-parameter \
170	-Wno-missing-field-initializers \
171	-fvisibility=hidden \
172	-pipe \
173	-fPIC \
174	-Wno-unused-local-typedefs \
175	-fno-tree-sra \
176	-fno-partial-inlining \
177	-fno-early-inlining \
178	-fno-tree-copy-prop \
179	-fno-tree-loop-optimize \
180	-fno-move-loop-invariants \
181	-fno-caller-saves \
182	-Wno-psabi \
183	-ffunction-sections \
184	-funwind-tables \
185	-g \
186	-fstack-protector \
187	-fno-short-enums \
188	-finline-limit=64 \
189	-Wa,--noexecstack \
190	-U_FORTIFY_SOURCE \
191	-Wno-extra \
192	-Wno-ignored-qualifiers \
193	-Wno-type-limits \
194	-Wno-unused-but-set-variable \
195	-Os \
196	-fno-ident \
197	-fdata-sections \
198	-ffunction-sections \
199	-fomit-frame-pointer \
200	-funwind-tables
201
202MY_DEFS_Release := \
203	'-DV8_DEPRECATION_WARNINGS' \
204	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
205	'-D_FILE_OFFSET_BITS=64' \
206	'-DNO_TCMALLOC' \
207	'-DDISABLE_NACL' \
208	'-DCHROMIUM_BUILD' \
209	'-DUSE_LIBJPEG_TURBO=1' \
210	'-DENABLE_WEBRTC=1' \
211	'-DUSE_PROPRIETARY_CODECS' \
212	'-DENABLE_BROWSER_CDMS' \
213	'-DENABLE_CONFIGURATION_POLICY' \
214	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
215	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
216	'-DENABLE_EGLIMAGE=1' \
217	'-DCLD_VERSION=1' \
218	'-DENABLE_PRINTING=1' \
219	'-DENABLE_MANAGED_USERS=1' \
220	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
221	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
222	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
223	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
224	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
225	'-DVIDEO_HOLE=1' \
226	'-DPROTOBUF_USE_DLLS' \
227	'-DGOOGLE_PROTOBUF_NO_RTTI' \
228	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
229	'-DUSE_OPENSSL=1' \
230	'-DUSE_OPENSSL_CERTS=1' \
231	'-D__STDC_CONSTANT_MACROS' \
232	'-D__STDC_FORMAT_MACROS' \
233	'-DANDROID' \
234	'-D__GNU_SOURCE=1' \
235	'-DUSE_STLPORT=1' \
236	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
237	'-DCHROME_BUILD_ID=""' \
238	'-DNDEBUG' \
239	'-DNVALGRIND' \
240	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
241	'-D_FORTIFY_SOURCE=2'
242
243
244# Include paths placed before CFLAGS/CPPFLAGS
245LOCAL_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.
257LOCAL_CPPFLAGS_Release := \
258	-fno-rtti \
259	-fno-threadsafe-statics \
260	-fvisibility-inlines-hidden \
261	-Wsign-compare \
262	-Wno-abi \
263	-Wno-non-virtual-dtor \
264	-Wno-sign-promo
265
266
267LOCAL_FDO_SUPPORT_Release := false
268
269LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
270LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
271LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
272LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
273LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
274### Rules for final target.
275
276LOCAL_LDFLAGS_Debug := \
277	-Wl,-z,now \
278	-Wl,-z,relro \
279	-Wl,--fatal-warnings \
280	-Wl,-z,noexecstack \
281	-fPIC \
282	-Wl,-z,relro \
283	-Wl,-z,now \
284	-fuse-ld=gold \
285	-nostdlib \
286	-Wl,--no-undefined \
287	-Wl,--exclude-libs=ALL \
288	-Wl,--icf=safe \
289	-Wl,--warn-shared-textrel \
290	-Wl,-O1 \
291	-Wl,--as-needed
292
293
294LOCAL_LDFLAGS_Release := \
295	-Wl,-z,now \
296	-Wl,-z,relro \
297	-Wl,--fatal-warnings \
298	-Wl,-z,noexecstack \
299	-fPIC \
300	-Wl,-z,relro \
301	-Wl,-z,now \
302	-fuse-ld=gold \
303	-nostdlib \
304	-Wl,--no-undefined \
305	-Wl,--exclude-libs=ALL \
306	-Wl,--icf=safe \
307	-Wl,-O1 \
308	-Wl,--as-needed \
309	-Wl,--gc-sections \
310	-Wl,--warn-shared-textrel
311
312
313LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
314
315LOCAL_STATIC_LIBRARIES :=
316
317# Enable grouping to fix circular references
318LOCAL_GROUP_STATIC_LIBRARIES := true
319
320LOCAL_SHARED_LIBRARIES := \
321	libstlport \
322	libdl
323
324# Add target alias to "gyp_all_modules" target.
325.PHONY: gyp_all_modules
326gyp_all_modules: components_autofill_content_risk_proto_gyp
327
328# Alias gyp target name.
329.PHONY: autofill_content_risk_proto
330autofill_content_risk_proto: components_autofill_content_risk_proto_gyp
331
332include $(BUILD_STATIC_LIBRARY)
333