summaryrefslogtreecommitdiffstats
path: root/mojo/public/mojo.gni
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/public/mojo.gni')
-rw-r--r--mojo/public/mojo.gni6
1 files changed, 6 insertions, 0 deletions
diff --git a/mojo/public/mojo.gni b/mojo/public/mojo.gni
index 5cff440f..b310260 100644
--- a/mojo/public/mojo.gni
+++ b/mojo/public/mojo.gni
@@ -10,3 +10,9 @@ declare_args() {
# Whether to build the dart bindings.
mojo_use_dart = false
}
+
+# The absolute path to the directory containing the mojo public SDK (i.e., the
+# directory containing mojo/public). The build files within the Mojo public
+# SDK use this variable to allow themselves to be parameterized by the location
+# of the public SDK within a client repo.
+mojo_root = get_path_info("../..", "abspath")