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

Unified Diff: tools/gn/secondary/third_party/libusb/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/libevent/BUILD.gn ('k') | tools/gn/secondary/third_party/libxml/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/libusb/BUILD.gn
diff --git a/tools/gn/secondary/third_party/libusb/BUILD.gn b/tools/gn/secondary/third_party/libusb/BUILD.gn
index cf159eac12dcaa29b5cae097cf7bc6cd966c1c1b..d4d6f6f900e89994eac778e99fcf39f0b5f51749 100644
--- a/tools/gn/secondary/third_party/libusb/BUILD.gn
+++ b/tools/gn/secondary/third_party/libusb/BUILD.gn
@@ -48,8 +48,8 @@ static_library("libusb") {
"src/libusb/os",
]
- 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 = [ ":libusb_config" ]
@@ -66,7 +66,7 @@ static_library("libusb") {
}
if (is_mac) {
- defines += "OS_DARWIN=1"
+ defines += [ "OS_DARWIN=1" ]
} else {
sources -= [
"src/libusb/os/darwin_usb.c",
@@ -81,7 +81,7 @@ static_library("libusb") {
"USE_UDEV=1",
"_GNU_SOURCE=1",
]
- configs += "//build/config/linux:udev"
+ configs += [ "//build/config/linux:udev" ]
} else {
sources -= [
"src/libusb/os/linux_udev.c",
@@ -91,9 +91,9 @@ static_library("libusb") {
}
if (is_win) {
- include_dirs += "src/msvc"
+ include_dirs += [ "src/msvc" ]
} else {
- include_dirs += "src"
+ include_dirs += [ "src" ]
sources -= [
"src/libusb/os/poll_windows.c",
"src/libusb/os/poll_windows.h",
« no previous file with comments | « tools/gn/secondary/third_party/libevent/BUILD.gn ('k') | tools/gn/secondary/third_party/libxml/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698