Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Side by Side Diff: build/secondary/third_party/leveldatabase/BUILD.gn

Issue 824263004: Move the test template to //testing/test.gni (part 2) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/secondary/third_party/cacheinvalidation/BUILD.gn ('k') | cc/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/cacheinvalidation/BUILD.gn ('k') | cc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698