• 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	--param=ssp-buffer-size=4 \
57	-Werror \
58	-fno-exceptions \
59	-fno-strict-aliasing \
60	-Wall \
61	-Wno-unused-parameter \
62	-Wno-missing-field-initializers \
63	-fvisibility=hidden \
64	-pipe \
65	-fPIC \
66	-Wno-unused-local-typedefs \
67	-ffunction-sections \
68	-funwind-tables \
69	-g \
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	-fdata-sections \
81	-ffunction-sections \
82	-funwind-tables
83
84MY_DEFS_Debug := \
85	'-DV8_DEPRECATION_WARNINGS' \
86	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
87	'-D_FILE_OFFSET_BITS=64' \
88	'-DNO_TCMALLOC' \
89	'-DDISABLE_NACL' \
90	'-DCHROMIUM_BUILD' \
91	'-DUSE_LIBJPEG_TURBO=1' \
92	'-DENABLE_WEBRTC=1' \
93	'-DUSE_PROPRIETARY_CODECS' \
94	'-DENABLE_BROWSER_CDMS' \
95	'-DENABLE_CONFIGURATION_POLICY' \
96	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
97	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
98	'-DENABLE_EGLIMAGE=1' \
99	'-DCLD_VERSION=1' \
100	'-DENABLE_PRINTING=1' \
101	'-DENABLE_MANAGED_USERS=1' \
102	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
103	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
104	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
105	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
106	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
107	'-DVIDEO_HOLE=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-rtti \
140	-fno-threadsafe-statics \
141	-fvisibility-inlines-hidden \
142	-Wsign-compare \
143	-Wno-non-virtual-dtor \
144	-Wno-sign-promo
145
146
147LOCAL_FDO_SUPPORT_Debug := false
148
149# Flags passed to both C and C++ files.
150MY_CFLAGS_Release := \
151	--param=ssp-buffer-size=4 \
152	-Werror \
153	-fno-exceptions \
154	-fno-strict-aliasing \
155	-Wall \
156	-Wno-unused-parameter \
157	-Wno-missing-field-initializers \
158	-fvisibility=hidden \
159	-pipe \
160	-fPIC \
161	-Wno-unused-local-typedefs \
162	-ffunction-sections \
163	-funwind-tables \
164	-g \
165	-fno-short-enums \
166	-finline-limit=64 \
167	-Wa,--noexecstack \
168	-U_FORTIFY_SOURCE \
169	-Wno-extra \
170	-Wno-ignored-qualifiers \
171	-Wno-type-limits \
172	-Wno-unused-but-set-variable \
173	-Os \
174	-fno-ident \
175	-fdata-sections \
176	-ffunction-sections \
177	-funwind-tables
178
179MY_DEFS_Release := \
180	'-DV8_DEPRECATION_WARNINGS' \
181	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
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="http://proxy-dev.googlezip.net:80/"' \
199	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
200	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
201	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
202	'-DVIDEO_HOLE=1' \
203	'-DPROTOBUF_USE_DLLS' \
204	'-DGOOGLE_PROTOBUF_NO_RTTI' \
205	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
206	'-DUSE_OPENSSL=1' \
207	'-DUSE_OPENSSL_CERTS=1' \
208	'-D__STDC_CONSTANT_MACROS' \
209	'-D__STDC_FORMAT_MACROS' \
210	'-DANDROID' \
211	'-D__GNU_SOURCE=1' \
212	'-DUSE_STLPORT=1' \
213	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
214	'-DCHROME_BUILD_ID=""' \
215	'-DNDEBUG' \
216	'-DNVALGRIND' \
217	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
218	'-D_FORTIFY_SOURCE=2'
219
220
221# Include paths placed before CFLAGS/CPPFLAGS
222LOCAL_C_INCLUDES_Release := \
223	$(gyp_shared_intermediate_dir) \
224	$(gyp_shared_intermediate_dir)/protoc_out \
225	$(LOCAL_PATH) \
226	$(LOCAL_PATH)/third_party/protobuf \
227	$(LOCAL_PATH)/third_party/protobuf/src \
228	$(PWD)/frameworks/wilhelm/include \
229	$(PWD)/bionic \
230	$(PWD)/external/stlport/stlport
231
232
233# Flags passed to only C++ (and not C) files.
234LOCAL_CPPFLAGS_Release := \
235	-fno-rtti \
236	-fno-threadsafe-statics \
237	-fvisibility-inlines-hidden \
238	-Wsign-compare \
239	-Wno-non-virtual-dtor \
240	-Wno-sign-promo
241
242
243LOCAL_FDO_SUPPORT_Release := false
244
245LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
246LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
247LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
248LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
249LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
250### Rules for final target.
251
252LOCAL_LDFLAGS_Debug := \
253	-Wl,-z,now \
254	-Wl,-z,relro \
255	-Wl,--fatal-warnings \
256	-Wl,-z,noexecstack \
257	-fPIC \
258	-nostdlib \
259	-Wl,--no-undefined \
260	-Wl,--exclude-libs=ALL \
261	-Wl,--warn-shared-textrel \
262	-Wl,-O1 \
263	-Wl,--as-needed
264
265
266LOCAL_LDFLAGS_Release := \
267	-Wl,-z,now \
268	-Wl,-z,relro \
269	-Wl,--fatal-warnings \
270	-Wl,-z,noexecstack \
271	-fPIC \
272	-nostdlib \
273	-Wl,--no-undefined \
274	-Wl,--exclude-libs=ALL \
275	-Wl,-O1 \
276	-Wl,--as-needed \
277	-Wl,--gc-sections \
278	-Wl,--warn-shared-textrel
279
280
281LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
282
283LOCAL_STATIC_LIBRARIES :=
284
285# Enable grouping to fix circular references
286LOCAL_GROUP_STATIC_LIBRARIES := true
287
288LOCAL_SHARED_LIBRARIES := \
289	libstlport \
290	libdl
291
292# Add target alias to "gyp_all_modules" target.
293.PHONY: gyp_all_modules
294gyp_all_modules: components_autofill_content_risk_proto_gyp
295
296# Alias gyp target name.
297.PHONY: autofill_content_risk_proto
298autofill_content_risk_proto: components_autofill_content_risk_proto_gyp
299
300include $(BUILD_STATIC_LIBRARY)
301