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