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

Unified Diff: chrome/browser/chromeos/BUILD.gn

Issue 1208963003: Move GN obj files to target-specific dirs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: \ Created 5 years, 5 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
Index: chrome/browser/chromeos/BUILD.gn
diff --git a/chrome/browser/chromeos/BUILD.gn b/chrome/browser/chromeos/BUILD.gn
index 4abd9c4dc2ea2e3fb94e096405a7a3188b3b47ac..a2ddbad24b9be674fb479a28fa2cddaecc7d66a6 100644
--- a/chrome/browser/chromeos/BUILD.gn
+++ b/chrome/browser/chromeos/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//chrome/chrome_tests.gni")
import("//media/media_options.gni")
import("//third_party/protobuf/proto_library.gni")
@@ -28,6 +29,7 @@ source_set("chromeos") {
"//chrome:extra_resources",
"//chrome:resources",
"//chrome:strings",
+ "//components/wallpaper",
"//content/app/resources",
"//ui/chromeos/resources",
"//ui/chromeos/strings",
@@ -37,12 +39,14 @@ source_set("chromeos") {
deps = [
# TODO(tbarzic): Cleanup this list.
+ ":attestation_proto",
+ ":device_policy_proto",
+ ":drive_proto",
"//ash",
"//ash:ash_with_content",
"//components/login",
"//components/session_manager/core",
"//components/user_manager",
- "//components/wallpaper",
"//components/wifi_sync",
"//chrome/browser/devtools",
"//chrome/browser/extensions",
@@ -118,9 +122,6 @@ source_set("chromeos") {
"//ui/web_dialogs",
"//url",
"//v8",
- ":attestation_proto",
- ":device_policy_proto",
- ":drive_proto",
]
defines = []
@@ -160,6 +161,36 @@ source_set("chromeos") {
}
}
+source_set("unit_tests") {
+ testonly = true
+
+ sources = rebase_path(
+ chrome_tests_unit_gypi_values.chrome_unit_tests_chromeos_sources,
+ ".",
+ "//chrome")
+
+ public_deps = [
+ ":chromeos",
+ ]
+ deps = [
+ ":attestation_proto",
+ ":device_policy_proto",
+ ":drive_proto",
+ "//ash/resources",
+ "//components/policy",
+ "//components/invalidation/public",
+ "//crypto:platform",
+ "//dbus",
+ "//skia",
+ "//sync",
+ "//testing/gmock",
+ "//testing/gtest",
+ "//third_party/leveldatabase",
+ "//third_party/mojo/src/mojo/public/cpp/system:system",
+ "//ui/chromeos/resources",
+ ]
+}
+
proto_library("drive_proto") {
sources = [
"drive/drive.proto",
« no previous file with comments | « chrome/browser/apps/speech_recognition_browsertest.cc ('k') | chrome/browser/chromeos/drive/change_list_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698