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

Unified Diff: build/config/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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/compiled_action.gni ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/BUILD.gn
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
index 247954b7ce886c5a03b2a723dc4e64c59d683acd..bd803ef7884e4d0b6012d18b01e1b700e078dd6f 100644
--- a/build/config/BUILD.gn
+++ b/build/config/BUILD.gn
@@ -30,8 +30,8 @@ declare_args() {
config("feature_flags") {
# TODO(brettw) most of these need to be parameterized.
defines = [
- "CHROMIUM_BUILD",
- "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
+ "CHROMIUM_BUILD",
+ "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere.
]
if (cld_version > 0) {
@@ -234,9 +234,7 @@ config("debug") {
}
config("release") {
- defines = [
- "NDEBUG",
- ]
+ defines = [ "NDEBUG" ]
}
# Default libraries ------------------------------------------------------------
@@ -271,6 +269,7 @@ config("default_libs") {
"winmm.lib",
"winspool.lib",
"ws2_32.lib",
+
# Please don't add more stuff here. We should actually be making this
# list smaller, since all common things should be covered. If you need
# some extra libraries, please just add a libs = [ "foo.lib" ] to your
@@ -287,7 +286,7 @@ config("default_libs") {
# '<!(<(android_toolchain)/*-gcc -print-libgcc-file-name)',
"c",
"dl",
- "m"
+ "m",
]
} else if (is_mac) {
libs = [
@@ -308,8 +307,6 @@ config("default_libs") {
"UIKit.framework",
]
} else if (is_linux) {
- libs = [
- "dl",
- ]
+ libs = [ "dl" ]
}
}
« no previous file with comments | « build/compiled_action.gni ('k') | build/config/BUILDCONFIG.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698