| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/sanitizers/sanitizers.gni") | 6 import("//build/config/sanitizers/sanitizers.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
| 9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
| 10 | 10 |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 244 |
| 245 # These form the arguments to the script. | 245 # These form the arguments to the script. |
| 246 _rebased_out_dir = rebase_path(root_out_dir) | 246 _rebased_out_dir = rebase_path(root_out_dir) |
| 247 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") | 247 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") |
| 248 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh") | 248 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh") |
| 249 _rebased_manifest = rebase_path("//blimp/engine/engine-manifest.txt") | 249 _rebased_manifest = rebase_path("//blimp/engine/engine-manifest.txt") |
| 250 _bundle = "$root_out_dir/blimp_engine_bundle.tar.gz" | 250 _bundle = "$root_out_dir/blimp_engine_bundle.tar.gz" |
| 251 | 251 |
| 252 # Detail the target & "source"-file dependencies, and output, for GN. | 252 # Detail the target & "source"-file dependencies, and output, for GN. |
| 253 deps = [ | 253 deps = [ |
| 254 "//blimp/engine:blimp_engine", | 254 "//blimp/engine:blimp_engine_app", |
| 255 "//sandbox/linux:chrome_sandbox", |
| 255 ] | 256 ] |
| 256 sources = [ | 257 sources = [ |
| 257 _rebased_dockerfile, | 258 _rebased_dockerfile, |
| 258 _rebased_manifest, | 259 _rebased_manifest, |
| 259 _rebased_startup_script, | 260 _rebased_startup_script, |
| 260 ] | 261 ] |
| 261 outputs = [ | 262 outputs = [ |
| 262 _bundle, | 263 _bundle, |
| 263 ] | 264 ] |
| 264 | 265 |
| 265 # Manually specify the actual arguments to the script. | 266 # Manually specify the actual arguments to the script. |
| 266 args = [ | 267 args = [ |
| 267 "--build-dir", | 268 "--build-dir", |
| 268 _rebased_out_dir, | 269 _rebased_out_dir, |
| 269 "--dockerfile", | 270 "--dockerfile", |
| 270 _rebased_dockerfile, | 271 _rebased_dockerfile, |
| 271 "--startup-script", | 272 "--startup-script", |
| 272 _rebased_startup_script, | 273 _rebased_startup_script, |
| 273 "--manifest", | 274 "--manifest", |
| 274 _rebased_manifest, | 275 _rebased_manifest, |
| 275 "--output", | 276 "--output", |
| 276 rebase_path(_bundle), | 277 rebase_path(_bundle), |
| 277 ] | 278 ] |
| 278 } | 279 } |
| 279 } | 280 } |
| OLD | NEW |