blob: 0b14d7fc9e33b40e485408e4710739f0f811482f [file] [log] [blame]
# Copyright 2018 The PDFium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("../../pdfium.gni")
import("../../testing/test.gni")
source_set("fdrm") {
sources = [
"fx_crypt.cpp",
"fx_crypt.h",
"fx_crypt_aes.cpp",
"fx_crypt_sha.cpp",
]
cflags = []
configs += [ "../../:pdfium_strict_config" ]
deps = [ "../fxcrt" ]
visibility = [ "../../*" ]
if (is_clang) {
cflags += [ "-Wshorten-64-to-32" ]
}
}
pdfium_unittest_source_set("unittests") {
sources = [ "fx_crypt_unittest.cpp" ]
deps = [ ":fdrm" ]
pdfium_root_dir = "../../"
}