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

Unified Diff: mojo/public/c/system/BUILD.gn

Issue 782693004: Update mojo sdk to rev f6c8ec07c01deebc13178d516225fd12695c3dc2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: hack mojo_system_impl gypi for android :| Created 6 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
Index: mojo/public/c/system/BUILD.gn
diff --git a/mojo/public/c/system/BUILD.gn b/mojo/public/c/system/BUILD.gn
index b12755f5693c5b975e8f4663b6bdc05e245b4098..d2393a497eaa883b02e516eb228f4393990303c9 100644
--- a/mojo/public/c/system/BUILD.gn
+++ b/mojo/public/c/system/BUILD.gn
@@ -2,11 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("../../mojo_sdk.gni")
+
# Depend on this target to use the types etc defined in the system without
# linking against a specific implementation of the system. To link against a
# particular implementation, use the :for_component or
# :for_shared_library targets, depending on the type of target you are.
-source_set("system") {
+mojo_sdk_source_set("system") {
sources = [
"buffer.h",
"core.h",
@@ -31,17 +33,18 @@ source_set("system") {
# For shared_library targets (e.g., a Mojo App), add
# //mojo/public/c/system:for_shared_library to your deps
+# TODO(jamesr): Eliminate the need for these targets. crbug.com/438701
group("for_shared_library") {
public_deps = [
":system",
]
if (is_component_build) {
deps = [
- "//mojo/edk/system",
+ "../../../edk/system",
]
} else {
deps = [
- "//mojo/public/platform/native:system_thunks",
+ "../../platform/native:system_thunks",
]
}
}
@@ -52,7 +55,7 @@ group("for_component") {
]
if (is_component_build) {
deps = [
- "//mojo/edk/system",
+ "../../../edk/system",
]
}
}

Powered by Google App Engine
This is Rietveld 408576698