• 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 := ui_native_theme_native_theme_gyp
7LOCAL_MODULE_SUFFIX := .a
8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
11
12# Make sure our deps are built first.
13GYP_TARGET_DEPENDENCIES := \
14	$(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
15	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \
16	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \
17	$(call intermediates-dir-for,GYP,ui_resources_ui_resources_gyp,,,$(GYP_VAR_PREFIX))/ui_resources.stamp
18
19GYP_GENERATED_OUTPUTS :=
20
21# Make sure our deps and generated files are built first.
22LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
23
24LOCAL_CPP_EXTENSION := .cc
25LOCAL_GENERATED_SOURCES :=
26
27GYP_COPIED_SOURCE_ORIGIN_DIRS :=
28
29LOCAL_SRC_FILES := \
30	ui/native_theme/common_theme.cc \
31	ui/native_theme/fallback_theme.cc \
32	ui/native_theme/native_theme.cc \
33	ui/native_theme/native_theme_android.cc \
34	ui/native_theme/native_theme_base.cc \
35	ui/native_theme/native_theme_observer.cc \
36	ui/native_theme/native_theme_switches.cc
37
38
39# Flags passed to both C and C++ files.
40MY_CFLAGS_Debug := \
41	-fstack-protector \
42	--param=ssp-buffer-size=4 \
43	 \
44	-fno-strict-aliasing \
45	-Wall \
46	-Wno-unused-parameter \
47	-Wno-missing-field-initializers \
48	-fvisibility=hidden \
49	-pipe \
50	-fPIC \
51	-Wno-unused-local-typedefs \
52	-ffunction-sections \
53	-funwind-tables \
54	-g \
55	-fstack-protector \
56	-fno-short-enums \
57	-finline-limit=64 \
58	-Wa,--noexecstack \
59	-U_FORTIFY_SOURCE \
60	-Wno-extra \
61	-Wno-ignored-qualifiers \
62	-Wno-type-limits \
63	-Wno-unused-but-set-variable \
64	-Os \
65	-g \
66	-gdwarf-4 \
67	-fdata-sections \
68	-ffunction-sections \
69	-fomit-frame-pointer \
70	-funwind-tables
71
72MY_DEFS_Debug := \
73	'-DV8_DEPRECATION_WARNINGS' \
74	'-D_FILE_OFFSET_BITS=64' \
75	'-DNO_TCMALLOC' \
76	'-DDISABLE_NACL' \
77	'-DCHROMIUM_BUILD' \
78	'-DUSE_LIBJPEG_TURBO=1' \
79	'-DENABLE_WEBRTC=1' \
80	'-DUSE_PROPRIETARY_CODECS' \
81	'-DENABLE_BROWSER_CDMS' \
82	'-DENABLE_CONFIGURATION_POLICY' \
83	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
84	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
85	'-DENABLE_EGLIMAGE=1' \
86	'-DCLD_VERSION=1' \
87	'-DENABLE_PRINTING=1' \
88	'-DENABLE_MANAGED_USERS=1' \
89	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
90	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
91	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
92	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
93	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
94	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
95	'-DVIDEO_HOLE=1' \
96	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
97	'-DNATIVE_THEME_IMPLEMENTATION' \
98	'-DSK_ENABLE_INST_COUNT=0' \
99	'-DSK_SUPPORT_GPU=1' \
100	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
101	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
102	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
103	'-DGR_GL_IGNORE_ES3_MSAA=0' \
104	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
105	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
106	'-DSK_BUILD_FOR_ANDROID' \
107	'-DSK_USE_POSIX_THREADS' \
108	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
109	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
110	'-DPOSIX_AVOID_MMAP' \
111	'-DU_USING_ICU_NAMESPACE=0' \
112	'-DU_ENABLE_DYLOAD=0' \
113	'-DUSE_OPENSSL=1' \
114	'-DUSE_OPENSSL_CERTS=1' \
115	'-D__STDC_CONSTANT_MACROS' \
116	'-D__STDC_FORMAT_MACROS' \
117	'-DANDROID' \
118	'-D__GNU_SOURCE=1' \
119	'-DUSE_STLPORT=1' \
120	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
121	'-DCHROME_BUILD_ID=""' \
122	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
123	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
124	'-D_DEBUG'
125
126
127# Include paths placed before CFLAGS/CPPFLAGS
128LOCAL_C_INCLUDES_Debug := \
129	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
130	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
131	$(gyp_shared_intermediate_dir) \
132	$(LOCAL_PATH) \
133	$(LOCAL_PATH)/skia/config \
134	$(LOCAL_PATH)/third_party/skia/src/core \
135	$(LOCAL_PATH)/third_party/skia/include/core \
136	$(LOCAL_PATH)/third_party/skia/include/effects \
137	$(LOCAL_PATH)/third_party/skia/include/pdf \
138	$(LOCAL_PATH)/third_party/skia/include/gpu \
139	$(LOCAL_PATH)/third_party/skia/include/lazy \
140	$(LOCAL_PATH)/third_party/skia/include/pathops \
141	$(LOCAL_PATH)/third_party/skia/include/pipe \
142	$(LOCAL_PATH)/third_party/skia/include/ports \
143	$(LOCAL_PATH)/third_party/skia/include/utils \
144	$(LOCAL_PATH)/skia/ext \
145	$(PWD)/external/icu/icu4c/source/common \
146	$(PWD)/external/icu/icu4c/source/i18n \
147	$(gyp_shared_intermediate_dir)/ui/resources \
148	$(PWD)/frameworks/wilhelm/include \
149	$(PWD)/bionic \
150	$(PWD)/external/stlport/stlport
151
152
153# Flags passed to only C++ (and not C) files.
154LOCAL_CPPFLAGS_Debug := \
155	-fno-exceptions \
156	-fno-rtti \
157	-fno-threadsafe-statics \
158	-fvisibility-inlines-hidden \
159	-Wsign-compare \
160	-Wno-uninitialized \
161	-std=gnu++11 \
162	-Wno-narrowing \
163	-Wno-literal-suffix \
164	-Wno-non-virtual-dtor \
165	-Wno-sign-promo
166
167
168# Flags passed to both C and C++ files.
169MY_CFLAGS_Release := \
170	-fstack-protector \
171	--param=ssp-buffer-size=4 \
172	 \
173	-fno-strict-aliasing \
174	-Wall \
175	-Wno-unused-parameter \
176	-Wno-missing-field-initializers \
177	-fvisibility=hidden \
178	-pipe \
179	-fPIC \
180	-Wno-unused-local-typedefs \
181	-ffunction-sections \
182	-funwind-tables \
183	-g \
184	-fstack-protector \
185	-fno-short-enums \
186	-finline-limit=64 \
187	-Wa,--noexecstack \
188	-U_FORTIFY_SOURCE \
189	-Wno-extra \
190	-Wno-ignored-qualifiers \
191	-Wno-type-limits \
192	-Wno-unused-but-set-variable \
193	-Os \
194	-fno-ident \
195	-fdata-sections \
196	-ffunction-sections \
197	-fomit-frame-pointer \
198	-funwind-tables
199
200MY_DEFS_Release := \
201	'-DV8_DEPRECATION_WARNINGS' \
202	'-D_FILE_OFFSET_BITS=64' \
203	'-DNO_TCMALLOC' \
204	'-DDISABLE_NACL' \
205	'-DCHROMIUM_BUILD' \
206	'-DUSE_LIBJPEG_TURBO=1' \
207	'-DENABLE_WEBRTC=1' \
208	'-DUSE_PROPRIETARY_CODECS' \
209	'-DENABLE_BROWSER_CDMS' \
210	'-DENABLE_CONFIGURATION_POLICY' \
211	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
212	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
213	'-DENABLE_EGLIMAGE=1' \
214	'-DCLD_VERSION=1' \
215	'-DENABLE_PRINTING=1' \
216	'-DENABLE_MANAGED_USERS=1' \
217	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
218	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
219	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
220	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
221	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
222	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
223	'-DVIDEO_HOLE=1' \
224	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
225	'-DNATIVE_THEME_IMPLEMENTATION' \
226	'-DSK_ENABLE_INST_COUNT=0' \
227	'-DSK_SUPPORT_GPU=1' \
228	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
229	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
230	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
231	'-DGR_GL_IGNORE_ES3_MSAA=0' \
232	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
233	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
234	'-DSK_BUILD_FOR_ANDROID' \
235	'-DSK_USE_POSIX_THREADS' \
236	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
237	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
238	'-DPOSIX_AVOID_MMAP' \
239	'-DU_USING_ICU_NAMESPACE=0' \
240	'-DU_ENABLE_DYLOAD=0' \
241	'-DUSE_OPENSSL=1' \
242	'-DUSE_OPENSSL_CERTS=1' \
243	'-D__STDC_CONSTANT_MACROS' \
244	'-D__STDC_FORMAT_MACROS' \
245	'-DANDROID' \
246	'-D__GNU_SOURCE=1' \
247	'-DUSE_STLPORT=1' \
248	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
249	'-DCHROME_BUILD_ID=""' \
250	'-DNDEBUG' \
251	'-DNVALGRIND' \
252	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
253	'-D_FORTIFY_SOURCE=2'
254
255
256# Include paths placed before CFLAGS/CPPFLAGS
257LOCAL_C_INCLUDES_Release := \
258	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
259	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
260	$(gyp_shared_intermediate_dir) \
261	$(LOCAL_PATH) \
262	$(LOCAL_PATH)/skia/config \
263	$(LOCAL_PATH)/third_party/skia/src/core \
264	$(LOCAL_PATH)/third_party/skia/include/core \
265	$(LOCAL_PATH)/third_party/skia/include/effects \
266	$(LOCAL_PATH)/third_party/skia/include/pdf \
267	$(LOCAL_PATH)/third_party/skia/include/gpu \
268	$(LOCAL_PATH)/third_party/skia/include/lazy \
269	$(LOCAL_PATH)/third_party/skia/include/pathops \
270	$(LOCAL_PATH)/third_party/skia/include/pipe \
271	$(LOCAL_PATH)/third_party/skia/include/ports \
272	$(LOCAL_PATH)/third_party/skia/include/utils \
273	$(LOCAL_PATH)/skia/ext \
274	$(PWD)/external/icu/icu4c/source/common \
275	$(PWD)/external/icu/icu4c/source/i18n \
276	$(gyp_shared_intermediate_dir)/ui/resources \
277	$(PWD)/frameworks/wilhelm/include \
278	$(PWD)/bionic \
279	$(PWD)/external/stlport/stlport
280
281
282# Flags passed to only C++ (and not C) files.
283LOCAL_CPPFLAGS_Release := \
284	-fno-exceptions \
285	-fno-rtti \
286	-fno-threadsafe-statics \
287	-fvisibility-inlines-hidden \
288	-Wsign-compare \
289	-Wno-uninitialized \
290	-std=gnu++11 \
291	-Wno-narrowing \
292	-Wno-literal-suffix \
293	-Wno-non-virtual-dtor \
294	-Wno-sign-promo
295
296
297LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
298LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
299LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
300LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
301### Rules for final target.
302
303LOCAL_SHARED_LIBRARIES := \
304	libstlport \
305	libdl
306
307# Add target alias to "gyp_all_modules" target.
308.PHONY: gyp_all_modules
309gyp_all_modules: ui_native_theme_native_theme_gyp
310
311# Alias gyp target name.
312.PHONY: native_theme
313native_theme: ui_native_theme_native_theme_gyp
314
315include $(BUILD_STATIC_LIBRARY)
316