OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 services. | 5 # The absolute path to the directory containing the Mojo services produced |
| 6 # out of Chromium. |
6 mojo_services_root = get_path_info("../../..", "abspath") | 7 mojo_services_root = get_path_info("../../..", "abspath") |
7 | 8 |
| 9 # NOTE: This config name must be in sync with the name of the config used by |
| 10 # services that developed out of the Mojo repo so that Chromium's services' |
| 11 # BUILD.gn files can work seamlessly in Chromium and when pulled into Mojo or a |
| 12 # client repo. |
8 config("mojo_services") { | 13 config("mojo_services") { |
9 include_dirs = [ | 14 include_dirs = [ |
10 # Include paths in Mojo services' client-side code are specified relative | 15 # Include paths in Chromium Mojo services' client-side code are specified |
11 # to the directory holding the services' client-side code. | 16 # relative to the directory holding the services' client-side code. |
12 mojo_services_root, | 17 mojo_services_root, |
13 | 18 |
14 # The same goes for files generated from mojoms. | 19 # The same goes for files generated from mojoms. |
15 root_gen_dir + mojo_services_root, | 20 root_gen_dir + mojo_services_root, |
16 ] | 21 ] |
17 } | 22 } |
OLD | NEW |