OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 pdf_use_skia = false | 7 pdf_use_skia = false |
8 | 8 |
9 config("pdfium_config") { | 9 config("pdfium_config") { |
10 cflags = [] | 10 cflags = [] |
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 "//testing/gtest:gtest_main", | 806 "//testing/gtest:gtest_main", |
807 ":pdfium" | 807 ":pdfium" |
808 ] | 808 ] |
809 include_dirs = [ "." ] | 809 include_dirs = [ "." ] |
810 configs -= [ "//build/config/compiler:chromium_code" ] | 810 configs -= [ "//build/config/compiler:chromium_code" ] |
811 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 811 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
812 } | 812 } |
813 | 813 |
814 test("pdfium_embeddertests") { | 814 test("pdfium_embeddertests") { |
815 sources = [ | 815 sources = [ |
| 816 "fpdfsdk/src/fpdf_dataavail_unittest.cpp", |
816 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 817 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
817 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 818 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
818 "testing/embedder_test.cpp", | 819 "testing/embedder_test.cpp", |
819 "testing/embedder_test.h", | 820 "testing/embedder_test.h", |
820 "testing/fx_string_testhelpers.cpp", | 821 "testing/fx_string_testhelpers.cpp", |
821 "testing/fx_string_testhelpers.h", | 822 "testing/fx_string_testhelpers.h", |
822 ] | 823 ] |
823 deps = [ | 824 deps = [ |
824 "//testing/gtest", | 825 "//testing/gtest", |
825 ":pdfium" | 826 ":pdfium" |
826 ] | 827 ] |
827 include_dirs = [ "." ] | 828 include_dirs = [ "." ] |
828 configs -= [ "//build/config/compiler:chromium_code" ] | 829 configs -= [ "//build/config/compiler:chromium_code" ] |
829 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 830 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
830 } | 831 } |
OLD | NEW |