# Define an "os_include" variable that points at the OS-specific generated
# headers. These were generated by running the configure script offline.
-if (is_linux) {
+if (is_linux || is_android) {
os_include = "linux"
} else if (is_mac || is_ios) {
os_include = "mac"
cflags_c = [
"/wd4101", # Unreferenced local variable.
]
- } else if (is_linux) {
- # We need dl for dlopen() and friends.
- libs = [ "dl" ]
} else if (is_mac || is_android) {
# http://www.xmlsoft.org/threads.html says that this is required when using
# libxml from several threads, which can possibly happen in chrome. On