Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: blimp/engine/BUILD.gn

Issue 1638153002: Set up an stunnel endpoint for the engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Documentation updates Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 79
80 # Builds and bundles the engine into a tarball that can be used to build a 80 # Builds and bundles the engine into a tarball that can be used to build a
81 # Docker image. 81 # Docker image.
82 action("blimp_engine_bundle") { 82 action("blimp_engine_bundle") {
83 script = "//blimp/tools/bundle-engine.py" 83 script = "//blimp/tools/bundle-engine.py"
84 84
85 # These form the arguments to the script. 85 # These form the arguments to the script.
86 _rebased_out_dir = rebase_path(root_out_dir) 86 _rebased_out_dir = rebase_path(root_out_dir)
87 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile") 87 _rebased_dockerfile = rebase_path("//blimp/engine/Dockerfile")
88 _rebased_startup_script = rebase_path("//blimp/engine/start_engine.sh")
88 _rebased_manifest = rebase_path("//blimp/engine/engine-manifest.txt") 89 _rebased_manifest = rebase_path("//blimp/engine/engine-manifest.txt")
89 _bundle = "$root_out_dir/blimp_engine_bundle.tar" 90 _bundle = "$root_out_dir/blimp_engine_bundle.tar"
90 91
91 # Detail the target & "source"-file dependencies, and output, for GN. 92 # Detail the target & "source"-file dependencies, and output, for GN.
92 deps = [ 93 deps = [
93 "//blimp/engine:blimp_engine", 94 "//blimp/engine:blimp_engine",
94 ] 95 ]
95 sources = [ 96 sources = [
96 _rebased_dockerfile, 97 _rebased_dockerfile,
97 _rebased_manifest, 98 _rebased_manifest,
99 _rebased_startup_script,
98 ] 100 ]
99 outputs = [ 101 outputs = [
100 _bundle, 102 _bundle,
101 ] 103 ]
102 104
103 # Manually specify the actual arguments to the script. 105 # Manually specify the actual arguments to the script.
104 args = [ 106 args = [
105 "--build-dir", 107 "--build-dir",
106 _rebased_out_dir, 108 _rebased_out_dir,
107 "--dockerfile", 109 "--dockerfile",
108 _rebased_dockerfile, 110 _rebased_dockerfile,
111 "--startup-script",
112 _rebased_startup_script,
109 "--manifest", 113 "--manifest",
110 _rebased_manifest, 114 _rebased_manifest,
111 "--output", 115 "--output",
112 rebase_path(_bundle), 116 rebase_path(_bundle),
113 ] 117 ]
114 } 118 }
115 } 119 }
OLDNEW
« no previous file with comments | « blimp/docs/container.md ('k') | blimp/engine/Dockerfile » ('j') | blimp/engine/Dockerfile » ('J')

Powered by Google App Engine
This is Rietveld 408576698