OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ] | 7 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ] |
8 | 8 |
9 config("leveldatabase_config") { | 9 config("leveldatabase_config") { |
10 include_dirs = [ | 10 include_dirs = [ |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
110 | 110 |
111 deps = [ | 111 deps = [ |
112 "//base", | 112 "//base", |
113 "//base/third_party/dynamic_annotations", | 113 "//base/third_party/dynamic_annotations", |
114 "//third_party/re2", | 114 "//third_party/re2", |
115 "//third_party/snappy", | 115 "//third_party/snappy", |
116 ] | 116 ] |
117 } | 117 } |
118 | 118 |
119 if (!is_android) { | 119 if (!is_android) { |
120 if (is_win) { | |
121 cflags = [ "/wd4018" ] # Signed/unsigned mismatch in comparison. | |
brettw
2015/07/22 04:30:25
You'll want to put this above in the "leveldatabas
Peter Kasting
2015/07/22 05:58:08
That would explain the bot failure...
| |
122 } | |
123 | |
120 test("env_chromium_unittests") { | 124 test("env_chromium_unittests") { |
121 sources = [ | 125 sources = [ |
122 "env_chromium_unittest.cc", | 126 "env_chromium_unittest.cc", |
123 ] | 127 ] |
124 deps = [ | 128 deps = [ |
125 ":leveldatabase", | 129 ":leveldatabase", |
126 "//base/test:test_support", | 130 "//base/test:test_support", |
127 "//testing/gtest", | 131 "//testing/gtest", |
128 ] | 132 ] |
129 } | 133 } |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
318 sources = [ | 322 sources = [ |
319 "src/db/write_batch_test.cc", | 323 "src/db/write_batch_test.cc", |
320 ] | 324 ] |
321 configs -= [ "//build/config/compiler:chromium_code" ] | 325 configs -= [ "//build/config/compiler:chromium_code" ] |
322 configs += [ "//build/config/compiler:no_chromium_code" ] | 326 configs += [ "//build/config/compiler:no_chromium_code" ] |
323 deps = [ | 327 deps = [ |
324 ":leveldb_testutil", | 328 ":leveldb_testutil", |
325 ] | 329 ] |
326 } | 330 } |
327 } | 331 } |
OLD | NEW |