| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 data_deps += [ "//services/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 "//services/shell/public/cpp:application_support", |
| 96 ] | 97 ] |
| 97 | 98 |
| 98 deps += mojo_deps | 99 deps += mojo_deps |
| 99 if (defined(invoker.public_deps)) { | 100 if (defined(invoker.public_deps)) { |
| 100 public_deps = invoker.public_deps | 101 public_deps = invoker.public_deps |
| 101 } | 102 } |
| 102 if (defined(invoker.all_dependent_configs)) { | 103 if (defined(invoker.all_dependent_configs)) { |
| 103 all_dependent_configs = invoker.all_dependent_configs | 104 all_dependent_configs = invoker.all_dependent_configs |
| 104 } | 105 } |
| 105 if (defined(invoker.public_configs)) { | 106 if (defined(invoker.public_configs)) { |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 renaming_destinations = [ "${base_target_name}/${base_target_name}.mojo" ] | 262 renaming_destinations = [ "${base_target_name}/${base_target_name}.mojo" ] |
| 262 if (defined(invoker.resources)) { | 263 if (defined(invoker.resources)) { |
| 263 renaming_sources += invoker.resources | 264 renaming_sources += invoker.resources |
| 264 renaming_destinations += process_file_template( | 265 renaming_destinations += process_file_template( |
| 265 invoker.resources, | 266 invoker.resources, |
| 266 [ "$base_target_name/resources/{{source_file_part}}" ]) | 267 [ "$base_target_name/resources/{{source_file_part}}" ]) |
| 267 } | 268 } |
| 268 } | 269 } |
| 269 } | 270 } |
| 270 } | 271 } |
| OLD | NEW |