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

Unified Diff: ui/views/BUILD.gn

Issue 704363002: XXX test gn format everything (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 1 month 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 | « ui/snapshot/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/BUILD.gn
diff --git a/ui/views/BUILD.gn b/ui/views/BUILD.gn
index 70c490758a9ad7c722a16532e2402fba62a59c63..62aaff1d789607af9054165d04be0c05a6c0df36 100644
--- a/ui/views/BUILD.gn
+++ b/ui/views/BUILD.gn
@@ -5,11 +5,10 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
-gypi_values = exec_script(
- "//build/gypi_to_gn.py",
- [ rebase_path("views.gyp") ],
- "scope",
- [ "views.gyp" ])
+gypi_values = exec_script("//build/gypi_to_gn.py",
+ [ rebase_path("views.gyp") ],
+ "scope",
+ [ "views.gyp" ])
component("views") {
sources = gypi_values.views_sources
@@ -67,7 +66,10 @@ component("views") {
if (is_win) {
sources += gypi_values.views_win_sources
cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- libs = [ "/imm32.lib", "oleacc.lib" ]
+ libs = [
+ "/imm32.lib",
+ "oleacc.lib",
+ ]
ldflags = [ "/DELAYLOAD:user32.dll" ]
deps += [
"//third_party/iaccessible2",
@@ -144,9 +146,7 @@ static_library("test_support") {
deps += [ "//ui/gfx/x" ]
}
if (use_ozone) {
- sources -= [
- "test/x11_property_change_waiter.cc",
- ]
+ sources -= [ "test/x11_property_change_waiter.cc" ]
}
}
@@ -180,9 +180,7 @@ test("views_unittests") {
]
if (is_chromeos) {
- sources -= [
- "ime/input_method_bridge_unittest.cc",
- ]
+ sources -= [ "ime/input_method_bridge_unittest.cc" ]
}
if (is_win) {
@@ -195,6 +193,7 @@ test("views_unittests") {
"oleacc.lib",
"comctl32.lib",
]
+
# TOOD(GYP)
#'msvs_settings': {
# 'VCManifestTool': {
« no previous file with comments | « ui/snapshot/BUILD.gn ('k') | url/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698