| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # The absolute path to the directory containing the mojo public SDK (i.e., the | 5 # The absolute path to the directory containing the mojo public SDK (i.e., the |
| 6 # directory containing mojo/public). The build files within the Mojo public | 6 # directory containing mojo/public). The build files within the Mojo public |
| 7 # SDK use this variable to allow themselves to be parameterized by the location | 7 # SDK use this variable to allow themselves to be parameterized by the location |
| 8 # of the public SDK within a client repo. | 8 # of the public SDK within a client repo. |
| 9 mojo_root = get_path_info("../..", "abspath") | 9 mojo_root = get_path_info("../..", "abspath") |
| 10 | 10 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 } | 130 } |
| 131 if (defined(invoker.mojo_sdk_deps)) { | 131 if (defined(invoker.mojo_sdk_deps)) { |
| 132 foreach(sdk_dep, invoker.mojo_sdk_deps) { | 132 foreach(sdk_dep, invoker.mojo_sdk_deps) { |
| 133 # Check that the SDK dep was not mistakenly given as an absolute path. | 133 # Check that the SDK dep was not mistakenly given as an absolute path. |
| 134 assert(get_path_info(sdk_dep, "abspath") != sdk_dep) | 134 assert(get_path_info(sdk_dep, "abspath") != sdk_dep) |
| 135 deps += [ rebase_path(sdk_dep, ".", mojo_root) ] | 135 deps += [ rebase_path(sdk_dep, ".", mojo_root) ] |
| 136 } | 136 } |
| 137 } | 137 } |
| 138 } | 138 } |
| 139 } | 139 } |
| OLD | NEW |