| 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 import("//build/toolchain/toolchain.gni") | 5 import("//build/toolchain/toolchain.gni") |
| 6 import("//services/shell/public/constants.gni") | 6 import("//services/service_manager/public/constants.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
| 10 import("//build/config/zip.gni") | 10 import("//build/config/zip.gni") |
| 11 } | 11 } |
| 12 | 12 |
| 13 # Generates a Service "package", which includes: | 13 # Generates a Service "package", which includes: |
| 14 # . A self-named subdirectory | 14 # . A self-named subdirectory |
| 15 # . A binary .library | 15 # . A binary .library |
| 16 # . A resources subdirectory alongside .library that contains the contents of | 16 # . A resources subdirectory alongside .library that contains the contents of |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 if (defined(invoker.lib_dirs)) { | 79 if (defined(invoker.lib_dirs)) { |
| 80 lib_dirs = invoker.lib_dirs | 80 lib_dirs = invoker.lib_dirs |
| 81 } | 81 } |
| 82 if (defined(invoker.libs)) { | 82 if (defined(invoker.libs)) { |
| 83 libs = invoker.libs | 83 libs = invoker.libs |
| 84 } | 84 } |
| 85 | 85 |
| 86 data_deps = [] | 86 data_deps = [] |
| 87 if (!defined(invoker.avoid_runner_cycle) || !invoker.avoid_runner_cycle) { | 87 if (!defined(invoker.avoid_runner_cycle) || !invoker.avoid_runner_cycle) { |
| 88 # Give the user an out; as some Services are depended on by the runner. | 88 # Give the user an out; as some Services are depended on by the runner. |
| 89 data_deps += [ "//services/shell/standalone" ] | 89 data_deps += [ "//services/service_manager/standalone" ] |
| 90 } | 90 } |
| 91 if (defined(invoker.data_deps)) { | 91 if (defined(invoker.data_deps)) { |
| 92 data_deps += invoker.data_deps | 92 data_deps += invoker.data_deps |
| 93 } | 93 } |
| 94 data_deps += library_data_deps | 94 data_deps += library_data_deps |
| 95 | 95 |
| 96 deps = [ | 96 deps = [ |
| 97 "//mojo/public/c/system:set_thunks_for_app", | 97 "//mojo/public/c/system:set_thunks_for_app", |
| 98 "//services/shell/public/cpp:application_support", | 98 "//services/service_manager/public/cpp:application_support", |
| 99 ] | 99 ] |
| 100 | 100 |
| 101 deps += library_deps | 101 deps += library_deps |
| 102 if (defined(invoker.public_deps)) { | 102 if (defined(invoker.public_deps)) { |
| 103 public_deps = invoker.public_deps | 103 public_deps = invoker.public_deps |
| 104 } | 104 } |
| 105 if (defined(invoker.all_dependent_configs)) { | 105 if (defined(invoker.all_dependent_configs)) { |
| 106 all_dependent_configs = invoker.all_dependent_configs | 106 all_dependent_configs = invoker.all_dependent_configs |
| 107 } | 107 } |
| 108 if (defined(invoker.public_configs)) { | 108 if (defined(invoker.public_configs)) { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ] | 142 ] |
| 143 | 143 |
| 144 sources = [ | 144 sources = [ |
| 145 "${root_shlib_dir}/${library_name}", | 145 "${root_shlib_dir}/${library_name}", |
| 146 ] | 146 ] |
| 147 outputs = [ | 147 outputs = [ |
| 148 "${root_out_dir}/${packages_directory}/${base_target_name}/${output}", | 148 "${root_out_dir}/${packages_directory}/${base_target_name}/${output}", |
| 149 ] | 149 ] |
| 150 } | 150 } |
| 151 } | 151 } |
| OLD | NEW |