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

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

Issue 766573003: gn format //build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years 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 use_snappy = true 7 use_snappy = true
8 8
9 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ] 9 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ]
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 "src/include/leveldb/filter_policy.h", 63 "src/include/leveldb/filter_policy.h",
64 "src/include/leveldb/iterator.h", 64 "src/include/leveldb/iterator.h",
65 "src/include/leveldb/options.h", 65 "src/include/leveldb/options.h",
66 "src/include/leveldb/slice.h", 66 "src/include/leveldb/slice.h",
67 "src/include/leveldb/status.h", 67 "src/include/leveldb/status.h",
68 "src/include/leveldb/table.h", 68 "src/include/leveldb/table.h",
69 "src/include/leveldb/table_builder.h", 69 "src/include/leveldb/table_builder.h",
70 "src/include/leveldb/write_batch.h", 70 "src/include/leveldb/write_batch.h",
71 "src/port/port.h", 71 "src/port/port.h",
72 "src/port/port_example.h", 72 "src/port/port_example.h",
73
73 #"src/port/port_posix.cc", # We use the chromium port instead of this. 74 #"src/port/port_posix.cc", # We use the chromium port instead of this.
74 #"src/port/port_posix.h", 75 #"src/port/port_posix.h",
75 "src/table/block.cc", 76 "src/table/block.cc",
76 "src/table/block.h", 77 "src/table/block.h",
77 "src/table/block_builder.cc", 78 "src/table/block_builder.cc",
78 "src/table/block_builder.h", 79 "src/table/block_builder.h",
79 "src/table/filter_block.cc", 80 "src/table/filter_block.cc",
80 "src/table/filter_block.h", 81 "src/table/filter_block.h",
81 "src/table/format.cc", 82 "src/table/format.cc",
82 "src/table/format.h", 83 "src/table/format.h",
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 ] 199 ]
199 configs -= [ "//build/config/compiler:chromium_code" ] 200 configs -= [ "//build/config/compiler:chromium_code" ]
200 configs += [ "//build/config/compiler:no_chromium_code" ] 201 configs += [ "//build/config/compiler:no_chromium_code" ]
201 deps = [ 202 deps = [
202 ":leveldb_testutil", 203 ":leveldb_testutil",
203 ] 204 ]
204 } 205 }
205 206
206 test("leveldb_crc32c_test") { 207 test("leveldb_crc32c_test") {
207 sources = [ 208 sources = [
208 "src/util/crc32c_test.cc" 209 "src/util/crc32c_test.cc",
209 ] 210 ]
210 configs -= [ "//build/config/compiler:chromium_code" ] 211 configs -= [ "//build/config/compiler:chromium_code" ]
211 configs += [ "//build/config/compiler:no_chromium_code" ] 212 configs += [ "//build/config/compiler:no_chromium_code" ]
212 deps = [ 213 deps = [
213 ":leveldb_testutil", 214 ":leveldb_testutil",
214 ] 215 ]
215 } 216 }
216 217
217 test("leveldb_db_bench") { 218 test("leveldb_db_bench") {
218 sources = [ 219 sources = [
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 sources = [ 329 sources = [
329 "src/db/write_batch_test.cc", 330 "src/db/write_batch_test.cc",
330 ] 331 ]
331 configs -= [ "//build/config/compiler:chromium_code" ] 332 configs -= [ "//build/config/compiler:chromium_code" ]
332 configs += [ "//build/config/compiler:no_chromium_code" ] 333 configs += [ "//build/config/compiler:no_chromium_code" ]
333 deps = [ 334 deps = [
334 ":leveldb_testutil", 335 ":leveldb_testutil",
335 ] 336 ]
336 } 337 }
337 } 338 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/icu/BUILD.gn ('k') | build/secondary/third_party/libjpeg_turbo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698