| 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 1547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1558 ] | 1558 ] |
| 1559 include_dirs = [ "." ] | 1559 include_dirs = [ "." ] |
| 1560 configs -= [ "//build/config/compiler:chromium_code" ] | 1560 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1561 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1561 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 1562 } | 1562 } |
| 1563 | 1563 |
| 1564 test("pdfium_embeddertests") { | 1564 test("pdfium_embeddertests") { |
| 1565 sources = [ | 1565 sources = [ |
| 1566 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 1566 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
| 1567 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 1567 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
| 1568 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
| 1568 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 1569 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
| 1569 "testing/embedder_test.cpp", | 1570 "testing/embedder_test.cpp", |
| 1570 "testing/embedder_test.h", | 1571 "testing/embedder_test.h", |
| 1571 "testing/fx_string_testhelpers.cpp", | 1572 "testing/fx_string_testhelpers.cpp", |
| 1572 "testing/fx_string_testhelpers.h", | 1573 "testing/fx_string_testhelpers.h", |
| 1573 ] | 1574 ] |
| 1574 deps = [ | 1575 deps = [ |
| 1575 "//testing/gtest", | 1576 "//testing/gtest", |
| 1576 ":pdfium" | 1577 ":pdfium" |
| 1577 ] | 1578 ] |
| 1578 include_dirs = [ "." ] | 1579 include_dirs = [ "." ] |
| 1579 configs -= [ "//build/config/compiler:chromium_code" ] | 1580 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1580 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1581 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 1581 } | 1582 } |
| OLD | NEW |