Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 453 lines (401 sloc) 14.928 kB
8e35f3c auto import from //depot/cupcake/@135843
The Android Open Source Project authored
1 ##
3b663d4 Restore old-style Makefiles.
Feng Qian authored
2 ## Copyright 2009, The Android Open Source Project
8e35f3c auto import from //depot/cupcake/@135843
The Android Open Source Project authored
3 ##
e03118f Fixes license headers for all Android-specific JavaScriptCore and Web…
Steve Block authored
4 ## Redistribution and use in source and binary forms, with or without
5 ## modification, are permitted provided that the following conditions
6 ## are met:
7 ## * Redistributions of source code must retain the above copyright
8 ## notice, this list of conditions and the following disclaimer.
9 ## * Redistributions in binary form must reproduce the above copyright
10 ## notice, this list of conditions and the following disclaimer in the
11 ## documentation and/or other materials provided with the distribution.
8e35f3c auto import from //depot/cupcake/@135843
The Android Open Source Project authored
12 ##
e03118f Fixes license headers for all Android-specific JavaScriptCore and Web…
Steve Block authored
13 ## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
14 ## EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 ## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 ## PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
17 ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
18 ## EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
19 ## PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
20 ## PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
21 ## OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 ## (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 ## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8e35f3c auto import from //depot/cupcake/@135843
The Android Open Source Project authored
24 ##
25
9536138 @plafayet WebGL implementation for Android
plafayet authored
26 # Control WebGL compiling in webkit.
27 ifneq ($(ENABLE_WEBGL),true)
28 ENABLE_WEBGL = false
29 endif
30
bd1f875 Enable SVG compiling in gingerbread.
Shimeng (Simon) Wang authored
31 # Control SVG compiling in webkit.
32 # Default is true unless explictly disabled.
33 ifneq ($(ENABLE_SVG),false)
34 ENABLE_SVG = true
35 endif
36
a678e0b Enable complex scripts support compiling by deafult.
claireho authored
37 # Control complex scripts support compiling in webkit.
38 # Default is true unless explictly disabled.
39 ifneq ($(SUPPORT_COMPLEX_SCRIPTS),false)
40 SUPPORT_COMPLEX_SCRIPTS = true
41 endif
42
3978ee5 Turn autofill on by default at compile time and make it a browser set…
Ben Murdoch authored
43 # Read the environment variable to determine if Autofill is compiled.
4bcd501 Drop support for Android HTTP stack
Steve Block authored
44 # The default is on.
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
45 # is turned on.
3978ee5 Turn autofill on by default at compile time and make it a browser set…
Ben Murdoch authored
46 ifneq ($(ENABLE_AUTOFILL),false)
e3fbba1 Update AndroidURLRequestContextGetter to take a pointer to the getter…
Steve Block authored
47 ENABLE_AUTOFILL = true
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
48 endif
49
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
50 BASE_PATH := $(call my-dir)
51 include $(CLEAR_VARS)
52
53 # Define our module and find the intermediates directory
54 LOCAL_MODULE := libwebcore
55 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
56 base_intermediates := $(call local-intermediates-dir)
57
58 # Using := here prevents recursive expansion
59 WEBKIT_SRC_FILES :=
60
61 # We have to use bison 2.3
62 include $(BASE_PATH)/bison_check.mk
63
0fa8664 Merge WebKit at r75315: Fix Makefiles
Steve Block authored
64 SOURCE_PATH := $(BASE_PATH)/Source
65 WEBCORE_PATH := $(SOURCE_PATH)/WebCore
66 JAVASCRIPTCORE_PATH := $(SOURCE_PATH)/JavaScriptCore
4aac085 Merge WebKit at r75993: Fix Makefiles
Ben Murdoch authored
67 WEBKIT_PATH := $(SOURCE_PATH)/WebKit
0fa8664 Merge WebKit at r75315: Fix Makefiles
Steve Block authored
68 WEBCORE_INTERMEDIATES_PATH := $(base_intermediates)/Source/WebCore
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
69
65f03d4 Merge WebKit at r75993: Initial merge by git.
Ben Murdoch authored
70 # Build our list of include paths. We include Source/WebKit/android/icu first so that
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
71 # any files that include <unicode/ucnv.h> will include our ucnv.h first. We
72 # also add external/ as an include directory so that we can specify the real
73 # icu header directory as a more exact reference to avoid including our ucnv.h.
1865b30 Move V8 Makefiles to from V8Binding directory to WebCore directory, t…
Steve Block authored
74 #
75 # Note that JavasCriptCore/ must be included after WebCore/, so that we pick up
76 # the right config.h.
47e3d63 Move general includes before bindings includes.
Steve Block authored
77 LOCAL_C_INCLUDES := \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
78 $(JNI_H_INCLUDE) \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
79 $(WEBKIT_PATH)/android/icu \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
80 external/ \
81 external/icu4c/common \
82 external/icu4c/i18n \
9628e2b Merge WebKit at r74534: Fix Makefiles
Ben Murdoch authored
83 external/jpeg \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
84 external/libxml2/include \
0eec6dc Enable XSLT in Android webkit.
Shimeng (Simon) Wang authored
85 external/libxslt \
7b51725 Implements the lastHyphenLocation for Android.
Shimeng (Simon) Wang authored
86 external/hyphenation \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
87 external/skia/emoji \
88 external/skia/include/core \
89 external/skia/include/effects \
8dfdf8a Add initial support for Ganesh renderer.
Derek Sollenberger authored
90 external/skia/include/gpu \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
91 external/skia/include/images \
92 external/skia/include/ports \
93 external/skia/include/utils \
9ad1c52 @Krylon360 Webkit: Change old GPU Header path to new location
Krylon360 authored
94 external/skia/src/gpu \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
95 external/skia/src/ports \
96 external/sqlite/dist \
908703e Optimize display lists by caching drawGL function pointer.
Chet Haase authored
97 frameworks/base/core/jni/android/graphics \
98 frameworks/base/include
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
99
9536138 @plafayet WebGL implementation for Android
plafayet authored
100 LOCAL_C_INCLUDES += external/libpng \
101 external/zlib
102
103 ifeq ($(ENABLE_WEBGL),true)
104 LOCAL_C_INCLUDES += frameworks/native/include/gui \
105 frameworks/native/include/private/gui
106 endif
107
0fa8664 Merge WebKit at r75315: Fix Makefiles
Steve Block authored
108 # Add Source/ for the include of <JavaScriptCore/config.h> from WebCore/config.h
109 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
110 $(SOURCE_PATH)
111
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
112 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
113 $(WEBCORE_PATH) \
114 $(WEBCORE_PATH)/accessibility \
115 $(WEBCORE_PATH)/bindings/ \
116 $(WEBCORE_PATH)/bindings/generic \
117 $(WEBCORE_PATH)/css \
118 $(WEBCORE_PATH)/dom \
119 $(WEBCORE_PATH)/editing \
120 $(WEBCORE_PATH)/fileapi \
121 $(WEBCORE_PATH)/history \
122 $(WEBCORE_PATH)/history/android \
123 $(WEBCORE_PATH)/html \
124 $(WEBCORE_PATH)/html/canvas \
125 $(WEBCORE_PATH)/html/parser \
126 $(WEBCORE_PATH)/html/shadow \
127 $(WEBCORE_PATH)/inspector \
128 $(WEBCORE_PATH)/loader \
129 $(WEBCORE_PATH)/loader/appcache \
130 $(WEBCORE_PATH)/loader/archive \
131 $(WEBCORE_PATH)/loader/archive/android \
132 $(WEBCORE_PATH)/loader/cache \
133 $(WEBCORE_PATH)/loader/icon \
134 $(WEBCORE_PATH)/notifications \
135 $(WEBCORE_PATH)/page \
136 $(WEBCORE_PATH)/page/android \
137 $(WEBCORE_PATH)/page/animation \
138 $(WEBCORE_PATH)/platform \
139 $(WEBCORE_PATH)/platform/android \
140 $(WEBCORE_PATH)/platform/animation \
141 $(WEBCORE_PATH)/platform/graphics \
142 $(WEBCORE_PATH)/platform/graphics/android \
64e4b26 Implements a recording GraphicsContext
Nicolas Roard authored
143 $(WEBCORE_PATH)/platform/graphics/android/context \
2e510fd Reorganize platform/graphics/android
Nicolas Roard authored
144 $(WEBCORE_PATH)/platform/graphics/android/fonts \
145 $(WEBCORE_PATH)/platform/graphics/android/layers \
146 $(WEBCORE_PATH)/platform/graphics/android/rendering \
147 $(WEBCORE_PATH)/platform/graphics/android/utils \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
148 $(WEBCORE_PATH)/platform/graphics/filters \
149 $(WEBCORE_PATH)/platform/graphics/gpu \
150 $(WEBCORE_PATH)/platform/graphics/network \
151 $(WEBCORE_PATH)/platform/graphics/skia \
152 $(WEBCORE_PATH)/platform/graphics/transforms \
153 $(WEBCORE_PATH)/platform/image-decoders \
154 $(WEBCORE_PATH)/platform/image-decoders/bmp \
155 $(WEBCORE_PATH)/platform/image-decoders/gif \
156 $(WEBCORE_PATH)/platform/image-decoders/ico \
157 $(WEBCORE_PATH)/platform/image-decoders/jpeg \
158 $(WEBCORE_PATH)/platform/image-decoders/png \
159 $(WEBCORE_PATH)/platform/image-decoders/webp \
9536138 @plafayet WebGL implementation for Android
plafayet authored
160 $(WEBCORE_PATH)/platform/image-encoders/skia \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
161 $(WEBCORE_PATH)/platform/mock \
162 $(WEBCORE_PATH)/platform/network \
163 $(WEBCORE_PATH)/platform/network/android \
164 $(WEBCORE_PATH)/platform/sql \
165 $(WEBCORE_PATH)/platform/text \
166 $(WEBCORE_PATH)/platform/text/transcoder \
167 $(WEBCORE_PATH)/plugins \
168 $(WEBCORE_PATH)/plugins/android \
169 $(WEBCORE_PATH)/rendering \
170 $(WEBCORE_PATH)/rendering/style \
171 $(WEBCORE_PATH)/rendering/svg \
172 $(WEBCORE_PATH)/storage \
173 $(WEBCORE_PATH)/svg \
174 $(WEBCORE_PATH)/svg/animation \
175 $(WEBCORE_PATH)/svg/graphics \
176 $(WEBCORE_PATH)/svg/graphics/filters \
177 $(WEBCORE_PATH)/svg/properties \
178 $(WEBCORE_PATH)/websockets \
179 $(WEBCORE_PATH)/workers \
180 $(WEBCORE_PATH)/xml
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
181
182 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
183 $(WEBKIT_PATH)/android \
184 $(WEBKIT_PATH)/android/WebCoreSupport \
185 $(WEBKIT_PATH)/android/jni \
186 $(WEBKIT_PATH)/android/nav \
187 $(WEBKIT_PATH)/android/plugins
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
188
189 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
190 $(JAVASCRIPTCORE_PATH) \
3b523b8 Merge WebKit at r80534: Fix makefiles.
Ben Murdoch authored
191 $(JAVASCRIPTCORE_PATH)/collector/handles \
808efdd Merge WebKit at r84325: Fix makefiles.
Ben Murdoch authored
192 $(JAVASCRIPTCORE_PATH)/heap \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
193 $(JAVASCRIPTCORE_PATH)/wtf \
194 $(JAVASCRIPTCORE_PATH)/wtf/unicode \
195 $(JAVASCRIPTCORE_PATH)/wtf/unicode/icu
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
196
197 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
198 $(WEBCORE_INTERMEDIATES_PATH) \
199 $(WEBCORE_INTERMEDIATES_PATH)/css \
200 $(WEBCORE_INTERMEDIATES_PATH)/html \
3b523b8 Merge WebKit at r80534: Fix makefiles.
Ben Murdoch authored
201 $(WEBCORE_INTERMEDIATES_PATH)/platform \
202 $(WEBCORE_INTERMEDIATES_PATH)/xml
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
203
45ca37e Remove #if USE(CHROME_NETWORK_STACK) guards from headers
Kristian Monsen authored
204 # The following includes are needed by the AutoFill feature, or the chrome http
205 # stack
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
206 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
eec79d0 Clean up makefiles in preparation for new Source/ directory
Steve Block authored
207 $(WEBKIT_PATH)/chromium \
208 $(WEBKIT_PATH)/chromium/public \
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
209 external/chromium/chrome/browser \
210 external/chromium/chrome/renderer \
45ca37e Remove #if USE(CHROME_NETWORK_STACK) guards from headers
Kristian Monsen authored
211 external/chromium \
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
212 external/chromium/chrome \
213 external/skia
214
773979f Support address detection
John Reck authored
215 LOCAL_CFLAGS += -DWEBKIT_IMPLEMENTATION=1
216
9536138 @plafayet WebGL implementation for Android
plafayet authored
217 # Needed for ANGLE
218 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
219 $(SOURCE_PATH)/ThirdParty/ANGLE/include/GLSLANG
220
47e3d63 Move general includes before bindings includes.
Steve Block authored
221 # Include WTF source file.
cad810f Merge WebKit at r75315: Initial merge by git.
Steve Block authored
222 d := Source/JavaScriptCore
223 LOCAL_PATH := $(BASE_PATH)/$d
47e3d63 Move general includes before bindings includes.
Steve Block authored
224 intermediates := $(base_intermediates)/$d
225 include $(LOCAL_PATH)/Android.v8.wtf.mk
226 WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
227
228 # Include source files for WebCore
0fa8664 Merge WebKit at r75315: Fix Makefiles
Steve Block authored
229 d := Source/WebCore
cad810f Merge WebKit at r75315: Initial merge by git.
Steve Block authored
230 LOCAL_PATH := $(BASE_PATH)/$d
47e3d63 Move general includes before bindings includes.
Steve Block authored
231 intermediates := $(base_intermediates)/$d
232 include $(LOCAL_PATH)/Android.mk
233 include $(LOCAL_PATH)/Android.v8bindings.mk
234 WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
235 LOCAL_C_INCLUDES += $(BINDING_C_INCLUDES)
236
237 # Include the derived source files for WebCore. Uses the same path as
238 # WebCore
239 include $(LOCAL_PATH)/Android.derived.mk
240 include $(LOCAL_PATH)/Android.derived.v8bindings.mk
241
242 # Include source files for android WebKit port
4aac085 Merge WebKit at r75993: Fix Makefiles
Ben Murdoch authored
243 d := Source/WebKit
0fa8664 Merge WebKit at r75315: Fix Makefiles
Steve Block authored
244 LOCAL_PATH := $(BASE_PATH)/$d
47e3d63 Move general includes before bindings includes.
Steve Block authored
245 intermediates := $(base_intermediates)/$d
246 include $(LOCAL_PATH)/Android.mk
247 WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
248
249 # Redefine LOCAL_PATH here so the build system is not confused
250 LOCAL_PATH := $(BASE_PATH)
251
252 # Define our compiler flags
253 LOCAL_CFLAGS += -Wno-endif-labels -Wno-import -Wno-format
254 LOCAL_CFLAGS += -fno-strict-aliasing
255 LOCAL_CFLAGS += -include "WebCorePrefix.h"
256 LOCAL_CFLAGS += -fvisibility=hidden
b7963ae Override ALWAYS_INLINE attribute with inline.
Jing Yu authored
257 LOCAL_CFLAGS += -DALWAYS_INLINE=inline
45ca37e Remove #if USE(CHROME_NETWORK_STACK) guards from headers
Kristian Monsen authored
258 # Make sure assert.h is included before assert is defined
259 LOCAL_CFLAGS += -include "assert.h"
f48006f Initial check-in of the external/webkit part of the chrome http stack.
Kristian Monsen authored
260 LOCAL_CFLAGS += -DGOOGLEURL
fbfcfe6 Disable -Wsign-promo when building WebKit to avoid excessive warnings…
Steve Block authored
261 LOCAL_CPPFLAGS := -Wno-sign-promo
b5d4588 Disable C++0x compatibility warnings
Steve Block authored
262 LOCAL_CPPFLAGS := -Wno-c++0x-compat
47e3d63 Move general includes before bindings includes.
Steve Block authored
263
a5ffb7c GL rendering (without layers)
Nicolas Roard authored
264 # Adds GL and EGL extensions for the GL backend
265 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
266
47e3d63 Move general includes before bindings includes.
Steve Block authored
267 ifeq ($(TARGET_ARCH),arm)
268 LOCAL_CFLAGS += -Darm
269 # remove this warning: "note: the mangling of 'va_list' has changed in GCC 4.4"
270 LOCAL_CFLAGS += -Wno-psabi
271 endif
272
cf9d0b9 @reed-at-google bump up our image cache etc. when we're on larger devices (e.g. have …
reed-at-google authored
273 # need a flag to tell the C side when we're on devices with large memory
274 # budgets (i.e. larger than the low-end devices that initially shipped)
275 ifeq ($(ARCH_ARM_HAVE_VFP),true)
276 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
277 endif
278
47e3d63 Move general includes before bindings includes.
Steve Block authored
279 ifeq ($(ENABLE_SVG),true)
bd1f875 Enable SVG compiling in gingerbread.
Shimeng (Simon) Wang authored
280 LOCAL_CFLAGS += -DENABLE_SVG=1 -DENABLE_SVG_ANIMATION=1
47e3d63 Move general includes before bindings includes.
Steve Block authored
281 endif
282
87962ce refactor drawing to support layers
Cary Clark authored
283 ifeq ($(ENABLE_WTF_USE_ACCELERATED_COMPOSITING),false)
284 LOCAL_CFLAGS += -DWTF_USE_ACCELERATED_COMPOSITING=0
285 endif
286
9435a5c @reed-at-google add optional build flag to trigger enabling layers
reed-at-google authored
287 ifeq ($(ENABLE_WTF_USE_ACCELERATED_COMPOSITING),true)
288 LOCAL_CFLAGS += -DWTF_USE_ACCELERATED_COMPOSITING=1
289 endif
290
e561f0b webkit: Multimedia feature port from ICS
Denise Cheng authored
291 ifeq ($(call is-chipset-prefix-in-board-platform,msm7627),true)
292 LOCAL_CFLAGS += -DVIDEO_PLATFORM_ID=2
293 else
294 ifeq ($(call is-chipset-in-board-platform,msm7630),true)
295 LOCAL_CFLAGS += -DVIDEO_PLATFORM_ID=3
296 else
297 ifeq ($(call is-board-platform,msm8660),true)
298 LOCAL_CFLAGS += -DVIDEO_PLATFORM_ID=4
299 else
300 ifeq ($(call is-board-platform,msm8960),true)
301 LOCAL_CFLAGS += -DVIDEO_PLATFORM_ID=5
302 else
303 ifeq ($(call is-board-platform,copper),true)
304 LOCAL_CFLAGS += -DVIDEO_PLATFORM_ID=6
305 else
306 LOCAL_CFLAGS += -DVIDEO_PLATFORM_ID=1
307 endif
308 endif
309 endif
310 endif
311 endif
312
c79e317 Implement requestAnimationFrame
Yida Wang authored
313 LOCAL_CFLAGS += -DENABLE_REQUEST_ANIMATION_FRAME=1
314
9536138 @plafayet WebGL implementation for Android
plafayet authored
315 ifeq ($(ENABLE_WEBGL),true)
316 LOCAL_CFLAGS += -DENABLE_WEBGL
317 endif
318
47e3d63 Move general includes before bindings includes.
Steve Block authored
319 # LOCAL_LDLIBS is used in simulator builds only and simulator builds are only
320 # valid on Linux
321 LOCAL_LDLIBS += -lpthread -ldl
322
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
323 # Build the list of shared libraries
4bcd501 Drop support for Android HTTP stack
Steve Block authored
324 # We have to use the android version of libdl
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
325 LOCAL_SHARED_LIBRARIES := \
4bcd501 Drop support for Android HTTP stack
Steve Block authored
326 libEGL \
327 libGLESv2 \
c7e5783 Add features to support Ganesh in the Android browser
Derek Sollenberger authored
328 libandroid \
c798a57 frameworks/base refactoring.
Mathias Agopian authored
329 libandroidfw \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
330 libandroid_runtime \
4bcd501 Drop support for Android HTTP stack
Steve Block authored
331 libchromium_net \
332 libcrypto \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
333 libcutils \
4bcd501 Drop support for Android HTTP stack
Steve Block authored
334 libdl \
335 libgui \
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
336 libicuuc \
337 libicui18n \
c557fc7 split libsurfaceflinger_client and libcamera_client out of libui
Mathias Agopian authored
338 libmedia \
797960a Add libmedia_native
Glenn Kasten authored
339 libmedia_native \
4bcd501 Drop support for Android HTTP stack
Steve Block authored
340 libnativehelper \
341 libskia \
342 libsqlite \
343 libssl \
344 libstlport \
345 libutils \
346 libui \
347 libz
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
348
1110a55 Build fix for the simulator.
Patrick Scott authored
349 # We have to fake out some headers when using stlport.
350 LOCAL_C_INCLUDES += \
351 external/chromium/android
efee84d Use the new stlport build configuration.
Patrick Scott authored
352 include external/stlport/libstlport.mk
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
353
c882e88 Support complex scripts by calling Harfbuzz APIs.
claireho authored
354 # We need Harfbuzz library to support complex scripts(Arabic, Thai, Hindi...).
355 ifeq ($(SUPPORT_COMPLEX_SCRIPTS),true)
356 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
357 external/harfbuzz/src \
358 external/harfbuzz/contrib
9536138 @plafayet WebGL implementation for Android
plafayet authored
359 LOCAL_SHARED_LIBRARIES += libharfbuzz libjpeg
c882e88 Support complex scripts by calling Harfbuzz APIs.
claireho authored
360 LOCAL_CFLAGS += -DSUPPORT_COMPLEX_SCRIPTS=1
361 endif
362
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
363 # Build the list of static libraries
072ed0a Remove option to build WebKit with JSC
Steve Block authored
364 LOCAL_STATIC_LIBRARIES := libxml2 libxslt libhyphenation libskiagpu libv8
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
365
9536138 @plafayet WebGL implementation for Android
plafayet authored
366 ifeq ($(ENABLE_WEBGL),true)
367 LOCAL_STATIC_LIBRARIES += libpng
368 endif
369
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
370 ifeq ($(ENABLE_AUTOFILL),true)
371 LOCAL_SHARED_LIBRARIES += libexpat
372 endif
373
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
374 # Redefine LOCAL_SRC_FILES to be all the WebKit source files
375 LOCAL_SRC_FILES := $(WEBKIT_SRC_FILES)
376
377 # Define this for use in other makefiles.
378 WEBKIT_C_INCLUDES := $(LOCAL_C_INCLUDES)
379 WEBKIT_CFLAGS := $(LOCAL_CFLAGS)
fbfcfe6 Disable -Wsign-promo when building WebKit to avoid excessive warnings…
Steve Block authored
380 WEBKIT_CPPFLAGS := $(LOCAL_CPPFLAGS)
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
381 WEBKIT_GENERATED_SOURCES := $(LOCAL_GENERATED_SOURCES)
382 WEBKIT_LDLIBS := $(LOCAL_LDLIBS)
383 WEBKIT_SHARED_LIBRARIES := $(LOCAL_SHARED_LIBRARIES)
384 WEBKIT_STATIC_LIBRARIES := $(LOCAL_STATIC_LIBRARIES)
385
386 # Build the library all at once
387 include $(BUILD_STATIC_LIBRARY)
388
9536138 @plafayet WebGL implementation for Android
plafayet authored
389 # Build ANGLE as a static library.
390 include $(CLEAR_VARS)
391 LOCAL_MODULE := libangle
392 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
393 LOCAL_MODULE_TAGS := optional
394 ANGLE_PATH := $(SOURCE_PATH)/ThirdParty/ANGLE
395 LOCAL_SHARED_LIBRARIES := $(WEBKIT_SHARED_LIBRARIES)
396 include $(ANGLE_PATH)/Android.mk
397 # Redefine LOCAL_SRC_FILES with the correct prefix
398 LOCAL_SRC_FILES := $(addprefix Source/ThirdParty/ANGLE/src/compiler/,$(LOCAL_SRC_FILES))
399 # Append angle intermediate include paths to the WebKit include list.
400 LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES) \
401 $(ANGLE_PATH)/include \
402 $(ANGLE_PATH)/src
403 LOCAL_CFLAGS += -Wno-error=non-virtual-dtor
404 # Build libangle
405 include $(BUILD_STATIC_LIBRARY)
406
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
407 # Now build the shared library using only the exported jni entry point. This
408 # will strip out any unused code from the entry point.
409 include $(CLEAR_VARS)
6b864fa Fix master-gpl build.
Ben Murdoch authored
410 # Do not attempt prelink this library. Needed to keep master-gpl happy, no
411 # effect in master.
412 # TODO: remove this when master-gpl is updated.
413 LOCAL_PRELINK_MODULE := false
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
414 LOCAL_MODULE := libwebcore
415 LOCAL_LDLIBS := $(WEBKIT_LDLIBS)
416 LOCAL_SHARED_LIBRARIES := $(WEBKIT_SHARED_LIBRARIES)
417 LOCAL_STATIC_LIBRARIES := libwebcore $(WEBKIT_STATIC_LIBRARIES)
9536138 @plafayet WebGL implementation for Android
plafayet authored
418 LOCAL_STATIC_LIBRARIES += libangle
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
419 LOCAL_LDFLAGS := -fvisibility=hidden
420 LOCAL_CFLAGS := $(WEBKIT_CFLAGS)
fbfcfe6 Disable -Wsign-promo when building WebKit to avoid excessive warnings…
Steve Block authored
421 LOCAL_CPPFLAGS := $(WEBKIT_CPPFLAGS)
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
422 LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES)
423 LOCAL_PATH := $(BASE_PATH)
424 LOCAL_SRC_FILES := \
773979f Support address detection
John Reck authored
425 Source/WebKit/android/jni/WebCoreJniOnLoad.cpp \
426 Source/WebKit/chromium/src/android/WebDOMTextContentWalker.cpp \
427 Source/WebKit/chromium/src/android/WebHitTestInfo.cpp \
428 Source/WebKit/chromium/src/WebRange.cpp \
429 Source/WebKit/chromium/src/WebString.cpp
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
430
431 ifeq ($(ENABLE_AUTOFILL),true)
432 # AutoFill requires some cpp files from Chromium to link with
433 # libchromium_net. We cannot compile them into libchromium_net
434 # because they have cpp file extensions, not .cc.
435 LOCAL_SRC_FILES += \
4aac085 Merge WebKit at r75993: Fix Makefiles
Ben Murdoch authored
436 Source/WebKit/android/WebCoreSupport/autofill/MainThreadProxy.cpp \
437 Source/WebKit/chromium/src/WebCString.cpp \
773979f Support address detection
John Reck authored
438 Source/WebKit/chromium/src/WebRegularExpression.cpp
d0fc688 Initial autofill changes in libwebcore.
Ben Murdoch authored
439 endif
440
f913b01 Fix the occassional build break.
Patrick Scott authored
441 # Do this dependency by hand. The reason we have to do this is because the
442 # headers that this file pulls in are generated during the build of webcore.
443 # We make all of our object files depend on those files so that they are built
444 # before we try to compile the file.
445 LOCAL_ADDITIONAL_DEPENDENCIES := $(filter %.h, $(WEBKIT_GENERATED_SOURCES))
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
446 include $(BUILD_SHARED_LIBRARY)
447
448 # Build the wds client
4aac085 Merge WebKit at r75993: Fix Makefiles
Ben Murdoch authored
449 include $(WEBKIT_PATH)/android/wds/client/Android.mk
2a35006 Factors out common code from JSC and V8 Makefiles, ready for upstream…
Steve Block authored
450
451 # Build the webkit merge tool.
9628e2b Merge WebKit at r74534: Fix Makefiles
Ben Murdoch authored
452 include $(BASE_PATH)/Tools/android/webkitmerge/Android.mk
Something went wrong with that request. Please try again.