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

Unified Diff: chromeos/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 | « chrome/utility/BUILD.gn ('k') | chromeos/ime/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/BUILD.gn
diff --git a/chromeos/BUILD.gn b/chromeos/BUILD.gn
index 33c47b15e77daf7962d7bceaccb58fdeb08aecba..b96da165545f72ecf6220db896900903296e6feb 100644
--- a/chromeos/BUILD.gn
+++ b/chromeos/BUILD.gn
@@ -8,17 +8,16 @@ import("//third_party/protobuf/proto_library.gni")
assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos")
-gypi_values = exec_script(
- "//build/gypi_to_gn.py",
- [ rebase_path("chromeos.gyp") ],
- "scope",
- [ "chromeos.gyp" ])
+gypi_values = exec_script("//build/gypi_to_gn.py",
+ [ rebase_path("chromeos.gyp") ],
+ "scope",
+ [ "chromeos.gyp" ])
component("chromeos") {
- configs += [
- "//net/third_party/nss/ssl:ssl_config",
+ configs += [ "//net/third_party/nss/ssl:ssl_config" ]
+ public_deps = [
+ "//dbus",
]
- public_deps = [ "//dbus" ]
deps = [
"//base",
"//base:prefs",
@@ -35,7 +34,7 @@ component("chromeos") {
"//ui/accelerometer",
"//url",
":cryptohome_proto",
- ":power_manager_proto"
+ ":power_manager_proto",
]
sources = gypi_values.chromeos_sources
defines = [ "CHROMEOS_IMPLEMENTATION" ]
@@ -56,9 +55,7 @@ component("chromeos") {
static_library("test_support") {
testonly = true
- configs += [
- "//build/config/linux:dbus",
- ]
+ configs += [ "//build/config/linux:dbus" ]
deps = [
"//testing/gmock",
":chromeos",
@@ -114,9 +111,7 @@ static_library("test_support") {
static_library("test_support_without_gmock") {
testonly = true
- configs += [
- "//build/config/linux:dbus",
- ]
+ configs += [ "//build/config/linux:dbus" ]
deps = [
"//crypto",
":chromeos",
@@ -170,9 +165,7 @@ test("chromeos_unittests") {
deps += [ "//ui/gfx/x" ]
}
if (use_ozone) {
- sources -= [
- "ime/ime_keyboard_x11_unittest.cc",
- ]
+ sources -= [ "ime/ime_keyboard_x11_unittest.cc" ]
}
}
« no previous file with comments | « chrome/utility/BUILD.gn ('k') | chromeos/ime/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698