blob: d925f456976736789600b3da23e9edaa4338380d [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
static_library("zip_archiver_library") {
sources = [
"compressor.cc",
"compressor.h",
"compressor_archive.h",
"compressor_archive_minizip.cc",
"compressor_archive_minizip.h",
"compressor_io_javascript_stream.cc",
"compressor_io_javascript_stream.h",
"compressor_stream.h",
"javascript_compressor_requestor_interface.h",
"javascript_message_sender_interface.h",
"javascript_requestor_interface.h",
"minizip_helpers.h",
"request.cc",
"request.h",
"volume.cc",
"volume.h",
"volume_archive.cc",
"volume_archive.h",
"volume_archive_minizip.cc",
"volume_archive_minizip.h",
"volume_reader.h",
"volume_reader_javascript_stream.cc",
"volume_reader_javascript_stream.h",
]
deps = [
"//base",
"//chrome/browser/resources/chromeos/zip_archiver:char_coding",
"//ppapi/cpp",
"//third_party/minizip:minizip",
]
visibility = [
":ziparchiver_unittests",
":zip_archiver_pnacl",
]
}
source_set("ziparchiver_unittests") {
testonly = true
sources = [
"compressor_archive_minizip_unittest.cc",
"volume_archive_minizip_unittest.cc",
]
deps = [
":zip_archiver_library",
"//base",
"//testing/gtest",
]
data = [ "//chrome/browser/resources/chromeos/zip_archiver/test/data/" ]
}
if (is_nacl) {
executable("zip_archiver_pnacl") {
sources = [ "module.cc" ]
deps = [
":zip_archiver_library",
"//ppapi/cpp",
"//ppapi/native_client:ppapi_lib",
]
}
}