| # 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("//build/config/jumbo.gni") |
| import("../pdfium.gni") |
| |
| jumbo_source_set("test_support") { |
| testonly = true |
| sources = [ |
| "fx_string_testhelpers.cpp", |
| "fx_string_testhelpers.h", |
| "string_write_stream.cpp", |
| "string_write_stream.h", |
| "test_support.cpp", |
| "test_support.h", |
| "utils/bitmap_saver.cpp", |
| "utils/bitmap_saver.h", |
| "utils/path_service.cpp", |
| "utils/path_service.h", |
| ] |
| data = [ |
| "resources/", |
| ] |
| deps = [ |
| "../:pdfium", |
| "../core/fdrm", |
| "image_diff", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| configs += [ "../:pdfium_core_config" ] |
| visibility = [ "../*" ] |
| |
| if (pdf_enable_v8) { |
| deps += [ |
| "//v8", |
| "//v8:v8_libplatform", |
| ] |
| configs += [ "//v8:external_startup_data" ] |
| } |
| } |