Index: mojo/edk/mojo_edk.gni |
diff --git a/mojo/edk/mojo_edk.gni b/mojo/edk/mojo_edk.gni |
index efb2a5f46def6a7cb113b7e8f0ff6ade280351ba..60d6e9f6bc1a6b1be8aaa50cce6db1ad01aba492 100644 |
--- a/mojo/edk/mojo_edk.gni |
+++ b/mojo/edk/mojo_edk.gni |
@@ -2,13 +2,12 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("../../third_party/mojo/src/mojo/public/mojo_sdk.gni") |
+import("../../mojo/public/mojo_sdk.gni") |
# A mojo_edk_source_set is a mojo_sdk_source_set that does not restrict |
# external dependencies and understands the following additional variables, all |
# of which admit a list of the relevant elements specified relative to the |
# location of the Mojo EDK: |
-# allow_circular_mojo_edk_includes_from |
template("mojo_edk_source_set") { |
mojo_sdk_source_set(target_name) { |
if (defined(invoker.public_deps) || defined(invoker.deps)) { |
@@ -40,15 +39,6 @@ template("mojo_edk_source_set") { |
if (defined(invoker.allow_circular_includes_from)) { |
allow_circular_includes_from += invoker.allow_circular_includes_from |
} |
- if (defined(invoker.allow_circular_mojo_edk_includes_from)) { |
- foreach(edk_target, invoker.allow_circular_mojo_edk_includes_from) { |
- # Check that the EDK target was not mistakenly given as an absolute |
- # path. |
- assert(get_path_info(edk_target, "abspath") != edk_target) |
- allow_circular_includes_from += |
- [ rebase_path(edk_target, ".", mojo_root) ] |
- } |
- } |
if (defined(invoker.public_deps)) { |
public_deps = invoker.public_deps |