• 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 := third_party_npapi_npapi_gyp
7LOCAL_MODULE_STEM := npapi
8LOCAL_MODULE_SUFFIX := .stamp
9LOCAL_MODULE_TAGS := optional
10LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
11gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
12gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
13
14# Make sure our deps are built first.
15GYP_TARGET_DEPENDENCIES :=
16
17GYP_GENERATED_OUTPUTS :=
18
19# Make sure our deps and generated files are built first.
20LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
21
22LOCAL_GENERATED_SOURCES :=
23
24GYP_COPIED_SOURCE_ORIGIN_DIRS :=
25
26LOCAL_SRC_FILES :=
27
28
29# Flags passed to both C and C++ files.
30MY_CFLAGS_Debug := \
31	--param=ssp-buffer-size=4 \
32	-fno-exceptions \
33	-fno-strict-aliasing \
34	-Wno-unused-parameter \
35	-Wno-missing-field-initializers \
36	-fvisibility=hidden \
37	-pipe \
38	-fPIC \
39	-Wno-unused-local-typedefs \
40	-Wno-format \
41	-ffunction-sections \
42	-funwind-tables \
43	-g \
44	-fno-short-enums \
45	-finline-limit=64 \
46	-Wa,--noexecstack \
47	-U_FORTIFY_SOURCE \
48	-Wno-extra \
49	-Wno-ignored-qualifiers \
50	-Wno-type-limits \
51	-Wno-unused-but-set-variable \
52	-Wno-address \
53	-Wno-format-security \
54	-Wno-return-type \
55	-Wno-sequence-point \
56	-Os \
57	-g \
58	-fdata-sections \
59	-ffunction-sections \
60	-funwind-tables
61
62MY_DEFS_Debug := \
63	'-DV8_DEPRECATION_WARNINGS' \
64	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
65	'-D_FILE_OFFSET_BITS=64' \
66	'-DNO_TCMALLOC' \
67	'-DDISABLE_NACL' \
68	'-DCHROMIUM_BUILD' \
69	'-DUSE_LIBJPEG_TURBO=1' \
70	'-DENABLE_WEBRTC=1' \
71	'-DUSE_PROPRIETARY_CODECS' \
72	'-DENABLE_BROWSER_CDMS' \
73	'-DENABLE_CONFIGURATION_POLICY' \
74	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
75	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
76	'-DENABLE_EGLIMAGE=1' \
77	'-DCLD_VERSION=1' \
78	'-DENABLE_PRINTING=1' \
79	'-DENABLE_MANAGED_USERS=1' \
80	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
81	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
82	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
83	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
84	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
85	'-DVIDEO_HOLE=1' \
86	'-DUSE_OPENSSL=1' \
87	'-DUSE_OPENSSL_CERTS=1' \
88	'-DANDROID' \
89	'-D__GNU_SOURCE=1' \
90	'-DUSE_STLPORT=1' \
91	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
92	'-DCHROME_BUILD_ID=""' \
93	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
94	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
95	'-D_DEBUG'
96
97
98# Include paths placed before CFLAGS/CPPFLAGS
99LOCAL_C_INCLUDES_Debug := \
100	$(gyp_shared_intermediate_dir) \
101	$(PWD)/frameworks/wilhelm/include \
102	$(PWD)/bionic \
103	$(PWD)/external/stlport/stlport
104
105
106# Flags passed to only C++ (and not C) files.
107LOCAL_CPPFLAGS_Debug := \
108	-fno-rtti \
109	-fno-threadsafe-statics \
110	-fvisibility-inlines-hidden \
111	-Wno-deprecated \
112	-Wno-non-virtual-dtor \
113	-Wno-sign-promo \
114	-Wno-non-virtual-dtor
115
116
117LOCAL_FDO_SUPPORT_Debug := false
118
119# Flags passed to both C and C++ files.
120MY_CFLAGS_Release := \
121	--param=ssp-buffer-size=4 \
122	-fno-exceptions \
123	-fno-strict-aliasing \
124	-Wno-unused-parameter \
125	-Wno-missing-field-initializers \
126	-fvisibility=hidden \
127	-pipe \
128	-fPIC \
129	-Wno-unused-local-typedefs \
130	-Wno-format \
131	-ffunction-sections \
132	-funwind-tables \
133	-g \
134	-fno-short-enums \
135	-finline-limit=64 \
136	-Wa,--noexecstack \
137	-U_FORTIFY_SOURCE \
138	-Wno-extra \
139	-Wno-ignored-qualifiers \
140	-Wno-type-limits \
141	-Wno-unused-but-set-variable \
142	-Wno-address \
143	-Wno-format-security \
144	-Wno-return-type \
145	-Wno-sequence-point \
146	-Os \
147	-fno-ident \
148	-fdata-sections \
149	-ffunction-sections \
150	-funwind-tables
151
152MY_DEFS_Release := \
153	'-DV8_DEPRECATION_WARNINGS' \
154	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
155	'-D_FILE_OFFSET_BITS=64' \
156	'-DNO_TCMALLOC' \
157	'-DDISABLE_NACL' \
158	'-DCHROMIUM_BUILD' \
159	'-DUSE_LIBJPEG_TURBO=1' \
160	'-DENABLE_WEBRTC=1' \
161	'-DUSE_PROPRIETARY_CODECS' \
162	'-DENABLE_BROWSER_CDMS' \
163	'-DENABLE_CONFIGURATION_POLICY' \
164	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
165	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
166	'-DENABLE_EGLIMAGE=1' \
167	'-DCLD_VERSION=1' \
168	'-DENABLE_PRINTING=1' \
169	'-DENABLE_MANAGED_USERS=1' \
170	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
171	'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \
172	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
173	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
174	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
175	'-DVIDEO_HOLE=1' \
176	'-DUSE_OPENSSL=1' \
177	'-DUSE_OPENSSL_CERTS=1' \
178	'-DANDROID' \
179	'-D__GNU_SOURCE=1' \
180	'-DUSE_STLPORT=1' \
181	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
182	'-DCHROME_BUILD_ID=""' \
183	'-DNDEBUG' \
184	'-DNVALGRIND' \
185	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
186
187
188# Include paths placed before CFLAGS/CPPFLAGS
189LOCAL_C_INCLUDES_Release := \
190	$(gyp_shared_intermediate_dir) \
191	$(PWD)/frameworks/wilhelm/include \
192	$(PWD)/bionic \
193	$(PWD)/external/stlport/stlport
194
195
196# Flags passed to only C++ (and not C) files.
197LOCAL_CPPFLAGS_Release := \
198	-fno-rtti \
199	-fno-threadsafe-statics \
200	-fvisibility-inlines-hidden \
201	-Wno-deprecated \
202	-Wno-non-virtual-dtor \
203	-Wno-sign-promo \
204	-Wno-non-virtual-dtor
205
206
207LOCAL_FDO_SUPPORT_Release := false
208
209LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
210LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION))
211LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
212LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
213LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
214### Rules for final target.
215# Add target alias to "gyp_all_modules" target.
216.PHONY: gyp_all_modules
217gyp_all_modules: third_party_npapi_npapi_gyp
218
219# Alias gyp target name.
220.PHONY: npapi
221npapi: third_party_npapi_npapi_gyp
222
223LOCAL_MODULE_PATH := $(PRODUCT_OUT)/gyp_stamp
224LOCAL_UNINSTALLABLE_MODULE := true
225LOCAL_2ND_ARCH_VAR_PREFIX := $(GYP_VAR_PREFIX)
226
227include $(BUILD_SYSTEM)/base_rules.mk
228
229$(LOCAL_BUILT_MODULE): $(LOCAL_ADDITIONAL_DEPENDENCIES)
230	$(hide) echo "Gyp timestamp: $@"
231	$(hide) mkdir -p $(dir $@)
232	$(hide) touch $@
233
234LOCAL_2ND_ARCH_VAR_PREFIX :=
235