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

Unified Diff: third_party/WebKit/Source/wtf/BUILD.gn

Issue 1415753003: gn format everything. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert freetype-android change Created 5 years, 2 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 | « third_party/WebKit/Source/platform/heap/asm/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/BUILD.gn
diff --git a/third_party/WebKit/Source/wtf/BUILD.gn b/third_party/WebKit/Source/wtf/BUILD.gn
index 933389c6b78555d73b808d51d9e74f6a0d96b498..1af070d0383bb227e5fe9527d31815f19a4e6e9e 100644
--- a/third_party/WebKit/Source/wtf/BUILD.gn
+++ b/third_party/WebKit/Source/wtf/BUILD.gn
@@ -19,14 +19,13 @@ config("wtf_config") {
"_CRT_SECURE_NO_DEPRECATE",
"_SCL_SECURE_NO_DEPRECATE",
]
- include_dirs = [
- "os-win32",
- ]
+ include_dirs = [ "os-win32" ]
cflags = [
# Don't complain about calling specific versions of templatized
# functions (e.g. in RefPtrHashMap.h).
"/wd4344",
+
# dtoa, icu, etc. like doing assignment within conditional.
"/wd4706",
]
@@ -53,6 +52,7 @@ component("wtf") {
public_configs = [
":wtf_config",
+
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
"//third_party/WebKit/Source:features",
@@ -63,13 +63,9 @@ component("wtf") {
]
if (is_win) {
- sources -= [
- "ThreadingPthreads.cpp",
- ]
+ sources -= [ "ThreadingPthreads.cpp" ]
- cflags = [
- "/wd4068", # Unknown pragma.
- ]
+ cflags = [ "/wd4068" ] # Unknown pragma.
} else {
# Non-Windows.
sources -= [
@@ -86,11 +82,14 @@ component("wtf") {
}
if (is_mac) {
- libs = [ "CoreFoundation.framework", "Foundation.framework" ]
+ libs = [
+ "CoreFoundation.framework",
+ "Foundation.framework",
+ ]
} else {
sources -= [
- "text/StringImplCF.cpp",
"text/AtomicStringCF.cpp",
+ "text/StringImplCF.cpp",
]
}
}
@@ -110,7 +109,7 @@ test("wtf_unittests") {
cflags = [ "/wd4068" ] # Unknown pragma.
}
- configs += [ "//third_party/WebKit/Source:config", ]
+ configs += [ "//third_party/WebKit/Source:config" ]
deps = [
":test_support",
@@ -130,6 +129,7 @@ component("test_support") {
configs += [
":wtf_config",
+
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
"//third_party/WebKit/Source:config",
« no previous file with comments | « third_party/WebKit/Source/platform/heap/asm/BUILD.gn ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698