| 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("//mojo/public/mojo_constants.gni") | 6 import("//mojo/public/mojo_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") |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 lib_dirs = invoker.lib_dirs | 76 lib_dirs = invoker.lib_dirs |
| 77 } | 77 } |
| 78 if (defined(invoker.libs)) { | 78 if (defined(invoker.libs)) { |
| 79 libs = invoker.libs | 79 libs = invoker.libs |
| 80 } | 80 } |
| 81 | 81 |
| 82 data_deps = [] | 82 data_deps = [] |
| 83 if (!defined(invoker.avoid_runner_cycle) || !invoker.avoid_runner_cycle) { | 83 if (!defined(invoker.avoid_runner_cycle) || !invoker.avoid_runner_cycle) { |
| 84 # Give the user an out; as some mojo services are depended on by the | 84 # Give the user an out; as some mojo services are depended on by the |
| 85 # runner. | 85 # runner. |
| 86 data_deps += [ "//mojo/shell/standalone" ] | 86 data_deps += [ "//services/shell/standalone" ] |
| 87 } | 87 } |
| 88 if (defined(invoker.data_deps)) { | 88 if (defined(invoker.data_deps)) { |
| 89 data_deps += invoker.data_deps | 89 data_deps += invoker.data_deps |
| 90 } | 90 } |
| 91 data_deps += mojo_data_deps | 91 data_deps += mojo_data_deps |
| 92 | 92 |
| 93 deps = [ | 93 deps = [ |
| 94 "//mojo/platform_handle:for_shared_library", | 94 "//mojo/platform_handle:for_shared_library", |
| 95 "//mojo/public/c/system:for_shared_library", | 95 "//mojo/public/c/system:for_shared_library", |
| 96 ] | 96 ] |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 renaming_destinations = [ "${base_target_name}/${base_target_name}.mojo" ] | 261 renaming_destinations = [ "${base_target_name}/${base_target_name}.mojo" ] |
| 262 if (defined(invoker.resources)) { | 262 if (defined(invoker.resources)) { |
| 263 renaming_sources += invoker.resources | 263 renaming_sources += invoker.resources |
| 264 renaming_destinations += process_file_template( | 264 renaming_destinations += process_file_template( |
| 265 invoker.resources, | 265 invoker.resources, |
| 266 [ "$base_target_name/resources/{{source_file_part}}" ]) | 266 [ "$base_target_name/resources/{{source_file_part}}" ]) |
| 267 } | 267 } |
| 268 } | 268 } |
| 269 } | 269 } |
| 270 } | 270 } |
| OLD | NEW |