Build pdfium_test executable under GN.
authorTom Sepez <tsepez@chromium.org>
Fri, 14 Nov 2014 00:59:03 +0000 (16:59 -0800)
committerTom Sepez <tsepez@chromium.org>
Fri, 14 Nov 2014 00:59:03 +0000 (16:59 -0800)
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

samples/BUILD.gn [new file with mode: 0644]

diff --git a/samples/BUILD.gn b/samples/BUILD.gn
new file mode 100644 (file)
index 0000000..e690c23
--- /dev/null
@@ -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",
+  ]
+}