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

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: 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
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/rules.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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 sources = [ 332 sources = [
330 "src/db/write_batch_test.cc", 333 "src/db/write_batch_test.cc",
331 ] 334 ]
332 configs -= [ "//build/config/compiler:chromium_code" ] 335 configs -= [ "//build/config/compiler:chromium_code" ]
333 configs += [ "//build/config/compiler:no_chromium_code" ] 336 configs += [ "//build/config/compiler:no_chromium_code" ]
334 deps = [ 337 deps = [
335 ":leveldb_testutil", 338 ":leveldb_testutil",
336 ] 339 ]
337 } 340 }
338 } 341 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698