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

Side by Side Diff: third_party/sqlite/BUILD.gn

Issue 239543013: Work on Mac GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix line endings Created 6 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("sqlite_config") { 5 config("sqlite_config") {
6 include_dirs = [ "." ] 6 include_dirs = [ "." ]
7 } 7 }
8 8
9 source_set("sqlite") { 9 source_set("sqlite") {
10 sources = [ 10 sources = [
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 } else if (is_linux) { 58 } else if (is_linux) {
59 cflags += [ 59 cflags += [
60 # SQLite doesn"t believe in compiler warnings, 60 # SQLite doesn"t believe in compiler warnings,
61 # preferring testing. 61 # preferring testing.
62 # http://www.sqlite.org/faq.html#q17 62 # http://www.sqlite.org/faq.html#q17
63 "-Wno-int-to-pointer-cast", 63 "-Wno-int-to-pointer-cast",
64 "-Wno-pointer-to-int-cast", 64 "-Wno-pointer-to-int-cast",
65 ] 65 ]
66 libs = [ "dl" ] 66 libs = [ "dl" ]
67 } else if (is_mac || is_ios) { 67 } else if (is_mac || is_ios) {
68 libs += [ "CoreFoundation.framework" ] 68 libs = [ "CoreFoundation.framework" ]
69 } else if (is_android) { 69 } else if (is_android) {
70 defines += [ 70 defines += [
71 "HAVE_USLEEP=1", 71 "HAVE_USLEEP=1",
72 "SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576", 72 "SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=1048576",
73 "SQLITE_DEFAULT_AUTOVACUUM=1", 73 "SQLITE_DEFAULT_AUTOVACUUM=1",
74 "SQLITE_TEMP_STORE=3", 74 "SQLITE_TEMP_STORE=3",
75 "SQLITE_ENABLE_FTS3_BACKWARDS", 75 "SQLITE_ENABLE_FTS3_BACKWARDS",
76 "DSQLITE_DEFAULT_FILE_FORMAT=4", 76 "DSQLITE_DEFAULT_FILE_FORMAT=4",
77 ] 77 ]
78 } 78 }
(...skipping 29 matching lines...) Expand all
108 ] 108 ]
109 } 109 }
110 } 110 }
111 111
112 if (is_ios) { 112 if (is_ios) {
113 source_set("sqlite_regexp") { 113 source_set("sqlite_regexp") {
114 sources = [ "src/ext/icu/icu.c" ] 114 sources = [ "src/ext/icu/icu.c" ]
115 deps = [ "//third_party/icu" ] 115 deps = [ "//third_party/icu" ]
116 } 116 }
117 } 117 }
OLDNEW
« skia/BUILD.gn ('K') | « skia/skia_gn_files.gypi ('k') | tools/gn/secondary/chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698