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

Unified Diff: ui/gfx/BUILD.gn

Issue 773283006: Run gn format on all BUILD.gn files (gn version 306668) (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index e44b94a0573c22853c48febb72bab4b991bc3e1f..c178dcc55b0c0e389f22950a328caf2cf1e7c242 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -236,6 +236,7 @@ component("gfx") {
"render_text_harfbuzz.h",
"text_utils_skia.cc",
]
+
# These are the "native" rendering routines, only one should apply.
if (is_win) {
sources += [ "render_text_win.cc" ]
@@ -316,9 +317,7 @@ component("gfx") {
# Ozone stuff.
if (use_ozone) {
- sources += [
- "platform_font_ozone.cc",
- ]
+ sources += [ "platform_font_ozone.cc" ]
}
if (!use_aura) {
@@ -331,13 +330,9 @@ component("gfx") {
}
if (use_x11) {
- deps += [
- "//ui/gfx/x",
- ]
+ deps += [ "//ui/gfx/x" ]
} else {
- sources -= [
- "path_x11.cc",
- ]
+ sources -= [ "path_x11.cc" ]
}
if (use_pango) {
@@ -350,9 +345,7 @@ component("gfx") {
configs += [ "//build/config/linux:pangocairo" ]
}
if (use_pango && use_ozone) {
- sources -= [
- "platform_font_ozone.cc",
- ]
+ sources -= [ "platform_font_ozone.cc" ]
}
}
@@ -509,15 +502,11 @@ test("gfx_unittests") {
}
if (is_android || is_ios) {
- sources -= [
- "render_text_unittest.cc",
- ]
+ sources -= [ "render_text_unittest.cc" ]
}
if (use_aura) {
- sources -= [
- "screen_unittest.cc",
- ]
+ sources -= [ "screen_unittest.cc" ]
}
if (is_win) {

Powered by Google App Engine
This is Rietveld 408576698