1# Copyright 2018 The PDFium Authors. All rights reserved. 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_sha.cpp", 14 ] 15 configs += [ "../../:pdfium_core_config" ] 16 deps = [ "../fxcrt" ] 17 visibility = [ "../../*" ] 18} 19 20pdfium_unittest_source_set("unittests") { 21 sources = [ "fx_crypt_unittest.cpp" ] 22 deps = [ ":fdrm" ] 23 pdfium_root_dir = "../../" 24} 25