Specify binary release files in BUILD instead of in Jenkins
This is more track-able compared to Jenkins. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=146120190 Change-Id: Ie284e431ca1a777b19f64d5e6a7bb9a2c757779d
This commit is contained in:
29
BUILD
Normal file
29
BUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
# Copyright 2017 Google Inc.
|
||||
#
|
||||
# This software is licensed under the terms defined in the Widevine Master
|
||||
# License Agreement. For a copy of this agreement, please contact
|
||||
# widevine-licensing@google.com.
|
||||
################################################################################
|
||||
|
||||
# Build provisioning sdk tar package.
|
||||
|
||||
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
|
||||
|
||||
pkg_tar(
|
||||
name = "provisioning_sdk_files",
|
||||
strip_prefix = "/",
|
||||
files = [
|
||||
"run_tests.sh",
|
||||
"//example:binary_release_files",
|
||||
"//protos/public:binary_release_files",
|
||||
"//provisioning_sdk/public:binary_release_files",
|
||||
"//provisioning_sdk/public/python:binary_release_files",
|
||||
],
|
||||
)
|
||||
|
||||
pkg_tar(
|
||||
name = "provisioning_sdk-bin",
|
||||
deps = [":provisioning_sdk_files"],
|
||||
files = ["//provisioning_sdk/public:libprovisioning_sdk.so"],
|
||||
)
|
||||
Reference in New Issue
Block a user