| OLD | NEW |
| 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 declare_args() { | 5 declare_args() { |
| 6 # Controls whether the build should uses the version of sqlite3 library | 6 # Controls whether the build should uses the version of sqlite3 library |
| 7 # shipped with the system (currently only supported on iOS) or the one | 7 # shipped with the system (currently only supported on iOS) or the one |
| 8 # shipped with Chromium source. | 8 # shipped with Chromium source. |
| 9 use_system_sqlite = is_ios | 9 use_system_sqlite = is_ios |
| 10 } | 10 } |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 sources = [ | 108 sources = [ |
| 109 "src/src/shell.c", | 109 "src/src/shell.c", |
| 110 "src/src/shell_icu_linux.c", | 110 "src/src/shell_icu_linux.c", |
| 111 | 111 |
| 112 # Include a dummy c++ file to force linking of libstdc++. | 112 # Include a dummy c++ file to force linking of libstdc++. |
| 113 "build_as_cpp.cc", | 113 "build_as_cpp.cc", |
| 114 ] | 114 ] |
| 115 | 115 |
| 116 deps = [ | 116 deps = [ |
| 117 ":sqlite", | 117 ":sqlite", |
| 118 "//build/config/sanitizers:deps", |
| 118 "//third_party/icu", | 119 "//third_party/icu", |
| 119 ] | 120 ] |
| 120 } | 121 } |
| 121 } | 122 } |
| 122 } | 123 } |
| 123 | 124 |
| 124 if (use_system_sqlite) { | 125 if (use_system_sqlite) { |
| 125 # iOS uses the version of sqlite3 shipped with the system instead of the | 126 # iOS uses the version of sqlite3 shipped with the system instead of the |
| 126 # version shipped with Chromium. Export a "sqlite" target so the change | 127 # version shipped with Chromium. Export a "sqlite" target so the change |
| 127 # can be localized to this file. | 128 # can be localized to this file. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 "//third_party/icu", | 166 "//third_party/icu", |
| 166 ] | 167 ] |
| 167 if (is_clang) { | 168 if (is_clang) { |
| 168 # src/ext/icu/icu.c uses assert(!"string") which causes warnings about | 169 # src/ext/icu/icu.c uses assert(!"string") which causes warnings about |
| 169 # conversion from string literal to bool. | 170 # conversion from string literal to bool. |
| 170 configs -= [ "//build/config/clang:extra_warnings" ] | 171 configs -= [ "//build/config/clang:extra_warnings" ] |
| 171 } | 172 } |
| 172 } | 173 } |
| 173 } | 174 } |
| 174 } | 175 } |
| OLD | NEW |