re2.target.linux-x86_64.mk revision effb81e5f8246d0db0270817048dc992db66e9fb
1cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com# This file is generated by gyp; do not edit.
2cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com
3cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.cominclude $(CLEAR_VARS)
4cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com
5cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.comLOCAL_MODULE_CLASS := STATIC_LIBRARIES
6cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.comLOCAL_MODULE := third_party_re2_re2_gyp
7cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.comLOCAL_MODULE_SUFFIX := .a
8cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.comLOCAL_MODULE_TAGS := optional
9cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.comgyp_intermediate_dir := $(call local-intermediates-dir)
108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Make sure our deps are built first.
138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comGYP_TARGET_DEPENDENCIES :=
148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comGYP_GENERATED_OUTPUTS :=
168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Make sure our deps and generated files are built first.
188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_CPP_EXTENSION := .cc
218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_GENERATED_SOURCES :=
228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comGYP_COPIED_SOURCE_ORIGIN_DIRS :=
248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_SRC_FILES := \
268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/bitstate.cc \
278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/compile.cc \
288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/dfa.cc \
298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/filtered_re2.cc \
308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/mimics_pcre.cc \
318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/nfa.cc \
328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/onepass.cc \
338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/parse.cc \
348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/perl_groups.cc \
358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/prefilter.cc \
368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/prefilter_tree.cc \
378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/prog.cc \
388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/re2.cc \
398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/regexp.cc \
408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/set.cc \
418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/simplify.cc \
428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/tostring.cc \
438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/unicode_casefold.cc \
448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/re2/unicode_groups.cc \
458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/util/arena.cc \
468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/util/hash.cc \
478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/util/rune.cc \
488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/util/stringpiece.cc \
498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/util/stringprintf.cc \
508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	third_party/re2/util/strutil.cc
518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Flags passed to both C and C++ files.
548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comMY_CFLAGS_Debug := \
558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fstack-protector \
568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	--param=ssp-buffer-size=4 \
578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-exceptions \
588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-strict-aliasing \
598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-unused-parameter \
608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-missing-field-initializers \
618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fvisibility=hidden \
628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-pipe \
638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fPIC \
648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-unused-local-typedefs \
658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-format \
668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-m64 \
678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-march=x86-64 \
688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fuse-ld=gold \
698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-ffunction-sections \
708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-funwind-tables \
718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-g \
728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fstack-protector \
738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-short-enums \
748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-finline-limit=64 \
758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wa,--noexecstack \
768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-U_FORTIFY_SOURCE \
778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-extra \
788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-ignored-qualifiers \
798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-type-limits \
808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-unused-but-set-variable \
818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-address \
828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-format-security \
838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-return-type \
848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-sequence-point \
858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Os \
868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-g \
878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fomit-frame-pointer \
888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fdata-sections \
898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-ffunction-sections \
908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-funwind-tables
918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comMY_DEFS_Debug := \
938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DV8_DEPRECATION_WARNINGS' \
948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D_FILE_OFFSET_BITS=64' \
968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DNO_TCMALLOC' \
978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DDISABLE_NACL' \
988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DCHROMIUM_BUILD' \
998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_LIBJPEG_TURBO=1' \
1008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_PROPRIETARY_CODECS' \
1018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_CONFIGURATION_POLICY' \
1028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
1038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
1048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_EGLIMAGE=1' \
1058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DCLD_VERSION=1' \
1068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_PRINTING=1' \
1078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_MANAGED_USERS=1' \
1088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_OPENSSL=1' \
1098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_OPENSSL_CERTS=1' \
1108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DANDROID' \
1118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D__GNU_SOURCE=1' \
1128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_STLPORT=1' \
1138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
1148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DCHROME_BUILD_ID=""' \
1158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
1168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
1178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D_DEBUG'
1188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Include paths placed before CFLAGS/CPPFLAGS
1218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_C_INCLUDES_Debug := \
1228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(LOCAL_PATH)/third_party/re2 \
1238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(LOCAL_PATH) \
1248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(PWD)/frameworks/wilhelm/include \
1258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(PWD)/bionic \
1268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(PWD)/external/stlport/stlport
1278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Flags passed to only C++ (and not C) files.
1308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_CPPFLAGS_Debug := \
1318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-rtti \
1328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-threadsafe-statics \
1338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fvisibility-inlines-hidden \
1348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-deprecated \
1358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-non-virtual-dtor \
1368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-sign-promo \
1378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-non-virtual-dtor
1388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Flags passed to both C and C++ files.
1418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comMY_CFLAGS_Release := \
1428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fstack-protector \
1438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	--param=ssp-buffer-size=4 \
1448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-exceptions \
1458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-strict-aliasing \
1468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-unused-parameter \
1478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-missing-field-initializers \
1488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fvisibility=hidden \
1498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-pipe \
1508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fPIC \
1518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-unused-local-typedefs \
1528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-format \
1538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-m64 \
1548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-march=x86-64 \
1558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fuse-ld=gold \
1568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-ffunction-sections \
1578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-funwind-tables \
1588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-g \
1598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fstack-protector \
1608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-short-enums \
1618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-finline-limit=64 \
1628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wa,--noexecstack \
1638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-U_FORTIFY_SOURCE \
1648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-extra \
1658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-ignored-qualifiers \
1668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-type-limits \
1678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-unused-but-set-variable \
1688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-address \
1698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-format-security \
1708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-return-type \
1718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-sequence-point \
1728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Os \
1738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-ident \
1748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fdata-sections \
1758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-ffunction-sections \
1768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fomit-frame-pointer \
1778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-funwind-tables
1788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
1798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comMY_DEFS_Release := \
1808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DV8_DEPRECATION_WARNINGS' \
1818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \
1828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D_FILE_OFFSET_BITS=64' \
1838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DNO_TCMALLOC' \
1848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DDISABLE_NACL' \
1858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DCHROMIUM_BUILD' \
1868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_LIBJPEG_TURBO=1' \
1878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_PROPRIETARY_CODECS' \
1888cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_CONFIGURATION_POLICY' \
1898cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
1908cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
1918cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_EGLIMAGE=1' \
1928cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DCLD_VERSION=1' \
1938cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_PRINTING=1' \
1948cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DENABLE_MANAGED_USERS=1' \
1958cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_OPENSSL=1' \
1968cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_OPENSSL_CERTS=1' \
1978cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DANDROID' \
1988cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D__GNU_SOURCE=1' \
1998cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DUSE_STLPORT=1' \
2008cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
2018cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DCHROME_BUILD_ID=""' \
2028cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DNDEBUG' \
2038cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DNVALGRIND' \
2048cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	'-DDYNAMIC_ANNOTATIONS_ENABLED=0'
2058cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2068cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2078cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Include paths placed before CFLAGS/CPPFLAGS
2088cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_C_INCLUDES_Release := \
2098cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(LOCAL_PATH)/third_party/re2 \
2108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(LOCAL_PATH) \
2118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(PWD)/frameworks/wilhelm/include \
2128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(PWD)/bionic \
2138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	$(PWD)/external/stlport/stlport
2148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Flags passed to only C++ (and not C) files.
2178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_CPPFLAGS_Release := \
2188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-rtti \
2198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fno-threadsafe-statics \
2208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fvisibility-inlines-hidden \
2218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-deprecated \
2228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-non-virtual-dtor \
2238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-sign-promo \
2248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wno-non-virtual-dtor
2258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
2288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
2298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
2308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_ASFLAGS := $(LOCAL_CFLAGS)
2318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com### Rules for final target.
2328cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2338cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_LDFLAGS_Debug := \
2348cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--fatal-warnings \
2358cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-z,now \
2368cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-z,relro \
2378cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-z,noexecstack \
2388cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fPIC \
2398cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-m64 \
2408cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fuse-ld=gold \
2418cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-nostdlib \
2428cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--no-undefined \
2438cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--exclude-libs=ALL \
2448cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--gc-sections \
2458cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--warn-shared-textrel \
2468cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-O1 \
2478cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--as-needed
2488cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2498cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2508cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_LDFLAGS_Release := \
2518cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--fatal-warnings \
2528cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-z,now \
2538cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-z,relro \
2548cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-z,noexecstack \
2558cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fPIC \
2568cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-m64 \
2578cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-fuse-ld=gold \
2588cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-nostdlib \
2598cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--no-undefined \
2608cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--exclude-libs=ALL \
2618cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,-O1 \
2628cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--as-needed \
2638cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--gc-sections \
2648cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	-Wl,--warn-shared-textrel
2658cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2668cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2678cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
2688cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2698cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_STATIC_LIBRARIES :=
2708cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2718cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Enable grouping to fix circular references
2728cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_GROUP_STATIC_LIBRARIES := true
2738cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2748cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comLOCAL_SHARED_LIBRARIES := \
2758cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	libstlport \
2768cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com	libdl
2778cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2788cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Add target alias to "gyp_all_modules" target.
2798cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com.PHONY: gyp_all_modules
2808cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comgyp_all_modules: third_party_re2_re2_gyp
2818cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2828cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com# Alias gyp target name.
2838cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com.PHONY: re2
2848cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comre2: third_party_re2_re2_gyp
2858cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
2868cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.cominclude $(BUILD_STATIC_LIBRARY)
2878cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com