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 # Snappy is a compression library we use. | 5 # Snappy is a compression library we use. |
6 # TODO(brettw) It's not clear why this needs to be parameterized. | 6 # TODO(brettw) It's not clear why this needs to be parameterized. |
| 7 |
| 8 import("//testing/test.gni") |
| 9 |
7 use_snappy = true | 10 use_snappy = true |
8 | 11 |
9 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ] | 12 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ] |
10 | 13 |
11 config("leveldatabase_config") { | 14 config("leveldatabase_config") { |
12 include_dirs = [ | 15 include_dirs = [ |
13 ".", | 16 ".", |
14 "src", | 17 "src", |
15 "src/include", | 18 "src/include", |
16 ] | 19 ] |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 sources = [ | 329 sources = [ |
327 "src/db/write_batch_test.cc", | 330 "src/db/write_batch_test.cc", |
328 ] | 331 ] |
329 configs -= [ "//build/config/compiler:chromium_code" ] | 332 configs -= [ "//build/config/compiler:chromium_code" ] |
330 configs += [ "//build/config/compiler:no_chromium_code" ] | 333 configs += [ "//build/config/compiler:no_chromium_code" ] |
331 deps = [ | 334 deps = [ |
332 ":leveldb_testutil", | 335 ":leveldb_testutil", |
333 ] | 336 ] |
334 } | 337 } |
335 } | 338 } |
OLD | NEW |