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# wtf source files
27
28LOCAL_SRC_FILES := \
29	wtf/Assertions.cpp \
30	wtf/ByteArray.cpp \
31	wtf/CryptographicallyRandomNumber.cpp \
32	wtf/CurrentTime.cpp \
33	wtf/DateMath.cpp \
34	wtf/DecimalNumber.cpp \
35	wtf/FastMalloc.cpp \
36	wtf/HashTable.cpp \
37	wtf/MD5.cpp \
38	wtf/MainThread.cpp \
39	wtf/OSAllocatorPosix.cpp \
40	wtf/OSRandomSource.cpp \
41	wtf/PageAllocationAligned.cpp \
42	wtf/PageBlock.cpp \
43	wtf/RandomNumber.cpp \
44	wtf/RefCountedLeakCounter.cpp \
45	wtf/SHA1.cpp \
46	wtf/StackBounds.cpp \
47	wtf/TCSystemAlloc.cpp \
48	wtf/ThreadIdentifierDataPthreads.cpp \
49	wtf/Threading.cpp \
50	wtf/ThreadingPthreads.cpp \
51	wtf/WTFThreadData.cpp \
52	\
53	wtf/TypeTraits.cpp \
54	wtf/dtoa.cpp \
55	\
56	wtf/android/MainThreadAndroid.cpp \
57	\
58	wtf/text/AtomicString.cpp \
59	wtf/text/CString.cpp \
60	wtf/text/StringBuilder.cpp \
61	wtf/text/StringImpl.cpp \
62	wtf/text/StringStatics.cpp \
63	wtf/text/WTFString.cpp \
64	\
65	wtf/unicode/CollatorDefault.cpp \
66	wtf/unicode/UTF8.cpp \
67	\
68	wtf/unicode/icu/CollatorICU.cpp \
69	\
70	wtf/url/src/URLCharacterTypes.cpp \
71	wtf/url/src/URLEscape.cpp \
72	wtf/url/src/URLSegments.cpp \
73	\
74	yarr/YarrInterpreter.cpp \
75	yarr/YarrPattern.cpp
76
77REGEXP_JIT_TABLES := $(intermediates)/RegExpJitTables.h
78$(REGEXP_JIT_TABLES): PRIVATE_PATH := $(LOCAL_PATH)
79$(REGEXP_JIT_TABLES): PRIVATE_CUSTOM_TOOL = python $(PRIVATE_PATH)/create_regex_tables > $@
80$(REGEXP_JIT_TABLES): $(LOCAL_PATH)/create_regex_tables
81	$(transform-generated-source)
82
83LOCAL_GENERATED_SOURCES += $(REGEXP_JIT_TABLES)
84