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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 import("//build/config/zip.gni") | 9 import("//build/config/zip.gni") |
10 } | 10 } |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 if (defined(invoker.lib_dirs)) { | 77 if (defined(invoker.lib_dirs)) { |
78 lib_dirs = invoker.lib_dirs | 78 lib_dirs = invoker.lib_dirs |
79 } | 79 } |
80 if (defined(invoker.libs)) { | 80 if (defined(invoker.libs)) { |
81 libs = invoker.libs | 81 libs = invoker.libs |
82 } | 82 } |
83 | 83 |
84 data_deps = service_data_deps | 84 data_deps = service_data_deps |
85 | 85 |
86 deps = [ | 86 deps = [ |
87 "//build/config/sanitizers:deps", | 87 "//build/config:exe_and_shlib_deps", |
88 "//services/service_manager/public/cpp/standalone_service:main", | 88 "//services/service_manager/public/cpp/standalone_service:main", |
89 ] | 89 ] |
90 | 90 |
91 deps += service_deps | 91 deps += service_deps |
92 if (defined(invoker.public_deps)) { | 92 if (defined(invoker.public_deps)) { |
93 public_deps = invoker.public_deps | 93 public_deps = invoker.public_deps |
94 } | 94 } |
95 if (defined(invoker.all_dependent_configs)) { | 95 if (defined(invoker.all_dependent_configs)) { |
96 all_dependent_configs = invoker.all_dependent_configs | 96 all_dependent_configs = invoker.all_dependent_configs |
97 } | 97 } |
(...skipping 16 matching lines...) Expand all Loading... |
114 public = invoker.public | 114 public = invoker.public |
115 } | 115 } |
116 if (defined(invoker.sources)) { | 116 if (defined(invoker.sources)) { |
117 sources = invoker.sources | 117 sources = invoker.sources |
118 } | 118 } |
119 if (defined(invoker.testonly)) { | 119 if (defined(invoker.testonly)) { |
120 testonly = invoker.testonly | 120 testonly = invoker.testonly |
121 } | 121 } |
122 } | 122 } |
123 } | 123 } |
OLD | NEW |