1# This file is generated by gyp; do not edit.
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE_CLASS := GYP
6LOCAL_MODULE := sandbox_sandbox_services_headers_gyp
7LOCAL_MODULE_STEM := sandbox_services_headers
8LOCAL_MODULE_SUFFIX := .stamp
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_GENERATED_SOURCES :=
22
23GYP_COPIED_SOURCE_ORIGIN_DIRS :=
24
25LOCAL_SRC_FILES :=
26
27
28# Flags passed to both C and C++ files.
29MY_CFLAGS_Debug := \
30	--param=ssp-buffer-size=4 \
31	-Werror \
32	-fno-strict-aliasing \
33	-Wall \
34	-Wno-unused-parameter \
35	-Wno-missing-field-initializers \
36	-fvisibility=hidden \
37	-pipe \
38	-fPIC \
39	-Wno-unused-local-typedefs \
40	-msse2 \
41	-mfpmath=sse \
42	-mmmx \
43	-m32 \
44	-ffunction-sections \
45	-funwind-tables \
46	-g \
47	-fno-short-enums \
48	-finline-limit=64 \
49	-Wa,--noexecstack \
50	-U_FORTIFY_SOURCE \
51	-Wno-extra \
52	-Wno-ignored-qualifiers \
53	-Wno-type-limits \
54	-Wno-unused-but-set-variable \
55	-fno-stack-protector \
56	-Os \
57	-g \
58	-gdwarf-4 \
59	-fdata-sections \
60	-ffunction-sections \
61	-fomit-frame-pointer \
62	-funwind-tables
63
64MY_DEFS_Debug := \
65	'-DV8_DEPRECATION_WARNINGS' \
66	'-D_FILE_OFFSET_BITS=64' \
67	'-DNO_TCMALLOC' \
68	'-DDISABLE_NACL' \
69	'-DCHROMIUM_BUILD' \
70	'-DUSE_LIBJPEG_TURBO=1' \
71	'-DENABLE_WEBRTC=1' \
72	'-DUSE_PROPRIETARY_CODECS' \
73	'-DENABLE_BROWSER_CDMS' \
74	'-DENABLE_CONFIGURATION_POLICY' \
75	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
76	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
77	'-DENABLE_EGLIMAGE=1' \
78	'-DCLD_VERSION=1' \
79	'-DENABLE_PRINTING=1' \
80	'-DENABLE_MANAGED_USERS=1' \
81	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
82	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
83	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
84	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
85	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
86	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
87	'-DVIDEO_HOLE=1' \
88	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
89	'-DUSE_OPENSSL=1' \
90	'-DUSE_OPENSSL_CERTS=1' \
91	'-D__STDC_CONSTANT_MACROS' \
92	'-D__STDC_FORMAT_MACROS' \
93	'-DANDROID' \
94	'-D__GNU_SOURCE=1' \
95	'-DUSE_STLPORT=1' \
96	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
97	'-DCHROME_BUILD_ID=""' \
98	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
99	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
100	'-D_DEBUG'
101
102
103# Include paths placed before CFLAGS/CPPFLAGS
104LOCAL_C_INCLUDES_Debug := \
105	$(gyp_shared_intermediate_dir) \
106	$(LOCAL_PATH)/sandbox \
107	$(PWD)/frameworks/wilhelm/include \
108	$(PWD)/bionic \
109	$(PWD)/external/stlport/stlport
110
111
112# Flags passed to only C++ (and not C) files.
113LOCAL_CPPFLAGS_Debug := \
114	-fno-exceptions \
115	-fno-rtti \
116	-fno-threadsafe-statics \
117	-fvisibility-inlines-hidden \
118	-Wsign-compare \
119	-std=gnu++11 \
120	-Wno-narrowing \
121	-Wno-literal-suffix \
122	-Wno-non-virtual-dtor \
123	-Wno-sign-promo
124
125
126# Flags passed to both C and C++ files.
127MY_CFLAGS_Release := \
128	--param=ssp-buffer-size=4 \
129	-Werror \
130	-fno-strict-aliasing \
131	-Wall \
132	-Wno-unused-parameter \
133	-Wno-missing-field-initializers \
134	-fvisibility=hidden \
135	-pipe \
136	-fPIC \
137	-Wno-unused-local-typedefs \
138	-msse2 \
139	-mfpmath=sse \
140	-mmmx \
141	-m32 \
142	-ffunction-sections \
143	-funwind-tables \
144	-g \
145	-fno-short-enums \
146	-finline-limit=64 \
147	-Wa,--noexecstack \
148	-U_FORTIFY_SOURCE \
149	-Wno-extra \
150	-Wno-ignored-qualifiers \
151	-Wno-type-limits \
152	-Wno-unused-but-set-variable \
153	-fno-stack-protector \
154	-Os \
155	-fno-ident \
156	-fdata-sections \
157	-ffunction-sections \
158	-fomit-frame-pointer \
159	-funwind-tables
160
161MY_DEFS_Release := \
162	'-DV8_DEPRECATION_WARNINGS' \
163	'-D_FILE_OFFSET_BITS=64' \
164	'-DNO_TCMALLOC' \
165	'-DDISABLE_NACL' \
166	'-DCHROMIUM_BUILD' \
167	'-DUSE_LIBJPEG_TURBO=1' \
168	'-DENABLE_WEBRTC=1' \
169	'-DUSE_PROPRIETARY_CODECS' \
170	'-DENABLE_BROWSER_CDMS' \
171	'-DENABLE_CONFIGURATION_POLICY' \
172	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
173	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
174	'-DENABLE_EGLIMAGE=1' \
175	'-DCLD_VERSION=1' \
176	'-DENABLE_PRINTING=1' \
177	'-DENABLE_MANAGED_USERS=1' \
178	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
179	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
180	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
181	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
182	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
183	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
184	'-DVIDEO_HOLE=1' \
185	'-DENABLE_LOAD_COMPLETION_HACKS=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) \
204	$(LOCAL_PATH)/sandbox \
205	$(PWD)/frameworks/wilhelm/include \
206	$(PWD)/bionic \
207	$(PWD)/external/stlport/stlport
208
209
210# Flags passed to only C++ (and not C) files.
211LOCAL_CPPFLAGS_Release := \
212	-fno-exceptions \
213	-fno-rtti \
214	-fno-threadsafe-statics \
215	-fvisibility-inlines-hidden \
216	-Wsign-compare \
217	-std=gnu++11 \
218	-Wno-narrowing \
219	-Wno-literal-suffix \
220	-Wno-non-virtual-dtor \
221	-Wno-sign-promo
222
223
224LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
225LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
226LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
227LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
228### Rules for final target.
229# Add target alias to "gyp_all_modules" target.
230.PHONY: gyp_all_modules
231gyp_all_modules: sandbox_sandbox_services_headers_gyp
232
233# Alias gyp target name.
234.PHONY: sandbox_services_headers
235sandbox_services_headers: sandbox_sandbox_services_headers_gyp
236
237LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
238LOCAL_UNINSTALLABLE_MODULE := true
239LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
240
241include $(BUILD_SYSTEM)/base_rules.mk
242
243$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
244	$(hide) echo "Gyp timestamp: $@"
245	$(hide) mkdir -p $(dir $@)
246	$(hide) touch $@
247
248LOCAL_2ND_ARCH_VAR_PREFIX :=
249