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

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

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « third_party/snappy/BUILD.gn ('k') | third_party/usrsctp/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 if (is_clang) { 80 if (is_clang) {
81 cflags += [ 81 cflags += [
82 # sqlite does `if (*a++ && *b++);` in a non-buggy way. 82 # sqlite does `if (*a++ && *b++);` in a non-buggy way.
83 "-Wno-empty-body", 83 "-Wno-empty-body",
84 # sqlite has some `unsigned < 0` checks. 84 # sqlite has some `unsigned < 0` checks.
85 "-Wno-tautological-compare", 85 "-Wno-tautological-compare",
86 ] 86 ]
87 } 87 }
88 88
89 direct_dependent_configs = [ ":sqlite_config" ] 89 public_configs = [ ":sqlite_config" ]
90 90
91 deps = [ 91 deps = [
92 "//third_party/icu", 92 "//third_party/icu",
93 ] 93 ]
94 } 94 }
95 95
96 if (is_linux) { 96 if (is_linux) {
97 executable("sqlite_shell") { 97 executable("sqlite_shell") {
98 sources = [ 98 sources = [
99 "src/src/shell.c", 99 "src/src/shell.c",
100 "src/src/shell_icu_linux.c", 100 "src/src/shell_icu_linux.c",
101 # Include a dummy c++ file to force linking of libstdc++. 101 # Include a dummy c++ file to force linking of libstdc++.
102 "build_as_cpp.cc", 102 "build_as_cpp.cc",
103 ] 103 ]
104 104
105 deps = [ 105 deps = [
106 ":sqlite", 106 ":sqlite",
107 "//third_party/icu", 107 "//third_party/icu",
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
« no previous file with comments | « third_party/snappy/BUILD.gn ('k') | third_party/usrsctp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698