49 lines
1.2 KiB
Python
49 lines
1.2 KiB
Python
################################################################################
|
|
# Copyright 2016 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.
|
|
################################################################################
|
|
|
|
# Build file for OEM certificate generation tool.
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
py_binary(
|
|
name = "oem_certificate",
|
|
srcs = ["oem_certificate.py"],
|
|
python_version = "PY3",
|
|
srcs_version = "PY3",
|
|
deps = [
|
|
":oem_certificate_main_lib",
|
|
],
|
|
)
|
|
|
|
py_library(
|
|
name = "oem_certificate_main_lib",
|
|
srcs = ["oem_certificate.py"],
|
|
srcs_version = "PY3",
|
|
deps = [
|
|
],
|
|
)
|
|
|
|
py_library(
|
|
name = "oem_certificate_test_helper",
|
|
srcs = ["oem_certificate_test_helper.py"],
|
|
srcs_version = "PY3",
|
|
deps = [
|
|
],
|
|
)
|
|
|
|
py_test(
|
|
name = "oem_certificate_test",
|
|
srcs = ["oem_certificate_test.py"],
|
|
python_version = "PY3",
|
|
srcs_version = "PY3",
|
|
deps = [
|
|
":oem_certificate_main_lib",
|
|
":oem_certificate_test_helper",
|
|
],
|
|
)
|