xref: /aosp_15_r20/external/pdfium/core/fdrm/BUILD.gn (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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_sha.cpp",
14  ]
15  configs += [
16    "../../:pdfium_strict_config",
17    "../../:pdfium_noshorten_config",
18  ]
19  deps = [ "../fxcrt" ]
20  visibility = [ "../../*" ]
21}
22
23pdfium_unittest_source_set("unittests") {
24  sources = [ "fx_crypt_unittest.cpp" ]
25  deps = [ ":fdrm" ]
26  pdfium_root_dir = "../../"
27}
28