OLD | NEW |
1 # Copyright 2015 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 services produced | 5 # The absolute path to the directory containing the Mojo services. |
6 # out of Chromium. | |
7 mojo_services_root = get_path_info("../../..", "abspath") | 6 mojo_services_root = get_path_info("../../..", "abspath") |
8 | 7 |
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. | |
13 config("mojo_services") { | 8 config("mojo_services") { |
14 include_dirs = [ | 9 include_dirs = [ |
15 # Include paths in Chromium Mojo services' client-side code are specified | 10 # Include paths in Mojo services' client-side code are specified relative |
16 # relative to the directory holding the services' client-side code. | 11 # to the directory holding the services' client-side code. |
17 mojo_services_root, | 12 mojo_services_root, |
18 | 13 |
19 # The same goes for files generated from mojoms. | 14 # The same goes for files generated from mojoms. |
20 root_gen_dir + mojo_services_root, | 15 root_gen_dir + mojo_services_root, |
21 ] | 16 ] |
22 } | 17 } |
OLD | NEW |