OSDN Git Service

am 555569c5: (-s ours) Merge "Switch to SkSafeUnref for better portability"
[android-x86/external-webkit.git] / Android.mk
1 ##
2 ## Copyright 2009, The Android Open Source Project
3 ##
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.
12 ##
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.
24 ##
25
26 LOCAL_PATH := $(call my-dir)
27
28 # Control SVG compiling in webkit.
29 # Default is true unless explictly disabled.
30 ifneq ($(ENABLE_SVG),false)
31     ENABLE_SVG = true
32 endif
33
34 # Control complex scripts support compiling in webkit.
35 # Default is true unless explictly disabled.
36 ifneq ($(SUPPORT_COMPLEX_SCRIPTS),false)
37     SUPPORT_COMPLEX_SCRIPTS = true
38 endif
39
40 # Two ways to control which JS engine is used:
41 # 1. use JS_ENGINE environment variable, value can be either 'jsc' or 'v8'
42 #    This is the preferred way.
43 # 2. if JS_ENGINE is not set, or is not 'jsc' or 'v8', this makefile picks
44 #    up a default engine to build.
45 #    To help setup buildbot, a new environment variable, USE_ALT_JS_ENGINE,
46 #    can be set to true, so that two builds can be different but without
47 #    specifying which JS engine to use.
48 # To enable JIT in Android's JSC, please set ENABLE_JSC_JIT environment
49 # variable to true.
50
51 # To enable JIT in Android's JSC, please set ENABLE_JSC_JIT environment
52 # variable to true.
53
54 # Read JS_ENGINE environment variable
55 JAVASCRIPT_ENGINE = $(JS_ENGINE)
56
57 # We default to the V8 JS engine.
58 DEFAULT_ENGINE = v8
59 ALT_ENGINE = jsc
60
61 ifneq ($(JAVASCRIPT_ENGINE),jsc)
62   ifneq ($(JAVASCRIPT_ENGINE),v8)
63     # No JS engine is specified, pickup the one we want as default.
64     ifeq ($(USE_ALT_JS_ENGINE),true)
65       JAVASCRIPT_ENGINE = $(ALT_ENGINE)
66     else
67       JAVASCRIPT_ENGINE = $(DEFAULT_ENGINE)
68     endif
69   endif
70 endif
71 # We can't use V8 on the simulator
72 ifeq ($(TARGET_SIMULATOR),true)
73   JAVASCRIPT_ENGINE = jsc
74 endif
75
76 # V8 also requires an ARMv7 CPU, and since we must use jsc, we cannot
77 # use the Chrome http stack either.
78 ifneq ($(strip $(ARCH_ARM_HAVE_ARMV7A)),true)
79   JAVASCRIPT_ENGINE := jsc
80   USE_ALT_HTTP := true
81 endif
82
83 # See if the user has specified a stack they want to use
84 HTTP_STACK = $(HTTP)
85 # We default to the Chrome HTTP stack.
86 DEFAULT_HTTP = chrome
87 ALT_HTTP = android
88
89 ifneq ($(HTTP_STACK),chrome)
90   ifneq ($(HTTP_STACK),android)
91     # No HTTP stack is specified, pickup the one we want as default.
92     ifeq ($(USE_ALT_HTTP),true)
93       HTTP_STACK = $(ALT_HTTP)
94     else
95       HTTP_STACK = $(DEFAULT_HTTP)
96     endif
97   endif
98 endif
99
100 # The Chrome stack can not be used with JSC and hence can not be used be used
101 # with the simulator.
102 ifeq ($(JAVASCRIPT_ENGINE),jsc)
103   ifeq ($(HTTP_STACK),chrome)
104     $(error Can not build with JSC and the Chrome HTTP stack)
105   endif
106 endif
107
108 # Read the environment variable to determine if Autofill is compiled.
109 # The default is on. Chrome HTTP stack must be used when Autofill
110 # is turned on.
111 ifneq ($(ENABLE_AUTOFILL),false)
112   ENABLE_AUTOFILL = true
113 endif
114 ifneq ($(HTTP_STACK),chrome)
115   ENABLE_AUTOFILL = false
116 endif
117
118 BASE_PATH := $(call my-dir)
119 include $(CLEAR_VARS)
120
121 # Define our module and find the intermediates directory
122 LOCAL_MODULE := libwebcore
123 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
124 base_intermediates := $(call local-intermediates-dir)
125
126 # Using := here prevents recursive expansion
127 WEBKIT_SRC_FILES :=
128
129 # We have to use bison 2.3
130 include $(BASE_PATH)/bison_check.mk
131
132 # Build our list of include paths. We include WebKit/android/icu first so that
133 # any files that include <unicode/ucnv.h> will include our ucnv.h first. We
134 # also add external/ as an include directory so that we can specify the real
135 # icu header directory as a more exact reference to avoid including our ucnv.h.
136 #
137 # Note that JavasCriptCore/ must be included after WebCore/, so that we pick up
138 # the right config.h.
139 LOCAL_C_INCLUDES := \
140         $(JNI_H_INCLUDE) \
141         $(LOCAL_PATH)/WebKit/android/icu \
142         external/ \
143         external/icu4c/common \
144         external/icu4c/i18n \
145         external/libxml2/include \
146         external/libxslt \
147         external/hyphenation \
148         external/skia/emoji \
149         external/skia/include/core \
150         external/skia/include/effects \
151         external/skia/include/images \
152         external/skia/include/ports \
153         external/skia/include/utils \
154         external/skia/src/ports \
155         external/sqlite/dist \
156         frameworks/base/core/jni/android/graphics \
157         frameworks/base/include
158
159 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
160         $(LOCAL_PATH)/WebCore \
161         $(LOCAL_PATH)/WebCore/accessibility \
162         $(LOCAL_PATH)/WebCore/bindings/ \
163         $(LOCAL_PATH)/WebCore/bindings/generic \
164         $(LOCAL_PATH)/WebCore/css \
165         $(LOCAL_PATH)/WebCore/dom \
166         $(LOCAL_PATH)/WebCore/editing \
167         $(LOCAL_PATH)/WebCore/fileapi \
168         $(LOCAL_PATH)/WebCore/history \
169         $(LOCAL_PATH)/WebCore/history/android \
170         $(LOCAL_PATH)/WebCore/html \
171         $(LOCAL_PATH)/WebCore/html/canvas \
172         $(LOCAL_PATH)/WebCore/html/parser \
173         $(LOCAL_PATH)/WebCore/inspector \
174         $(LOCAL_PATH)/WebCore/loader \
175         $(LOCAL_PATH)/WebCore/loader/appcache \
176         $(LOCAL_PATH)/WebCore/loader/archive \
177         $(LOCAL_PATH)/WebCore/loader/archive/android \
178         $(LOCAL_PATH)/WebCore/loader/cache \
179         $(LOCAL_PATH)/WebCore/loader/icon \
180         $(LOCAL_PATH)/WebCore/notifications \
181         $(LOCAL_PATH)/WebCore/page \
182         $(LOCAL_PATH)/WebCore/page/android \
183         $(LOCAL_PATH)/WebCore/page/animation \
184         $(LOCAL_PATH)/WebCore/platform \
185         $(LOCAL_PATH)/WebCore/platform/android \
186         $(LOCAL_PATH)/WebCore/platform/animation \
187         $(LOCAL_PATH)/WebCore/platform/graphics \
188         $(LOCAL_PATH)/WebCore/platform/graphics/android \
189         $(LOCAL_PATH)/WebCore/platform/graphics/filters \
190         $(LOCAL_PATH)/WebCore/platform/graphics/gpu \
191         $(LOCAL_PATH)/WebCore/platform/graphics/network \
192         $(LOCAL_PATH)/WebCore/platform/graphics/skia \
193         $(LOCAL_PATH)/WebCore/platform/graphics/transforms \
194         $(LOCAL_PATH)/WebCore/platform/image-decoders \
195         $(LOCAL_PATH)/WebCore/platform/image-decoders/bmp \
196         $(LOCAL_PATH)/WebCore/platform/image-decoders/gif \
197         $(LOCAL_PATH)/WebCore/platform/image-decoders/ico \
198         $(LOCAL_PATH)/WebCore/platform/image-decoders/jpeg \
199         $(LOCAL_PATH)/WebCore/platform/image-decoders/png \
200         $(LOCAL_PATH)/WebCore/platform/image-decoders/webp \
201         $(LOCAL_PATH)/WebCore/platform/mock \
202         $(LOCAL_PATH)/WebCore/platform/network \
203         $(LOCAL_PATH)/WebCore/platform/network/android \
204         $(LOCAL_PATH)/WebCore/platform/sql \
205         $(LOCAL_PATH)/WebCore/platform/text \
206         $(LOCAL_PATH)/WebCore/platform/text/transcoder \
207         $(LOCAL_PATH)/WebCore/plugins \
208         $(LOCAL_PATH)/WebCore/plugins/android \
209         $(LOCAL_PATH)/WebCore/rendering \
210         $(LOCAL_PATH)/WebCore/rendering/style \
211         $(LOCAL_PATH)/WebCore/rendering/svg \
212         $(LOCAL_PATH)/WebCore/storage \
213         $(LOCAL_PATH)/WebCore/svg \
214         $(LOCAL_PATH)/WebCore/svg/animation \
215         $(LOCAL_PATH)/WebCore/svg/graphics \
216         $(LOCAL_PATH)/WebCore/svg/graphics/filters \
217         $(LOCAL_PATH)/WebCore/svg/properties \
218         $(LOCAL_PATH)/WebCore/websockets \
219         $(LOCAL_PATH)/WebCore/workers \
220         $(LOCAL_PATH)/WebCore/xml
221
222 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
223         $(LOCAL_PATH)/WebKit/android \
224         $(LOCAL_PATH)/WebKit/android/WebCoreSupport \
225         $(LOCAL_PATH)/WebKit/android/jni \
226         $(LOCAL_PATH)/WebKit/android/nav \
227         $(LOCAL_PATH)/WebKit/android/plugins
228
229 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
230         $(LOCAL_PATH)/JavaScriptCore \
231         $(LOCAL_PATH)/JavaScriptCore/wtf \
232         $(LOCAL_PATH)/JavaScriptCore/wtf/unicode \
233         $(LOCAL_PATH)/JavaScriptCore/wtf/unicode/icu
234
235 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
236         $(base_intermediates)/WebCore/ \
237         $(base_intermediates)/WebCore/css \
238         $(base_intermediates)/WebCore/html \
239         $(base_intermediates)/WebCore/platform
240
241 # The following includes are needed by the AutoFill feature, or the chrome http
242 # stack
243 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
244         $(LOCAL_PATH)/WebKit/chromium \
245         $(LOCAL_PATH)/WebKit/chromium/public \
246         external/chromium/chrome/browser \
247         external/chromium/chrome/renderer \
248         external/chromium \
249         external/chromium/chrome \
250         external/skia
251
252 ifeq ($(JAVASCRIPT_ENGINE),v8)
253 # Include WTF source file.
254 d := JavaScriptCore
255 LOCAL_PATH := $(BASE_PATH)/$d
256 intermediates := $(base_intermediates)/$d
257 include $(LOCAL_PATH)/Android.v8.wtf.mk
258 WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
259 endif  # JAVASCRIPT_ENGINE == v8
260
261 # Include source files for WebCore
262 d := WebCore
263 LOCAL_PATH := $(BASE_PATH)/$d
264 JAVASCRIPTCORE_PATH := $(BASE_PATH)/JavaScriptCore
265 intermediates := $(base_intermediates)/$d
266 include $(LOCAL_PATH)/Android.mk
267 ifeq ($(JAVASCRIPT_ENGINE),jsc)
268 include $(LOCAL_PATH)/Android.jscbindings.mk
269 endif
270 ifeq ($(JAVASCRIPT_ENGINE),v8)
271 include $(LOCAL_PATH)/Android.v8bindings.mk
272 endif
273 WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
274 LOCAL_C_INCLUDES += $(BINDING_C_INCLUDES)
275
276 # Include the derived source files for WebCore. Uses the same path as
277 # WebCore
278 include $(LOCAL_PATH)/Android.derived.mk
279 ifeq ($(JAVASCRIPT_ENGINE),jsc)
280 include $(LOCAL_PATH)/Android.derived.jscbindings.mk
281 endif
282 ifeq ($(JAVASCRIPT_ENGINE),v8)
283 include $(LOCAL_PATH)/Android.derived.v8bindings.mk
284 endif
285
286 # Include source files for android WebKit port
287 d := WebKit
288 LOCAL_PATH := $(BASE_PATH)/$d
289 intermediates := $(base_intermediates)/$d
290 include $(LOCAL_PATH)/Android.mk
291 WEBKIT_SRC_FILES += $(addprefix $d/,$(LOCAL_SRC_FILES))
292
293 # Redefine LOCAL_PATH here so the build system is not confused
294 LOCAL_PATH := $(BASE_PATH)
295
296 # Define our compiler flags
297 LOCAL_CFLAGS += -Wno-endif-labels -Wno-import -Wno-format
298 LOCAL_CFLAGS += -fno-strict-aliasing
299 LOCAL_CFLAGS += -include "WebCorePrefix.h"
300 LOCAL_CFLAGS += -fvisibility=hidden
301 LOCAL_CFLAGS += -DALWAYS_INLINE=inline
302 # Make sure assert.h is included before assert is defined
303 LOCAL_CFLAGS += -include "assert.h"
304 ifeq ($(HTTP_STACK),chrome)
305 LOCAL_CFLAGS += -DGOOGLEURL
306 LOCAL_CFLAGS += -DWTF_USE_CHROME_NETWORK_STACK
307 endif # HTTP_STACK == chrome
308 LOCAL_CPPFLAGS := -Wno-sign-promo
309
310 # Adds GL and EGL extensions for the GL backend
311 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
312
313 # Enable JSC JIT if JSC is used and ENABLE_JSC_JIT environment
314 # variable is set to true
315 ifeq ($(JAVASCRIPT_ENGINE),jsc)
316 ifeq ($(ENABLE_JSC_JIT),true)
317 LOCAL_CFLAGS += -DENABLE_ANDROID_JSC_JIT=1
318 endif
319 endif
320
321 ifeq ($(TARGET_ARCH),arm)
322 LOCAL_CFLAGS += -Darm
323 # remove this warning: "note: the mangling of 'va_list' has changed in GCC 4.4"
324 LOCAL_CFLAGS += -Wno-psabi
325 endif
326
327 # need a flag to tell the C side when we're on devices with large memory
328 # budgets (i.e. larger than the low-end devices that initially shipped)
329 ifeq ($(ARCH_ARM_HAVE_VFP),true)
330 LOCAL_CFLAGS += -DANDROID_LARGE_MEMORY_DEVICE
331 endif
332
333 ifeq ($(ENABLE_SVG),true)
334 LOCAL_CFLAGS += -DENABLE_SVG=1 -DENABLE_SVG_ANIMATION=1
335 endif
336
337 ifeq ($(ENABLE_WTF_USE_ACCELERATED_COMPOSITING),false)
338 LOCAL_CFLAGS += -DWTF_USE_ACCELERATED_COMPOSITING=0
339 endif
340
341 ifeq ($(ENABLE_WTF_USE_ACCELERATED_COMPOSITING),true)
342 LOCAL_CFLAGS += -DWTF_USE_ACCELERATED_COMPOSITING=1
343 endif
344
345 ifeq ($(WEBCORE_INSTRUMENTATION),true)
346 LOCAL_CFLAGS += -DANDROID_INSTRUMENT
347 endif
348
349 # LOCAL_LDLIBS is used in simulator builds only and simulator builds are only
350 # valid on Linux
351 LOCAL_LDLIBS += -lpthread -ldl
352
353 # Build the list of shared libraries
354 LOCAL_SHARED_LIBRARIES := \
355         libandroid_runtime \
356         libnativehelper \
357         libsqlite \
358         libskia \
359         libutils \
360         libui \
361         libcutils \
362         libicuuc \
363         libicui18n \
364         libmedia \
365         libsurfaceflinger_client \
366         libEGL \
367         libGLESv2 \
368         libgui
369
370 ifeq ($(WEBCORE_INSTRUMENTATION),true)
371 LOCAL_SHARED_LIBRARIES += libhardware_legacy
372 endif
373
374 # We have to use the android version of libdl when we are not on the simulator
375 ifneq ($(TARGET_SIMULATOR),true)
376 LOCAL_SHARED_LIBRARIES += libdl libstlport
377 # We have to fake out some headers when using stlport.
378 LOCAL_C_INCLUDES += \
379         external/chromium/android
380 include external/stlport/libstlport.mk
381 endif
382
383 # We need Harfbuzz library to support complex scripts(Arabic, Thai, Hindi...).
384 ifeq ($(SUPPORT_COMPLEX_SCRIPTS),true)
385 LOCAL_C_INCLUDES := $(LOCAL_C_INCLUDES) \
386         external/harfbuzz/src \
387         external/harfbuzz/contrib
388 LOCAL_SHARED_LIBRARIES += libharfbuzz
389 LOCAL_CFLAGS += -DSUPPORT_COMPLEX_SCRIPTS=1
390 endif
391
392 # Build the list of static libraries
393 LOCAL_STATIC_LIBRARIES := libxml2 libxslt libhyphenation
394 ifeq ($(JAVASCRIPT_ENGINE),v8)
395 LOCAL_STATIC_LIBRARIES += libv8
396 endif
397
398 ifeq ($(HTTP_STACK),chrome)
399 LOCAL_STATIC_LIBRARIES += libchromium_net
400 LOCAL_SHARED_LIBRARIES += libcrypto libssl libz
401 endif # HTTP_STACK == chrome
402
403 ifeq ($(ENABLE_AUTOFILL),true)
404 LOCAL_SHARED_LIBRARIES += libexpat
405 endif
406
407 # Redefine LOCAL_SRC_FILES to be all the WebKit source files
408 LOCAL_SRC_FILES := $(WEBKIT_SRC_FILES)
409
410 # Define this for use in other makefiles.
411 WEBKIT_C_INCLUDES := $(LOCAL_C_INCLUDES)
412 WEBKIT_CFLAGS := $(LOCAL_CFLAGS)
413 WEBKIT_CPPFLAGS := $(LOCAL_CPPFLAGS)
414 WEBKIT_GENERATED_SOURCES := $(LOCAL_GENERATED_SOURCES)
415 WEBKIT_LDLIBS := $(LOCAL_LDLIBS)
416 WEBKIT_SHARED_LIBRARIES := $(LOCAL_SHARED_LIBRARIES)
417 WEBKIT_STATIC_LIBRARIES := $(LOCAL_STATIC_LIBRARIES)
418
419 # Build the library all at once
420 include $(BUILD_STATIC_LIBRARY)
421
422 ifeq ($(JAVASCRIPT_ENGINE),jsc)
423 # Now build libjs as a static library.
424 include $(CLEAR_VARS)
425 LOCAL_MODULE := libjs
426 LOCAL_LDLIBS := $(WEBKIT_LDLIBS)
427 LOCAL_SHARED_LIBRARIES := $(WEBKIT_SHARED_LIBRARIES)
428 LOCAL_STATIC_LIBRARIES := $(WEBKIT_STATIC_LIBRARIES)
429 LOCAL_CFLAGS := $(WEBKIT_CFLAGS)
430 # Include source files for JavaScriptCore
431 d := JavaScriptCore
432 LOCAL_PATH := $(BASE_PATH)/$d
433 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
434 # Cannot use base_intermediates as this is a new module
435 intermediates := $(call local-intermediates-dir)
436 include $(LOCAL_PATH)/Android.mk
437 # Redefine LOCAL_SRC_FILES with the correct prefix
438 LOCAL_SRC_FILES := $(addprefix $d/,$(LOCAL_SRC_FILES))
439 # Use the base path to resolve file names
440 LOCAL_PATH := $(BASE_PATH)
441 # Append jsc intermediate include paths to the WebKit include list.
442 LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES) \
443         $(intermediates) \
444         $(intermediates)/parser \
445         $(intermediates)/runtime \
446 # Build libjs
447 include $(BUILD_STATIC_LIBRARY)
448 endif  # JAVASCRIPT_ENGINE == jsc
449
450 # Now build the shared library using only the exported jni entry point. This
451 # will strip out any unused code from the entry point.
452 include $(CLEAR_VARS)
453 # if you need to make webcore huge (for debugging), enable this line
454 #LOCAL_PRELINK_MODULE := false
455 LOCAL_MODULE := libwebcore
456 LOCAL_LDLIBS := $(WEBKIT_LDLIBS)
457 LOCAL_SHARED_LIBRARIES := $(WEBKIT_SHARED_LIBRARIES)
458 LOCAL_STATIC_LIBRARIES := libwebcore $(WEBKIT_STATIC_LIBRARIES)
459 ifeq ($(JAVASCRIPT_ENGINE),jsc)
460 LOCAL_STATIC_LIBRARIES += libjs
461 endif
462 LOCAL_LDFLAGS := -fvisibility=hidden
463 LOCAL_CFLAGS := $(WEBKIT_CFLAGS)
464 LOCAL_CPPFLAGS := $(WEBKIT_CPPFLAGS)
465 LOCAL_C_INCLUDES := $(WEBKIT_C_INCLUDES)
466 LOCAL_PATH := $(BASE_PATH)
467 LOCAL_SRC_FILES := \
468         WebKit/android/jni/WebCoreJniOnLoad.cpp
469
470 ifeq ($(ENABLE_AUTOFILL),true)
471 # AutoFill requires some cpp files from Chromium to link with
472 # libchromium_net. We cannot compile them into libchromium_net
473 # because they have cpp file extensions, not .cc.
474 LOCAL_CFLAGS += -DWEBKIT_IMPLEMENTATION=1
475 LOCAL_SRC_FILES += \
476         WebKit/android/WebCoreSupport/autofill/MainThreadProxy.cpp \
477         WebKit/chromium/src/WebCString.cpp \
478         WebKit/chromium/src/WebRegularExpression.cpp \
479         WebKit/chromium/src/WebString.cpp
480 endif
481
482 # Do this dependency by hand. The reason we have to do this is because the
483 # headers that this file pulls in are generated during the build of webcore.
484 # We make all of our object files depend on those files so that they are built
485 # before we try to compile the file.
486 LOCAL_ADDITIONAL_DEPENDENCIES := $(filter %.h, $(WEBKIT_GENERATED_SOURCES))
487 include $(BUILD_SHARED_LIBRARY)
488
489 # Build the wds client
490 include $(BASE_PATH)/WebKit/android/wds/client/Android.mk
491
492 # Build the performance command line tool.
493 include $(BASE_PATH)/WebKit/android/benchmark/Android.mk
494
495 # Build the webkit merge tool.
496 include $(BASE_PATH)/WebKitTools/android/webkitmerge/Android.mk