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

Unified Diff: tools/gn/secondary/third_party/leveldatabase/BUILD.gn

Issue 138273007: Convert GN single-item list concat to use lists. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/secondary/third_party/icu/BUILD.gn ('k') | tools/gn/secondary/third_party/libevent/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/secondary/third_party/leveldatabase/BUILD.gn
diff --git a/tools/gn/secondary/third_party/leveldatabase/BUILD.gn b/tools/gn/secondary/third_party/leveldatabase/BUILD.gn
index d1525384e414e439aa5239cd212c1510f63dd80d..d113aa5cf63e048c6da47cd5500a134164c54691 100644
--- a/tools/gn/secondary/third_party/leveldatabase/BUILD.gn
+++ b/tools/gn/secondary/third_party/leveldatabase/BUILD.gn
@@ -15,7 +15,7 @@ config("leveldatabase_config") {
"src/include",
]
if (is_win) {
- include_dirs += "src/port/win"
+ include_dirs += [ "src/port/win" ]
}
}
@@ -110,8 +110,8 @@ static_library("leveldatabase") {
"src/util/status.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
direct_dependent_configs = [ ":leveldatabase_config" ]
@@ -122,8 +122,8 @@ static_library("leveldatabase") {
]
if (use_snappy) {
- defines += "USE_SNAPPY=1"
- deps += "//third_party/snappy"
+ defines += [ "USE_SNAPPY=1" ]
+ deps += [ "//third_party/snappy" ]
}
}
@@ -149,8 +149,8 @@ static_library("leveldb_testutil") {
]
forward_dependent_configs_from = [ ":leveldatabase" ]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldatabase",
@@ -162,8 +162,8 @@ test("leveldb_arena_test") {
sources = [
"src/util/arena_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -173,8 +173,8 @@ test("leveldb_bloom_test") {
sources = [
"src/util/bloom_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -184,8 +184,8 @@ test("leveldb_cache_test") {
sources = [
"src/util/cache_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -195,8 +195,8 @@ test("leveldb_corruption_test") {
sources = [
"src/db/corruption_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -206,8 +206,8 @@ test("leveldb_crc32c_test") {
sources = [
"src/util/crc32c_test.cc"
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -217,8 +217,8 @@ test("leveldb_db_bench") {
sources = [
"src/db/db_bench.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -228,8 +228,8 @@ test("leveldb_db_test") {
sources = [
"src/db/db_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -239,8 +239,8 @@ test("leveldb_dbformat_test") {
sources = [
"src/db/dbformat_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -250,8 +250,8 @@ test("leveldb_env_test") {
sources = [
"src/util/env_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -261,8 +261,8 @@ test("leveldb_filename_test") {
sources = [
"src/db/filename_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -272,8 +272,8 @@ test("leveldb_filter_block_test") {
sources = [
"src/table/filter_block_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -283,8 +283,8 @@ test("leveldb_log_test") {
sources = [
"src/db/log_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -294,8 +294,8 @@ test("leveldb_skiplist_test") {
sources = [
"src/db/skiplist_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -305,8 +305,8 @@ test("leveldb_table_test") {
sources = [
"src/table/table_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -316,8 +316,8 @@ test("leveldb_version_edit_test") {
sources = [
"src/db/version_edit_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
@@ -327,8 +327,8 @@ test("leveldb_write_batch_test") {
sources = [
"src/db/write_batch_test.cc",
]
- configs -= "//build/config/compiler:chromium_code"
- configs += "//build/config/compiler:no_chromium_code"
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [ "//build/config/compiler:no_chromium_code" ]
deps = [
":leveldb_testutil",
]
« no previous file with comments | « tools/gn/secondary/third_party/icu/BUILD.gn ('k') | tools/gn/secondary/third_party/libevent/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698