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

Unified Diff: ipc/BUILD.gn

Issue 1501823003: Add //ui/* to "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/BUILD.gn
diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn
index dcc392e5df5ef8b3286a1f6ac47bbecc5c145f1c..d05cc79c89b8a05bba5375f8a28df6c0275de8fa 100644
--- a/ipc/BUILD.gn
+++ b/ipc/BUILD.gn
@@ -67,7 +67,6 @@ component("ipc") {
"ipc_message_start.h",
"ipc_message_utils.cc",
"ipc_message_utils.h",
- "ipc_param_traits.h",
"ipc_platform_file.cc",
"ipc_platform_file.h",
"ipc_platform_file_attachment_posix.cc",
@@ -120,6 +119,9 @@ component("ipc") {
defines = [ "IPC_IMPLEMENTATION" ]
+ public_deps = [
+ ":param_traits",
+ ]
deps = [
"//base",
@@ -134,6 +136,14 @@ component("ipc") {
}
}
+# This is provided as a separate target so other targets can provide param
+# traits implementations without necessarily linking to all of IPC.
+source_set("param_traits") {
+ public = [
+ "ipc_param_traits.h",
+ ]
+}
+
group("ipc_tests_run") {
testonly = true
deps = [
@@ -239,8 +249,10 @@ source_set("test_support") {
"test_util_mac.cc",
"test_util_mac.h",
]
- deps = [
+ public_deps = [
":ipc",
+ ]
+ deps = [
"//base",
"//base/test:test_support",
"//testing/gtest",
« no previous file with comments | « content/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698