| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 deps = [ | 110 deps = [ |
| 111 "//base", | 111 "//base", |
| 112 "//base/third_party/dynamic_annotations", | 112 "//base/third_party/dynamic_annotations", |
| 113 "//third_party/re2", | 113 "//third_party/re2", |
| 114 "//third_party/snappy", | 114 "//third_party/snappy", |
| 115 ] | 115 ] |
| 116 | 116 |
| 117 if (is_win) { | 117 if (is_win) { |
| 118 cflags = [ "/wd4018" ] # Signed/unsigned mismatch in comparison. | 118 cflags = [ "/wd4018" ] # Signed/unsigned mismatch in comparison. |
| 119 |
| 120 if (is_official_build) { |
| 121 # Function recursive on all control paths, crbug.com/620018 |
| 122 cflags += [ "/wd4717" ] |
| 123 } |
| 119 } | 124 } |
| 120 } | 125 } |
| 121 | 126 |
| 122 if (!is_android) { | 127 if (!is_android) { |
| 123 test("env_chromium_unittests") { | 128 test("env_chromium_unittests") { |
| 124 sources = [ | 129 sources = [ |
| 125 "env_chromium_unittest.cc", | 130 "env_chromium_unittest.cc", |
| 126 ] | 131 ] |
| 127 deps = [ | 132 deps = [ |
| 128 ":leveldatabase", | 133 ":leveldatabase", |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 sources = [ | 333 sources = [ |
| 329 "src/db/write_batch_test.cc", | 334 "src/db/write_batch_test.cc", |
| 330 ] | 335 ] |
| 331 configs -= [ "//build/config/compiler:chromium_code" ] | 336 configs -= [ "//build/config/compiler:chromium_code" ] |
| 332 configs += [ "//build/config/compiler:no_chromium_code" ] | 337 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 333 deps = [ | 338 deps = [ |
| 334 ":leveldb_testutil", | 339 ":leveldb_testutil", |
| 335 ] | 340 ] |
| 336 } | 341 } |
| 337 } | 342 } |
| OLD | NEW |