Export media_cas_proxy_sdk
This commit is contained in:
68
util/BUILD
Normal file
68
util/BUILD
Normal file
@@ -0,0 +1,68 @@
|
||||
################################################################################
|
||||
# Copyright 2017 Google LLC.
|
||||
#
|
||||
# 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.
|
||||
################################################################################
|
||||
|
||||
package(
|
||||
default_visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
|
||||
filegroup(
|
||||
name = "binary_release_files",
|
||||
srcs = [
|
||||
"error_space.h",
|
||||
"status.h",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "status",
|
||||
srcs = [
|
||||
"status.cc",
|
||||
],
|
||||
hdrs = [
|
||||
"status.h",
|
||||
],
|
||||
deps = [
|
||||
":error_space",
|
||||
"//base",
|
||||
"@abseil_repo//absl/strings",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "error_space",
|
||||
hdrs = ["error_space.h"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "proto_status",
|
||||
hdrs = ["proto_status.h"],
|
||||
deps = [
|
||||
":status",
|
||||
"//external:protobuf",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "status_test",
|
||||
srcs = ["status_test.cc"],
|
||||
deps = [
|
||||
":status",
|
||||
"//testing:gunit_main",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "error_space_test",
|
||||
srcs = ["error_space_test.cc"],
|
||||
deps = [
|
||||
":error_space",
|
||||
"//testing:gunit_main",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user