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

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

Issue 845363002: Fix include directories in Windows GN build. (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
« build/json_schema_api.gni ('K') | « build/json_schema_api.gni ('k') | no next file » | 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 use_snappy = true 7 use_snappy = true
8 8
9 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ] 9 defines = [ "LEVELDB_PLATFORM_CHROMIUM=1" ]
10 10
11 config("leveldatabase_config") { 11 config("leveldatabase_config") {
12 include_dirs = [ 12 include_dirs = [
13 ".", 13 ".",
14 "src", 14 "src",
15 "src/include", 15 "src/include",
16 ] 16 ]
17 if (is_win) {
18 include_dirs += [ "src/port/win" ]
Slava Chigrin 2015/01/13 15:46:05 See https://codereview.chromium.org/27089002/ . Du
19 }
20 } 17 }
21 18
22 static_library("leveldatabase") { 19 static_library("leveldatabase") {
23 sources = [ 20 sources = [
24 "env_chromium.cc", 21 "env_chromium.cc",
25 "env_chromium.h", 22 "env_chromium.h",
26 "env_idb.h", 23 "env_idb.h",
27 "port/port_chromium.cc", 24 "port/port_chromium.cc",
28 "port/port_chromium.h", 25 "port/port_chromium.h",
29 "src/db/builder.cc", 26 "src/db/builder.cc",
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 sources = [ 326 sources = [
330 "src/db/write_batch_test.cc", 327 "src/db/write_batch_test.cc",
331 ] 328 ]
332 configs -= [ "//build/config/compiler:chromium_code" ] 329 configs -= [ "//build/config/compiler:chromium_code" ]
333 configs += [ "//build/config/compiler:no_chromium_code" ] 330 configs += [ "//build/config/compiler:no_chromium_code" ]
334 deps = [ 331 deps = [
335 ":leveldb_testutil", 332 ":leveldb_testutil",
336 ] 333 ]
337 } 334 }
338 } 335 }
OLDNEW
« build/json_schema_api.gni ('K') | « build/json_schema_api.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698