| 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/chrome_build.gni") | 5 import("//build/config/chrome_build.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/sanitizers/sanitizers.gni") | 7 import("//build/config/sanitizers/sanitizers.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 } | 529 } |
| 530 | 530 |
| 531 # Builds and bundles the engine into a tarball that can be used to build a | 531 # Builds and bundles the engine into a tarball that can be used to build a |
| 532 # Docker image. | 532 # Docker image. |
| 533 action("blimp_engine_bundle") { | 533 action("blimp_engine_bundle") { |
| 534 script = "//blimp/tools/create-bundle.py" | 534 script = "//blimp/tools/create-bundle.py" |
| 535 | 535 |
| 536 # These form the arguments to the script. | 536 # These form the arguments to the script. |
| 537 _rebased_out_dir = rebase_path(root_out_dir) | 537 _rebased_out_dir = rebase_path(root_out_dir) |
| 538 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") | 538 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") |
| 539 _rebased_dockerfile_base = rebase_path("//blimp/tools/Dockerfile.base") |
| 539 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh") | 540 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh") |
| 540 _bundle = "$root_out_dir/blimp_engine_bundle.tar.gz" | 541 _bundle = "$root_out_dir/blimp_engine_bundle.tar.gz" |
| 541 | 542 |
| 542 # Depending on this ensures that both the manifest is generated | 543 # Depending on this ensures that both the manifest is generated |
| 543 # and everything in the manifest has been built. | 544 # and everything in the manifest has been built. |
| 544 deps = [ | 545 deps = [ |
| 545 ":generate_manifest", | 546 ":generate_manifest", |
| 546 ] | 547 ] |
| 547 | 548 |
| 548 sources = [ | 549 sources = [ |
| 549 _manifest, | 550 _manifest, |
| 550 _rebased_dockerfile, | 551 _rebased_dockerfile, |
| 552 _rebased_dockerfile_base, |
| 551 _rebased_startup_script, | 553 _rebased_startup_script, |
| 552 ] | 554 ] |
| 553 outputs = [ | 555 outputs = [ |
| 554 _bundle, | 556 _bundle, |
| 555 ] | 557 ] |
| 556 | 558 |
| 557 # Manually specify the actual arguments to the script. | 559 # Manually specify the actual arguments to the script. |
| 558 args = [ | 560 args = [ |
| 559 "--build-dir", | 561 "--build-dir", |
| 560 _rebased_out_dir, | 562 _rebased_out_dir, |
| 561 "--filelist", | 563 "--filelist", |
| 562 _rebased_dockerfile, | 564 _rebased_dockerfile, |
| 565 _rebased_dockerfile_base, |
| 563 _rebased_startup_script, | 566 _rebased_startup_script, |
| 564 "--manifest", | 567 "--manifest", |
| 565 _rebased_manifest, | 568 _rebased_manifest, |
| 566 "--output", | 569 "--output", |
| 567 rebase_path(_bundle), | 570 rebase_path(_bundle), |
| 568 ] | 571 ] |
| 569 } | 572 } |
| 570 | 573 |
| 571 # Crash symbols should only be created and uploaded from official builders. | 574 # Crash symbols should only be created and uploaded from official builders. |
| 572 if (is_official_build) { | 575 if (is_official_build) { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 600 # Include symupload target here as it is needed by the buildbots to upload | 603 # Include symupload target here as it is needed by the buildbots to upload |
| 601 # the symbol file created by dump_syms. | 604 # the symbol file created by dump_syms. |
| 602 deps = [ | 605 deps = [ |
| 603 ":blimp_engine_app", | 606 ":blimp_engine_app", |
| 604 "//breakpad:symupload", | 607 "//breakpad:symupload", |
| 605 dump_syms_label, | 608 dump_syms_label, |
| 606 ] | 609 ] |
| 607 } | 610 } |
| 608 } | 611 } |
| 609 } | 612 } |
| OLD | NEW |