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

Unified Diff: mojo/public/BUILD.gn

Issue 549453004: GN: Fix compile errors with os==chromeos mojo/public build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@signed
Patch Set: Update description Created 6 years, 3 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
« no previous file with comments | « build/toolchain/cros/BUILD.gn ('k') | mojo/public/interfaces/bindings/tests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/BUILD.gn
diff --git a/mojo/public/BUILD.gn b/mojo/public/BUILD.gn
index 03aefb95e740eb544dc2afa51930d2dd7b271efa..1bd12b0e1811ed70718768b440abcfe3bb5c8a07 100644
--- a/mojo/public/BUILD.gn
+++ b/mojo/public/BUILD.gn
@@ -3,15 +3,12 @@
# found in the LICENSE file.
group("public") {
+ # Meta-target, don't link into production code.
+ testonly = true
deps = [
- "//mojo/public/c/system",
- "//mojo/public/cpp/application:standalone",
- "//mojo/public/cpp/bindings",
- "//mojo/public/cpp/environment:standalone",
- "//mojo/public/cpp/utility",
+ ":libmojo_sdk",
+ ":sdk",
"//mojo/public/interfaces/bindings/tests:test_interfaces",
- "//mojo/public/interfaces/application",
- "//mojo/public/js/bindings",
]
if (is_linux) {
@@ -27,3 +24,20 @@ group("public") {
]
}
}
+
+group("sdk") {
+ deps = [
+ "//mojo/public/c/system",
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/environment:standalone",
+ "//mojo/public/cpp/utility",
+ "//mojo/public/interfaces/application",
+ "//mojo/public/js/bindings",
+ ]
+}
+
+static_library("libmojo_sdk") {
+ complete_static_lib = true
+ deps = [ ":sdk" ]
+}
« no previous file with comments | « build/toolchain/cros/BUILD.gn ('k') | mojo/public/interfaces/bindings/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698