Run sky:init before creating a snapshot

If we've never run sky:init before, the mojom package will be empty and the
snapshot will fail.
This commit is contained in:
Adam Barth
2015-07-27 18:19:24 -07:00
parent 445003b061
commit f48a6cc560

View File

@@ -0,0 +1,16 @@
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
action("init") {
stamp = "$target_gen_dir/sky_init.stamp"
script = "//sky/build/sky_init.py"
sources = [ "//sky/sdk/pubspec.yaml" ]
outputs = [ stamp ]
args = [
"--touch",
rebase_path(stamp, root_build_dir),
]
}