Index: third_party/sqlite/BUILD.gn |
diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn |
index 9745c5778724328ba4715f19472b7047b7ef932c..987ebdbad16e99409ef6012a9deb98d51aecd8b5 100644 |
--- a/third_party/sqlite/BUILD.gn |
+++ b/third_party/sqlite/BUILD.gn |
@@ -12,9 +12,7 @@ declare_args() { |
if (!use_system_sqlite) { |
config("sqlite_config") { |
if (is_component_build && is_win) { |
- defines += [ |
- "SQLITE_API=__declspec(dllimport)", |
- ] |
+ defines = [ "SQLITE_API=__declspec(dllimport)" ] |
} |
include_dirs = [ "." ] |
} |
@@ -38,14 +36,10 @@ if (!use_system_sqlite) { |
] |
if (is_component_build) { |
if (is_win) { |
- defines += [ |
- "SQLITE_API=__declspec(dllexport)", |
- ] |
- } else { |
- defines += [ |
- "SQLITE_API=__attribute__((visibility(\"default\")))", |
- ] |
- } |
+ defines += [ "SQLITE_API=__declspec(dllexport)" ] |
+ } else { |
+ defines += [ "SQLITE_API=__attribute__((visibility(\"default\")))" ] |
+ } |
} |
if (is_chromeos) { |
defines += [ |
@@ -100,8 +94,10 @@ if (!use_system_sqlite) { |
if (is_linux) { |
libs = [ "dl" ] |
} else if (is_mac || is_ios) { |
- libs = [ "CoreFoundation.framework" ] |
- libs = [ "CoreServices.framework" ] |
+ libs = [ |
+ "CoreFoundation.framework", |
+ "CoreServices.framework", |
Nico
2015/08/28 17:41:54
whoops
|
+ ] |
} else if (is_android) { |
defines += [ |
"SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576", |