sandbox_services_headers.target.linux-x86.mk revision d0247b1b59f9c528cb6df88b4f2b9afaf80d181e
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_TAGS := optional
10gyp_intermediate_dir := $(call local-intermediates-dir)
11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
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-exceptions \
33	-fno-strict-aliasing \
34	-Wall \
35	-Wno-unused-parameter \
36	-Wno-missing-field-initializers \
37	-fvisibility=hidden \
38	-pipe \
39	-fPIC \
40	-m32 \
41	-mmmx \
42	-march=pentium4 \
43	-msse2 \
44	-mfpmath=sse \
45	-fuse-ld=gold \
46	-ffunction-sections \
47	-funwind-tables \
48	-g \
49	-fno-short-enums \
50	-finline-limit=64 \
51	-Wa,--noexecstack \
52	-U_FORTIFY_SOURCE \
53	-Wno-extra \
54	-Wno-ignored-qualifiers \
55	-Wno-type-limits \
56	-fno-stack-protector \
57	-Os \
58	-g \
59	-fomit-frame-pointer \
60	-fdata-sections \
61	-ffunction-sections
62
63MY_DEFS_Debug := \
64	'-DANGLE_DX11' \
65	'-DWTF_VECTOR_INITIAL_SIZE=4' \
66	'-D_FILE_OFFSET_BITS=64' \
67	'-DNO_TCMALLOC' \
68	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
69	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
70	'-DDISABLE_NACL' \
71	'-DCHROMIUM_BUILD' \
72	'-DUSE_LIBJPEG_TURBO=1' \
73	'-DUSE_PROPRIETARY_CODECS' \
74	'-DENABLE_CONFIGURATION_POLICY' \
75	'-DENABLE_GPU=1' \
76	'-DUSE_OPENSSL=1' \
77	'-DENABLE_EGLIMAGE=1' \
78	'-DCLD_VERSION=1' \
79	'-D__STDC_CONSTANT_MACROS' \
80	'-D__STDC_FORMAT_MACROS' \
81	'-DANDROID' \
82	'-D__GNU_SOURCE=1' \
83	'-DUSE_STLPORT=1' \
84	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
85	'-DCHROME_BUILD_ID=""' \
86	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
87	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
88	'-D_DEBUG'
89
90
91# Include paths placed before CFLAGS/CPPFLAGS
92LOCAL_C_INCLUDES_Debug := \
93	$(LOCAL_PATH)/sandbox \
94	$(PWD)/frameworks/wilhelm/include \
95	$(PWD)/bionic \
96	$(PWD)/external/stlport/stlport
97
98
99# Flags passed to only C++ (and not C) files.
100LOCAL_CPPFLAGS_Debug := \
101	-fno-rtti \
102	-fno-threadsafe-statics \
103	-fvisibility-inlines-hidden \
104	-Wsign-compare \
105	-Wno-error=c++0x-compat \
106	-Wno-non-virtual-dtor \
107	-Wno-sign-promo
108
109
110# Flags passed to both C and C++ files.
111MY_CFLAGS_Release := \
112	--param=ssp-buffer-size=4 \
113	-Werror \
114	-fno-exceptions \
115	-fno-strict-aliasing \
116	-Wall \
117	-Wno-unused-parameter \
118	-Wno-missing-field-initializers \
119	-fvisibility=hidden \
120	-pipe \
121	-fPIC \
122	-m32 \
123	-mmmx \
124	-march=pentium4 \
125	-msse2 \
126	-mfpmath=sse \
127	-fuse-ld=gold \
128	-ffunction-sections \
129	-funwind-tables \
130	-g \
131	-fno-short-enums \
132	-finline-limit=64 \
133	-Wa,--noexecstack \
134	-U_FORTIFY_SOURCE \
135	-Wno-extra \
136	-Wno-ignored-qualifiers \
137	-Wno-type-limits \
138	-fno-stack-protector \
139	-Os \
140	-fno-ident \
141	-fdata-sections \
142	-ffunction-sections \
143	-fomit-frame-pointer \
144	-fno-unwind-tables \
145	-fno-asynchronous-unwind-tables
146
147MY_DEFS_Release := \
148	'-DANGLE_DX11' \
149	'-DWTF_VECTOR_INITIAL_SIZE=4' \
150	'-D_FILE_OFFSET_BITS=64' \
151	'-DNO_TCMALLOC' \
152	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
153	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
154	'-DDISABLE_NACL' \
155	'-DCHROMIUM_BUILD' \
156	'-DUSE_LIBJPEG_TURBO=1' \
157	'-DUSE_PROPRIETARY_CODECS' \
158	'-DENABLE_CONFIGURATION_POLICY' \
159	'-DENABLE_GPU=1' \
160	'-DUSE_OPENSSL=1' \
161	'-DENABLE_EGLIMAGE=1' \
162	'-DCLD_VERSION=1' \
163	'-D__STDC_CONSTANT_MACROS' \
164	'-D__STDC_FORMAT_MACROS' \
165	'-DANDROID' \
166	'-D__GNU_SOURCE=1' \
167	'-DUSE_STLPORT=1' \
168	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
169	'-DCHROME_BUILD_ID=""' \
170	'-DNDEBUG' \
171	'-DNVALGRIND' \
172	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
173	'-D_FORTIFY_SOURCE=2'
174
175
176# Include paths placed before CFLAGS/CPPFLAGS
177LOCAL_C_INCLUDES_Release := \
178	$(LOCAL_PATH)/sandbox \
179	$(PWD)/frameworks/wilhelm/include \
180	$(PWD)/bionic \
181	$(PWD)/external/stlport/stlport
182
183
184# Flags passed to only C++ (and not C) files.
185LOCAL_CPPFLAGS_Release := \
186	-fno-rtti \
187	-fno-threadsafe-statics \
188	-fvisibility-inlines-hidden \
189	-Wsign-compare \
190	-Wno-error=c++0x-compat \
191	-Wno-non-virtual-dtor \
192	-Wno-sign-promo
193
194
195LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
196LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
197LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
198### Rules for final target.
199# Add target alias to "gyp_all_modules" target.
200.PHONY: gyp_all_modules
201gyp_all_modules: sandbox_sandbox_services_headers_gyp
202
203# Alias gyp target name.
204.PHONY: sandbox_services_headers
205sandbox_services_headers: sandbox_sandbox_services_headers_gyp
206
207LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
208LOCAL_UNINSTALLABLE_MODULE := true
209
210include $(BUILD_SYSTEM)/base_rules.mk
211
212$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
213	$(hide) echo "Gyp timestamp: $@"
214	$(hide) mkdir -p $(dir $@)
215	$(hide) touch $@
216