# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//chromecast/chromecast.gni")
if (is_android) {
artifact_type_suffix = "$cast_build_incremental-$target_cpu"
copy("archive_public_cast_apk") {
sources = [ "$root_out_dir/apks/CastBrowser.apk" ]
outputs = [ "$root_out_dir/archive/CastBrowser-$artifact_type_suffix.apk" ]
deps = [ "//chromecast:cast_browser_apk" ]
}
}
group("archive") {
testonly = true
if (is_android) {
deps = [ ":archive_public_cast_apk" ]
}
}