| 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("mojo.gni") | 5 import("mojo.gni") |
| 6 import("mojo_sdk.gni") | 6 import("mojo_sdk.gni") |
| 7 | 7 |
| 8 # Generate a binary mojo application.The parameters of this template are those | 8 # Generate a binary mojo application.The parameters of this template are those |
| 9 # of a shared library. | 9 # of a shared library. |
| 10 template("mojo_native_application") { | 10 template("mojo_native_application") { |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 output = mojo_output | 204 output = mojo_output |
| 205 outputs = [ | 205 outputs = [ |
| 206 output, | 206 output, |
| 207 ] | 207 ] |
| 208 | 208 |
| 209 rebase_input = rebase_path(input, root_build_dir) | 209 rebase_input = rebase_path(input, root_build_dir) |
| 210 rebase_output = rebase_path(output, root_build_dir) | 210 rebase_output = rebase_path(output, root_build_dir) |
| 211 args = [ | 211 args = [ |
| 212 "--input=$rebase_input", | 212 "--input=$rebase_input", |
| 213 "--output=$rebase_output", | 213 "--output=$rebase_output", |
| 214 "--line=#!mojo:android_handler", | 214 "--line=#!mojo mojo:android_handler", |
| 215 ] | 215 ] |
| 216 } | 216 } |
| 217 } | 217 } |
| 218 } | 218 } |
| OLD | NEW |