1# Copyright 2018 The PDFium Authors 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import("../../pdfium.gni") 6import("../../testing/test.gni") 7 8source_set("fdrm") { 9 sources = [ 10 "fx_crypt.cpp", 11 "fx_crypt.h", 12 "fx_crypt_aes.cpp", 13 "fx_crypt_aes.h", 14 "fx_crypt_sha.cpp", 15 "fx_crypt_sha.h", 16 ] 17 configs += [ 18 "../../:pdfium_strict_config", 19 "../../:pdfium_noshorten_config", 20 ] 21 deps = [ "../fxcrt" ] 22 visibility = [ "../../*" ] 23} 24 25pdfium_unittest_source_set("unittests") { 26 sources = [ "fx_crypt_unittest.cpp" ] 27 deps = [ ":fdrm" ] 28 pdfium_root_dir = "../../" 29} 30