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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 237 |
238 # These form the arguments to the script. | 238 # These form the arguments to the script. |
239 _rebased_out_dir = rebase_path(root_out_dir) | 239 _rebased_out_dir = rebase_path(root_out_dir) |
240 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") | 240 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") |
241 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh") | 241 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh") |
242 _rebased_manifest = rebase_path("//blimp/engine/engine-manifest.txt") | 242 _rebased_manifest = rebase_path("//blimp/engine/engine-manifest.txt") |
243 _bundle = "$root_out_dir/blimp_engine_bundle.tar.gz" | 243 _bundle = "$root_out_dir/blimp_engine_bundle.tar.gz" |
244 | 244 |
245 # Detail the target & "source"-file dependencies, and output, for GN. | 245 # Detail the target & "source"-file dependencies, and output, for GN. |
246 deps = [ | 246 deps = [ |
247 "//blimp/engine:blimp_engine", | 247 "//blimp/engine:blimp_engine_app", |
248 ] | 248 ] |
249 sources = [ | 249 sources = [ |
250 _rebased_dockerfile, | 250 _rebased_dockerfile, |
251 _rebased_manifest, | 251 _rebased_manifest, |
252 _rebased_startup_script, | 252 _rebased_startup_script, |
253 ] | 253 ] |
254 outputs = [ | 254 outputs = [ |
255 _bundle, | 255 _bundle, |
256 ] | 256 ] |
257 | 257 |
258 # Manually specify the actual arguments to the script. | 258 # Manually specify the actual arguments to the script. |
259 args = [ | 259 args = [ |
260 "--build-dir", | 260 "--build-dir", |
261 _rebased_out_dir, | 261 _rebased_out_dir, |
262 "--dockerfile", | 262 "--dockerfile", |
263 _rebased_dockerfile, | 263 _rebased_dockerfile, |
264 "--startup-script", | 264 "--startup-script", |
265 _rebased_startup_script, | 265 _rebased_startup_script, |
266 "--manifest", | 266 "--manifest", |
267 _rebased_manifest, | 267 _rebased_manifest, |
268 "--output", | 268 "--output", |
269 rebase_path(_bundle), | 269 rebase_path(_bundle), |
270 ] | 270 ] |
271 } | 271 } |
272 } | 272 } |
OLD | NEW |