• 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_tracing_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
16GYP_GENERATED_OUTPUTS :=
17
18# Make sure our deps and generated files are built first.
19LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
20
21LOCAL_CPP_EXTENSION := .cc
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES := \
27	components/tracing/child_trace_message_filter.cc \
28	components/tracing/tracing_messages.cc
29
30
31# Flags passed to both C and C++ files.
32MY_CFLAGS_Debug := \
33	-fstack-protector \
34	--param=ssp-buffer-size=4 \
35	 \
36	-fno-exceptions \
37	-fno-strict-aliasing \
38	-Wall \
39	-Wno-unused-parameter \
40	-Wno-missing-field-initializers \
41	-fvisibility=hidden \
42	-pipe \
43	-fPIC \
44	-Wno-unused-local-typedefs \
45	-EL \
46	-mhard-float \
47	-ffunction-sections \
48	-funwind-tables \
49	-g \
50	-fstack-protector \
51	-fno-short-enums \
52	-finline-limit=64 \
53	-Wa,--noexecstack \
54	-U_FORTIFY_SOURCE \
55	-Wno-extra \
56	-Wno-ignored-qualifiers \
57	-Wno-type-limits \
58	-Wno-unused-but-set-variable \
59	-Os \
60	-g \
61	-fdata-sections \
62	-ffunction-sections \
63	-fomit-frame-pointer \
64	-funwind-tables
65
66MY_DEFS_Debug := \
67	'-DV8_DEPRECATION_WARNINGS' \
68	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
69	'-D_FILE_OFFSET_BITS=64' \
70	'-DNO_TCMALLOC' \
71	'-DDISABLE_NACL' \
72	'-DCHROMIUM_BUILD' \
73	'-DUSE_LIBJPEG_TURBO=1' \
74	'-DENABLE_WEBRTC=1' \
75	'-DUSE_PROPRIETARY_CODECS' \
76	'-DENABLE_BROWSER_CDMS' \
77	'-DENABLE_CONFIGURATION_POLICY' \
78	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
79	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
80	'-DENABLE_EGLIMAGE=1' \
81	'-DCLD_VERSION=1' \
82	'-DENABLE_PRINTING=1' \
83	'-DENABLE_MANAGED_USERS=1' \
84	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
85	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
86	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
87	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
88	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
89	'-DVIDEO_HOLE=1' \
90	'-DUSE_OPENSSL=1' \
91	'-DUSE_OPENSSL_CERTS=1' \
92	'-D__STDC_CONSTANT_MACROS' \
93	'-D__STDC_FORMAT_MACROS' \
94	'-DANDROID' \
95	'-D__GNU_SOURCE=1' \
96	'-DUSE_STLPORT=1' \
97	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
98	'-DCHROME_BUILD_ID=""' \
99	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
100	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
101	'-D_DEBUG'
102
103
104# Include paths placed before CFLAGS/CPPFLAGS
105LOCAL_C_INCLUDES_Debug := \
106	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
107	$(gyp_shared_intermediate_dir) \
108	$(LOCAL_PATH) \
109	$(PWD)/frameworks/wilhelm/include \
110	$(PWD)/bionic \
111	$(PWD)/external/stlport/stlport
112
113
114# Flags passed to only C++ (and not C) files.
115LOCAL_CPPFLAGS_Debug := \
116	-fno-rtti \
117	-fno-threadsafe-statics \
118	-fvisibility-inlines-hidden \
119	-Wsign-compare \
120	-Wno-uninitialized \
121	-Wno-non-virtual-dtor \
122	-Wno-sign-promo
123
124
125LOCAL_FDO_SUPPORT_Debug := false
126
127# Flags passed to both C and C++ files.
128MY_CFLAGS_Release := \
129	-fstack-protector \
130	--param=ssp-buffer-size=4 \
131	 \
132	-fno-exceptions \
133	-fno-strict-aliasing \
134	-Wall \
135	-Wno-unused-parameter \
136	-Wno-missing-field-initializers \
137	-fvisibility=hidden \
138	-pipe \
139	-fPIC \
140	-Wno-unused-local-typedefs \
141	-EL \
142	-mhard-float \
143	-ffunction-sections \
144	-funwind-tables \
145	-g \
146	-fstack-protector \
147	-fno-short-enums \
148	-finline-limit=64 \
149	-Wa,--noexecstack \
150	-U_FORTIFY_SOURCE \
151	-Wno-extra \
152	-Wno-ignored-qualifiers \
153	-Wno-type-limits \
154	-Wno-unused-but-set-variable \
155	-Os \
156	-fno-ident \
157	-fdata-sections \
158	-ffunction-sections \
159	-fomit-frame-pointer \
160	-funwind-tables
161
162MY_DEFS_Release := \
163	'-DV8_DEPRECATION_WARNINGS' \
164	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
165	'-D_FILE_OFFSET_BITS=64' \
166	'-DNO_TCMALLOC' \
167	'-DDISABLE_NACL' \
168	'-DCHROMIUM_BUILD' \
169	'-DUSE_LIBJPEG_TURBO=1' \
170	'-DENABLE_WEBRTC=1' \
171	'-DUSE_PROPRIETARY_CODECS' \
172	'-DENABLE_BROWSER_CDMS' \
173	'-DENABLE_CONFIGURATION_POLICY' \
174	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
175	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
176	'-DENABLE_EGLIMAGE=1' \
177	'-DCLD_VERSION=1' \
178	'-DENABLE_PRINTING=1' \
179	'-DENABLE_MANAGED_USERS=1' \
180	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
181	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
182	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
183	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
184	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
185	'-DVIDEO_HOLE=1' \
186	'-DUSE_OPENSSL=1' \
187	'-DUSE_OPENSSL_CERTS=1' \
188	'-D__STDC_CONSTANT_MACROS' \
189	'-D__STDC_FORMAT_MACROS' \
190	'-DANDROID' \
191	'-D__GNU_SOURCE=1' \
192	'-DUSE_STLPORT=1' \
193	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
194	'-DCHROME_BUILD_ID=""' \
195	'-DNDEBUG' \
196	'-DNVALGRIND' \
197	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
198	'-D_FORTIFY_SOURCE=2'
199
200
201# Include paths placed before CFLAGS/CPPFLAGS
202LOCAL_C_INCLUDES_Release := \
203	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
204	$(gyp_shared_intermediate_dir) \
205	$(LOCAL_PATH) \
206	$(PWD)/frameworks/wilhelm/include \
207	$(PWD)/bionic \
208	$(PWD)/external/stlport/stlport
209
210
211# Flags passed to only C++ (and not C) files.
212LOCAL_CPPFLAGS_Release := \
213	-fno-rtti \
214	-fno-threadsafe-statics \
215	-fvisibility-inlines-hidden \
216	-Wsign-compare \
217	-Wno-uninitialized \
218	-Wno-non-virtual-dtor \
219	-Wno-sign-promo
220
221
222LOCAL_FDO_SUPPORT_Release := false
223
224LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
225LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
226LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
227LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
228LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
229### Rules for final target.
230
231LOCAL_LDFLAGS_Debug := \
232	-Wl,-z,now \
233	-Wl,-z,relro \
234	-Wl,--fatal-warnings \
235	-Wl,-z,noexecstack \
236	-fPIC \
237	-EL \
238	-Wl,--no-keep-memory \
239	-nostdlib \
240	-Wl,--no-undefined \
241	-Wl,--exclude-libs=ALL \
242	-Wl,--warn-shared-textrel \
243	-Wl,-O1 \
244	-Wl,--as-needed
245
246
247LOCAL_LDFLAGS_Release := \
248	-Wl,-z,now \
249	-Wl,-z,relro \
250	-Wl,--fatal-warnings \
251	-Wl,-z,noexecstack \
252	-fPIC \
253	-EL \
254	-Wl,--no-keep-memory \
255	-nostdlib \
256	-Wl,--no-undefined \
257	-Wl,--exclude-libs=ALL \
258	-Wl,-O1 \
259	-Wl,--as-needed \
260	-Wl,--gc-sections \
261	-Wl,--warn-shared-textrel
262
263
264LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
265
266LOCAL_STATIC_LIBRARIES :=
267
268# Enable grouping to fix circular references
269LOCAL_GROUP_STATIC_LIBRARIES := true
270
271LOCAL_SHARED_LIBRARIES := \
272	libstlport \
273	libdl
274
275# Add target alias to "gyp_all_modules" target.
276.PHONY: gyp_all_modules
277gyp_all_modules: components_tracing_gyp
278
279# Alias gyp target name.
280.PHONY: tracing
281tracing: components_tracing_gyp
282
283include $(BUILD_STATIC_LIBRARY)
284