Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(208)

Unified Diff: third_party/sqlite/BUILD.gn

Issue 779473002: gn format //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/speex/BUILD.gn ('k') | third_party/stp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/BUILD.gn
diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn
index be3f2d65b5d41344f0fda39759d7e9b95628352c..3d994d2053d70526240256ae413537542cd30064 100644
--- a/third_party/sqlite/BUILD.gn
+++ b/third_party/sqlite/BUILD.gn
@@ -10,6 +10,7 @@ source_set("sqlite") {
sources = [
"amalgamation/sqlite3.h",
"amalgamation/sqlite3.c",
+
# fts2.c currently has a lot of conflicts when added to
# the amalgamation. It is probably not worth fixing that.
"src/ext/fts2/fts2.c",
@@ -81,8 +82,10 @@ source_set("sqlite") {
cflags += [
# sqlite does `if (*a++ && *b++);` in a non-buggy way.
"-Wno-empty-body",
+
# sqlite has some `unsigned < 0` checks.
"-Wno-tautological-compare",
+
# Needed because we don't have this commit yet:
# https://github.com/mackyle/sqlite/commit/25df0fa050dcc9be7fb937b8e25be24049b3fef0
"-Wno-pointer-bool-conversion",
@@ -101,6 +104,7 @@ if (is_linux) {
sources = [
"src/src/shell.c",
"src/src/shell_icu_linux.c",
+
# Include a dummy c++ file to force linking of libstdc++.
"build_as_cpp.cc",
]
@@ -114,7 +118,11 @@ if (is_linux) {
if (is_ios) {
source_set("sqlite_regexp") {
- sources = [ "src/ext/icu/icu.c" ]
- deps = [ "//third_party/icu" ]
+ sources = [
+ "src/ext/icu/icu.c",
+ ]
+ deps = [
+ "//third_party/icu",
+ ]
}
}
« no previous file with comments | « third_party/speex/BUILD.gn ('k') | third_party/stp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698