summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2014-11-13 16:59:03 -0800
committerTom Sepez <tsepez@chromium.org>2014-11-13 16:59:03 -0800
commit3d9490126610b9474af088a1e024cb6deb2d3356 (patch)
tree0c962de054de0bc954706c432d8bc57d77c093c7
parent39c6b4c50bb06336c2b592a407efa862ff6ed8ae (diff)
downloadpdfium-3d9490126610b9474af088a1e024cb6deb2d3356.tar.xz
Build pdfium_test executable under GN.
This is the first side of a two-sided patch; the dependency on //third_party/pdfium/samples will be included from //pdf/BUILD.gn in the chrome repo. BUG=https://code.google.com/p/pdfium/issues/detail?id=77 R=dpranke@chromium.org Review URL: https://codereview.chromium.org/720193004
-rw-r--r--samples/BUILD.gn18
1 files changed, 18 insertions, 0 deletions
diff --git a/samples/BUILD.gn b/samples/BUILD.gn
new file mode 100644
index 0000000000..e690c23622
--- /dev/null
+++ b/samples/BUILD.gn
@@ -0,0 +1,18 @@
+# Copyright 2014 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.
+
+group("samples") {
+ deps = [
+ ":pdfium_test",
+ ]
+}
+
+executable("pdfium_test") {
+ sources = [
+ "pdfium_test.cc",
+ ]
+ deps = [
+ "//third_party/pdfium",
+ ]
+}