• 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	-m64 \
69	-march=x86-64 \
70	-ffunction-sections \
71	-funwind-tables \
72	-g \
73	-fstack-protector \
74	-fno-short-enums \
75	-finline-limit=64 \
76	-Wa,--noexecstack \
77	-U_FORTIFY_SOURCE \
78	-Wno-extra \
79	-Wno-ignored-qualifiers \
80	-Wno-type-limits \
81	-Wno-unused-but-set-variable \
82	-Os \
83	-g \
84	-fdata-sections \
85	-ffunction-sections \
86	-fomit-frame-pointer \
87	-funwind-tables
88
89MY_DEFS_Debug := \
90	'-DV8_DEPRECATION_WARNINGS' \
91	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
92	'-D_FILE_OFFSET_BITS=64' \
93	'-DNO_TCMALLOC' \
94	'-DDISABLE_NACL' \
95	'-DCHROMIUM_BUILD' \
96	'-DUSE_LIBJPEG_TURBO=1' \
97	'-DENABLE_WEBRTC=1' \
98	'-DUSE_PROPRIETARY_CODECS' \
99	'-DENABLE_BROWSER_CDMS' \
100	'-DENABLE_CONFIGURATION_POLICY' \
101	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
102	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
103	'-DENABLE_EGLIMAGE=1' \
104	'-DCLD_VERSION=1' \
105	'-DENABLE_PRINTING=1' \
106	'-DENABLE_MANAGED_USERS=1' \
107	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
108	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
109	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
110	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
111	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
112	'-DVIDEO_HOLE=1' \
113	'-DPROTOBUF_USE_DLLS' \
114	'-DGOOGLE_PROTOBUF_NO_RTTI' \
115	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
116	'-DUSE_OPENSSL=1' \
117	'-DUSE_OPENSSL_CERTS=1' \
118	'-D__STDC_CONSTANT_MACROS' \
119	'-D__STDC_FORMAT_MACROS' \
120	'-DANDROID' \
121	'-D__GNU_SOURCE=1' \
122	'-DUSE_STLPORT=1' \
123	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
124	'-DCHROME_BUILD_ID=""' \
125	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
126	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
127	'-D_DEBUG'
128
129
130# Include paths placed before CFLAGS/CPPFLAGS
131LOCAL_C_INCLUDES_Debug := \
132	$(gyp_shared_intermediate_dir) \
133	$(gyp_shared_intermediate_dir)/protoc_out \
134	$(LOCAL_PATH) \
135	$(LOCAL_PATH)/third_party/protobuf \
136	$(LOCAL_PATH)/third_party/protobuf/src \
137	$(PWD)/frameworks/wilhelm/include \
138	$(PWD)/bionic \
139	$(PWD)/external/stlport/stlport
140
141
142# Flags passed to only C++ (and not C) files.
143LOCAL_CPPFLAGS_Debug := \
144	-fno-rtti \
145	-fno-threadsafe-statics \
146	-fvisibility-inlines-hidden \
147	-Wsign-compare \
148	-Wno-non-virtual-dtor \
149	-Wno-sign-promo
150
151
152LOCAL_FDO_SUPPORT_Debug := false
153
154# Flags passed to both C and C++ files.
155MY_CFLAGS_Release := \
156	-fstack-protector \
157	--param=ssp-buffer-size=4 \
158	-Werror \
159	-fno-exceptions \
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	-m64 \
169	-march=x86-64 \
170	-ffunction-sections \
171	-funwind-tables \
172	-g \
173	-fstack-protector \
174	-fno-short-enums \
175	-finline-limit=64 \
176	-Wa,--noexecstack \
177	-U_FORTIFY_SOURCE \
178	-Wno-extra \
179	-Wno-ignored-qualifiers \
180	-Wno-type-limits \
181	-Wno-unused-but-set-variable \
182	-Os \
183	-fno-ident \
184	-fdata-sections \
185	-ffunction-sections \
186	-fomit-frame-pointer \
187	-funwind-tables
188
189MY_DEFS_Release := \
190	'-DV8_DEPRECATION_WARNINGS' \
191	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
192	'-D_FILE_OFFSET_BITS=64' \
193	'-DNO_TCMALLOC' \
194	'-DDISABLE_NACL' \
195	'-DCHROMIUM_BUILD' \
196	'-DUSE_LIBJPEG_TURBO=1' \
197	'-DENABLE_WEBRTC=1' \
198	'-DUSE_PROPRIETARY_CODECS' \
199	'-DENABLE_BROWSER_CDMS' \
200	'-DENABLE_CONFIGURATION_POLICY' \
201	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
202	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
203	'-DENABLE_EGLIMAGE=1' \
204	'-DCLD_VERSION=1' \
205	'-DENABLE_PRINTING=1' \
206	'-DENABLE_MANAGED_USERS=1' \
207	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
208	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
209	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
210	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
211	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
212	'-DVIDEO_HOLE=1' \
213	'-DPROTOBUF_USE_DLLS' \
214	'-DGOOGLE_PROTOBUF_NO_RTTI' \
215	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
216	'-DUSE_OPENSSL=1' \
217	'-DUSE_OPENSSL_CERTS=1' \
218	'-D__STDC_CONSTANT_MACROS' \
219	'-D__STDC_FORMAT_MACROS' \
220	'-DANDROID' \
221	'-D__GNU_SOURCE=1' \
222	'-DUSE_STLPORT=1' \
223	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
224	'-DCHROME_BUILD_ID=""' \
225	'-DNDEBUG' \
226	'-DNVALGRIND' \
227	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
228	'-D_FORTIFY_SOURCE=2'
229
230
231# Include paths placed before CFLAGS/CPPFLAGS
232LOCAL_C_INCLUDES_Release := \
233	$(gyp_shared_intermediate_dir) \
234	$(gyp_shared_intermediate_dir)/protoc_out \
235	$(LOCAL_PATH) \
236	$(LOCAL_PATH)/third_party/protobuf \
237	$(LOCAL_PATH)/third_party/protobuf/src \
238	$(PWD)/frameworks/wilhelm/include \
239	$(PWD)/bionic \
240	$(PWD)/external/stlport/stlport
241
242
243# Flags passed to only C++ (and not C) files.
244LOCAL_CPPFLAGS_Release := \
245	-fno-rtti \
246	-fno-threadsafe-statics \
247	-fvisibility-inlines-hidden \
248	-Wsign-compare \
249	-Wno-non-virtual-dtor \
250	-Wno-sign-promo
251
252
253LOCAL_FDO_SUPPORT_Release := false
254
255LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
256LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
257LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
258LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
259LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
260### Rules for final target.
261
262LOCAL_LDFLAGS_Debug := \
263	-Wl,-z,now \
264	-Wl,-z,relro \
265	-Wl,--fatal-warnings \
266	-Wl,-z,noexecstack \
267	-fPIC \
268	-m64 \
269	-fuse-ld=gold \
270	-nostdlib \
271	-Wl,--no-undefined \
272	-Wl,--exclude-libs=ALL \
273	-Wl,--warn-shared-textrel \
274	-Wl,-O1 \
275	-Wl,--as-needed
276
277
278LOCAL_LDFLAGS_Release := \
279	-Wl,-z,now \
280	-Wl,-z,relro \
281	-Wl,--fatal-warnings \
282	-Wl,-z,noexecstack \
283	-fPIC \
284	-m64 \
285	-fuse-ld=gold \
286	-nostdlib \
287	-Wl,--no-undefined \
288	-Wl,--exclude-libs=ALL \
289	-Wl,-O1 \
290	-Wl,--as-needed \
291	-Wl,--gc-sections \
292	-Wl,--warn-shared-textrel
293
294
295LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
296
297LOCAL_STATIC_LIBRARIES :=
298
299# Enable grouping to fix circular references
300LOCAL_GROUP_STATIC_LIBRARIES := true
301
302LOCAL_SHARED_LIBRARIES := \
303	libstlport \
304	libdl
305
306# Add target alias to "gyp_all_modules" target.
307.PHONY: gyp_all_modules
308gyp_all_modules: components_autofill_content_risk_proto_gyp
309
310# Alias gyp target name.
311.PHONY: autofill_content_risk_proto
312autofill_content_risk_proto: components_autofill_content_risk_proto_gyp
313
314include $(BUILD_STATIC_LIBRARY)
315