| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 configs += [ "//build/config/compiler:no_chromium_code" ] | 107 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 108 | 108 |
| 109 public_configs = [ ":leveldatabase_config" ] | 109 public_configs = [ ":leveldatabase_config" ] |
| 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 | |
| 118 if (is_win) { | |
| 119 cflags = [ "/wd4018" ] # Signed/unsigned mismatch in comparison. | |
| 120 } | |
| 121 } | 117 } |
| 122 | 118 |
| 123 if (!is_android) { | 119 if (!is_android) { |
| 124 test("env_chromium_unittests") { | 120 test("env_chromium_unittests") { |
| 125 sources = [ | 121 sources = [ |
| 126 "env_chromium_unittest.cc", | 122 "env_chromium_unittest.cc", |
| 127 ] | 123 ] |
| 128 deps = [ | 124 deps = [ |
| 129 ":leveldatabase", | 125 ":leveldatabase", |
| 130 "//base/test:test_support", | 126 "//base/test:test_support", |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 sources = [ | 318 sources = [ |
| 323 "src/db/write_batch_test.cc", | 319 "src/db/write_batch_test.cc", |
| 324 ] | 320 ] |
| 325 configs -= [ "//build/config/compiler:chromium_code" ] | 321 configs -= [ "//build/config/compiler:chromium_code" ] |
| 326 configs += [ "//build/config/compiler:no_chromium_code" ] | 322 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 327 deps = [ | 323 deps = [ |
| 328 ":leveldb_testutil", | 324 ":leveldb_testutil", |
| 329 ] | 325 ] |
| 330 } | 326 } |
| 331 } | 327 } |
| OLD | NEW |