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