1116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# This file is generated by gyp; do not edit.
2116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
3116680a4aac90f2aa7413d9095a592090648e557Ben Murdochinclude $(CLEAR_VARS)
4116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
5116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_MODULE_CLASS := STATIC_LIBRARIES
6116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_MODULE := ui_gfx_ipc_gfx_ipc_gyp
7116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_MODULE_SUFFIX := .a
8116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
9116680a4aac90f2aa7413d9095a592090648e557Ben Murdochgyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
10116680a4aac90f2aa7413d9095a592090648e557Ben Murdochgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
11116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
12116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Make sure our deps are built first.
13116680a4aac90f2aa7413d9095a592090648e557Ben MurdochGYP_TARGET_DEPENDENCIES := \
14116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \
15116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a
16116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
17116680a4aac90f2aa7413d9095a592090648e557Ben MurdochGYP_GENERATED_OUTPUTS :=
18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
19116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Make sure our deps and generated files are built first.
20116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
22116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_CPP_EXTENSION := .cc
23116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_GENERATED_SOURCES :=
24116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
25116680a4aac90f2aa7413d9095a592090648e557Ben MurdochGYP_COPIED_SOURCE_ORIGIN_DIRS :=
26116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
27116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_SRC_FILES := \
28116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	ui/gfx/ipc/gfx_param_traits.cc
29116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
30116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
31116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Flags passed to both C and C++ files.
32116680a4aac90f2aa7413d9095a592090648e557Ben MurdochMY_CFLAGS_Debug := \
33116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fstack-protector \
34116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	--param=ssp-buffer-size=4 \
35116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	 \
36116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-strict-aliasing \
37116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wall \
38116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-unused-parameter \
39116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-missing-field-initializers \
40116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fvisibility=hidden \
41116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-pipe \
42116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fPIC \
43116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-unused-local-typedefs \
44116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-ffunction-sections \
45116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-funwind-tables \
46116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-g \
47116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fstack-protector \
48116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-short-enums \
49116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-finline-limit=64 \
50116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wa,--noexecstack \
51116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-U_FORTIFY_SOURCE \
52116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-extra \
53116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-ignored-qualifiers \
54116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-type-limits \
55116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-unused-but-set-variable \
56116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Os \
57116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-g \
581320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-gdwarf-4 \
59116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fdata-sections \
60116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-ffunction-sections \
61116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fomit-frame-pointer \
62116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-funwind-tables
63116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
64116680a4aac90f2aa7413d9095a592090648e557Ben MurdochMY_DEFS_Debug := \
65116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DV8_DEPRECATION_WARNINGS' \
66116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D_FILE_OFFSET_BITS=64' \
67116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DNO_TCMALLOC' \
68116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDISABLE_NACL' \
69116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DCHROMIUM_BUILD' \
70116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_LIBJPEG_TURBO=1' \
71116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_WEBRTC=1' \
72116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_PROPRIETARY_CODECS' \
73116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_BROWSER_CDMS' \
74116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_CONFIGURATION_POLICY' \
75116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
76116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
77116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_EGLIMAGE=1' \
78116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DCLD_VERSION=1' \
79116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_PRINTING=1' \
80116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_MANAGED_USERS=1' \
81116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
821320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
831320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
84116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
85116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
86116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
87116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DVIDEO_HOLE=1' \
881320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
89116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DGFX_IPC_IMPLEMENTATION' \
90116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_ENABLE_INST_COUNT=0' \
91116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_SUPPORT_GPU=1' \
92116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
93116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
94116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
95116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DGR_GL_IGNORE_ES3_MSAA=0' \
96116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
971320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
98116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_BUILD_FOR_ANDROID' \
99116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_USE_POSIX_THREADS' \
100116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
101ab8f6f0bd665d3c1ff476eb06c58c42630e462d4Ben Murdoch	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
102116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_OPENSSL=1' \
103116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_OPENSSL_CERTS=1' \
104116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D__STDC_CONSTANT_MACROS' \
105116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D__STDC_FORMAT_MACROS' \
106116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DANDROID' \
107116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D__GNU_SOURCE=1' \
108116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_STLPORT=1' \
109116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
110116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DCHROME_BUILD_ID=""' \
111116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
112116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
113116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D_DEBUG'
114116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
115116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
116116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Include paths placed before CFLAGS/CPPFLAGS
117116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_C_INCLUDES_Debug := \
118116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
119116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(gyp_shared_intermediate_dir) \
120116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH) \
121116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/skia/config \
122116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/src/core \
123116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/core \
124116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/effects \
125116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/pdf \
126116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/gpu \
127116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/lazy \
128116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/pathops \
129116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/pipe \
130116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/ports \
131116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/utils \
132116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/skia/ext \
133116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(PWD)/frameworks/wilhelm/include \
134116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(PWD)/bionic \
135116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(PWD)/external/stlport/stlport
136116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
137116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
138116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Flags passed to only C++ (and not C) files.
139116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_CPPFLAGS_Debug := \
1401320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-fno-exceptions \
141116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-rtti \
142116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-threadsafe-statics \
143116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fvisibility-inlines-hidden \
144116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wsign-compare \
145116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-uninitialized \
146116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-std=gnu++11 \
147116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-narrowing \
148116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-literal-suffix \
149116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-non-virtual-dtor \
150116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-sign-promo
151116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
152116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
153116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Flags passed to both C and C++ files.
154116680a4aac90f2aa7413d9095a592090648e557Ben MurdochMY_CFLAGS_Release := \
155116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fstack-protector \
156116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	--param=ssp-buffer-size=4 \
157116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	 \
158116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-strict-aliasing \
159116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wall \
160116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-unused-parameter \
161116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-missing-field-initializers \
162116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fvisibility=hidden \
163116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-pipe \
164116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fPIC \
165116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-unused-local-typedefs \
166116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-ffunction-sections \
167116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-funwind-tables \
168116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-g \
169116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fstack-protector \
170116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-short-enums \
171116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-finline-limit=64 \
172116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wa,--noexecstack \
173116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-U_FORTIFY_SOURCE \
174116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-extra \
175116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-ignored-qualifiers \
176116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-type-limits \
177116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-unused-but-set-variable \
178116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Os \
179116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-ident \
180116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fdata-sections \
181116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-ffunction-sections \
182116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fomit-frame-pointer \
183116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-funwind-tables
184116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
185116680a4aac90f2aa7413d9095a592090648e557Ben MurdochMY_DEFS_Release := \
186116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DV8_DEPRECATION_WARNINGS' \
187116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D_FILE_OFFSET_BITS=64' \
188116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DNO_TCMALLOC' \
189116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDISABLE_NACL' \
190116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DCHROMIUM_BUILD' \
191116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_LIBJPEG_TURBO=1' \
192116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_WEBRTC=1' \
193116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_PROPRIETARY_CODECS' \
194116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_BROWSER_CDMS' \
195116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_CONFIGURATION_POLICY' \
196116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
197116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
198116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_EGLIMAGE=1' \
199116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DCLD_VERSION=1' \
200116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_PRINTING=1' \
201116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DENABLE_MANAGED_USERS=1' \
202116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
2031320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
2041320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
205116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
206116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
207116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
208116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DVIDEO_HOLE=1' \
2091320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
210116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DGFX_IPC_IMPLEMENTATION' \
211116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_ENABLE_INST_COUNT=0' \
212116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_SUPPORT_GPU=1' \
213116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
214116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
215116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
216116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DGR_GL_IGNORE_ES3_MSAA=0' \
217116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
2181320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
219116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_BUILD_FOR_ANDROID' \
220116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_USE_POSIX_THREADS' \
221116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
222ab8f6f0bd665d3c1ff476eb06c58c42630e462d4Ben Murdoch	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
223116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_OPENSSL=1' \
224116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_OPENSSL_CERTS=1' \
225116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D__STDC_CONSTANT_MACROS' \
226116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D__STDC_FORMAT_MACROS' \
227116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DANDROID' \
228116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D__GNU_SOURCE=1' \
229116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DUSE_STLPORT=1' \
230116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
231116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DCHROME_BUILD_ID=""' \
232116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DNDEBUG' \
233116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DNVALGRIND' \
234116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
235116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	'-D_FORTIFY_SOURCE=2'
236116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
237116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
238116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Include paths placed before CFLAGS/CPPFLAGS
239116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_C_INCLUDES_Release := \
240116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
241116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(gyp_shared_intermediate_dir) \
242116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH) \
243116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/skia/config \
244116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/src/core \
245116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/core \
246116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/effects \
247116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/pdf \
248116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/gpu \
249116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/lazy \
250116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/pathops \
251116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/pipe \
252116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/ports \
253116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/third_party/skia/include/utils \
254116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(LOCAL_PATH)/skia/ext \
255116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(PWD)/frameworks/wilhelm/include \
256116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(PWD)/bionic \
257116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	$(PWD)/external/stlport/stlport
258116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
259116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
260116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Flags passed to only C++ (and not C) files.
261116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_CPPFLAGS_Release := \
2621320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci	-fno-exceptions \
263116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-rtti \
264116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fno-threadsafe-statics \
265116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-fvisibility-inlines-hidden \
266116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wsign-compare \
267116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-uninitialized \
268116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-std=gnu++11 \
269116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-narrowing \
270116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-literal-suffix \
271116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-non-virtual-dtor \
272116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	-Wno-sign-promo
273116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
274116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
275116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
276116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
277116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
278116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_ASFLAGS := $(LOCAL_CFLAGS)
279116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch### Rules for final target.
280116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
281116680a4aac90f2aa7413d9095a592090648e557Ben MurdochLOCAL_SHARED_LIBRARIES := \
282116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	libstlport \
283116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch	libdl
284116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
285116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Add target alias to "gyp_all_modules" target.
286116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch.PHONY: gyp_all_modules
287116680a4aac90f2aa7413d9095a592090648e557Ben Murdochgyp_all_modules: ui_gfx_ipc_gfx_ipc_gyp
288116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
289116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch# Alias gyp target name.
290116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch.PHONY: gfx_ipc
291116680a4aac90f2aa7413d9095a592090648e557Ben Murdochgfx_ipc: ui_gfx_ipc_gfx_ipc_gyp
292116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
293116680a4aac90f2aa7413d9095a592090648e557Ben Murdochinclude $(BUILD_STATIC_LIBRARY)
294