diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-12 18:53:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-12 18:53:17 +0000 |
commit | 76833a60164e77bd54c6f4d1cc62a79ded8edb90 (patch) | |
tree | 41a9b8c78ecbe00437775f32e16ab8de2a21881b /testing/BUILD.gn | |
parent | 88dbd543bd0efe6acac20438037616e66b35e47b (diff) | |
download | pdfium-76833a60164e77bd54c6f4d1cc62a79ded8edb90.tar.xz |
Split constants and testing build rules into their own BUILD.gn files.
Change-Id: I3a100e1f009f18ee06959edf47d189d1bfdcb25a
Reviewed-on: https://pdfium-review.googlesource.com/c/43944
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'testing/BUILD.gn')
-rw-r--r-- | testing/BUILD.gn | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/BUILD.gn b/testing/BUILD.gn new file mode 100644 index 0000000000..286921db2d --- /dev/null +++ b/testing/BUILD.gn @@ -0,0 +1,41 @@ +# 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", + "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" ] + } +} |