# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
load("//tools/build_rules/text_to_binary:def.bzl", "proto_data")

package(
    default_applicable_licenses = ["//:license"],
    default_visibility = ["//:__subpackages__"],
    licenses = ["notice"],
)

exports_files([
    # NOTE: generated by GMM Offline's voice biasing model storage system
    "aes_gcm_ciphertext",  # encrypt only
    "aes_gcm_key",
    "aes_gcm_plaintext",
    "zlib_aes_gcm_ciphertext",  # compress then encrypt
    # NOTE: generated by CompressTransformTest#compressGoldenFile
    "golden.deflate",
    # NOTE: test files for ZipTransformTest#decompressZip
    "zip_test.zip",
    "zip_test_directory/zip_test_subdirectory/zip_test_target.txt",
])

proto_data(
    name = "transforms.pb",
    src = "transforms.pb.txt",
    out = "res/raw/transforms_data_pb",
    proto_deps = [
        "//proto:transform_proto",
    ],
    proto_name = "mobstore.proto.Transforms",
)
