Refactor and cleanup codes. No functional changes.

This commit is contained in:
KongQun Yang
2019-01-23 15:16:31 -08:00
parent 84f66d2320
commit 93265ab9d1
207 changed files with 14893 additions and 3332 deletions

43
util/BUILD Normal file
View File

@@ -0,0 +1,43 @@
################################################################################
# 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",
],
)
cc_library(
name = "error_space",
hdrs = ["error_space.h"],
)
cc_library(
name = "proto_status",
hdrs = ["proto_status.h"],
deps = [
"@protobuf_repo//:protobuf",
"//util:error_space",
],
)
cc_test(
name = "error_space_test",
srcs = ["error_space_test.cc"],
deps = [
":error_space",
"//testing:gunit_main",
],
)