| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("../../mojo_sdk.gni") | |
| 6 | |
| 7 config("mojo_sdk") { | |
| 8 include_dirs = [ | |
| 9 # Include paths in the Mojo public SDK are specified relative to the | |
| 10 # directory holding the SDK. | |
| 11 mojo_root, | |
| 12 | |
| 13 # The same goes for files generated from mojoms. | |
| 14 root_gen_dir + mojo_root, | |
| 15 | |
| 16 # Mojo C headers should be included as <mojo/...>. The | |
| 17 # mojo/public/c:c_config config theoretically makes this work, but this | |
| 18 # requires that everyone use public_deps correctly (in order to propagate | |
| 19 # the config). | |
| 20 # TODO(vtl): Try to fix everyone, so that this isn't necessary. (That, or | |
| 21 # consider using all_dependent_configs instead. | |
| 22 "$mojo_root/mojo/public/c/include", | |
| 23 ] | |
| 24 } | |
| OLD | NEW |