Chromium Code Reviews| 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 declare_args() { | 9 declare_args() { |
| 10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 "CoreFoundation.framework", | 132 "CoreFoundation.framework", |
| 133 ] | 133 ] |
| 134 } | 134 } |
| 135 | 135 |
| 136 if (pdfium_bundle_freetype) { | 136 if (pdfium_bundle_freetype) { |
| 137 deps += [ "third_party:fx_freetype" ] | 137 deps += [ "third_party:fx_freetype" ] |
| 138 } else { | 138 } else { |
| 139 libs += [ "freetype" ] | 139 libs += [ "freetype" ] |
| 140 } | 140 } |
| 141 } | 141 } |
| 142 | 142 |
|
Oliver Chang
2015/11/13 17:24:03
another weird change picked up by cherry-pick:
++
| |
| 143 # Targets below this are only visible within this file (and to the | 143 # Targets below this are only visible within this file (and to the |
| 144 # top-level gn_visibility target used to help gn_all build everything). | 144 # top-level gn_visibility target used to help gn_all build everything). |
| 145 visibility = [ | 145 visibility = [ |
| 146 ":*", | 146 ":*", |
| 147 "//:gn_visibility", | 147 "//:gn_visibility", |
| 148 ] | 148 ] |
| 149 | 149 |
| 150 static_library("fdrm") { | 150 static_library("fdrm") { |
| 151 sources = [ | 151 sources = [ |
| 152 "core/include/fdrm/fx_crypt.h", | 152 "core/include/fdrm/fx_crypt.h", |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 768 ":pdfium_config", | 768 ":pdfium_config", |
| 769 "//build/config/compiler:no_chromium_code", | 769 "//build/config/compiler:no_chromium_code", |
| 770 ] | 770 ] |
| 771 } | 771 } |
| 772 | 772 |
| 773 test("pdfium_embeddertests") { | 773 test("pdfium_embeddertests") { |
| 774 sources = [ | 774 sources = [ |
| 775 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", | 775 "core/src/fpdfapi/fpdf_page/fpdf_page_func_embeddertest.cpp", |
| 776 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", | 776 "core/src/fpdfapi/fpdf_parser/fpdf_parser_decode_embeddertest.cpp", |
| 777 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", | 777 "core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp", |
| 778 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage_embeddertest.cpp", | |
|
Oliver Chang
2015/11/13 17:24:03
++<<<<<<< HEAD
++=======
+ "core/src/fpdfapi/f
| |
| 778 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", | 779 "fpdfsdk/src/fpdf_dataavail_embeddertest.cpp", |
| 779 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", | 780 "fpdfsdk/src/fpdfdoc_embeddertest.cpp", |
| 780 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", | 781 "fpdfsdk/src/fpdfformfill_embeddertest.cpp", |
| 781 "fpdfsdk/src/fpdftext_embeddertest.cpp", | 782 "fpdfsdk/src/fpdftext_embeddertest.cpp", |
| 782 "fpdfsdk/src/fpdfview_c_api_test.c", | 783 "fpdfsdk/src/fpdfview_c_api_test.c", |
| 783 "fpdfsdk/src/fpdfview_c_api_test.h", | 784 "fpdfsdk/src/fpdfview_c_api_test.h", |
| 784 "fpdfsdk/src/fpdfview_embeddertest.cpp", | 785 "fpdfsdk/src/fpdfview_embeddertest.cpp", |
| 785 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp", | 786 "fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp", |
| 786 "testing/embedder_test.cpp", | 787 "testing/embedder_test.cpp", |
| 787 "testing/embedder_test.h", | 788 "testing/embedder_test.h", |
| (...skipping 13 matching lines...) Expand all Loading... | |
| 801 "//v8", | 802 "//v8", |
| 802 "//v8/include", | 803 "//v8/include", |
| 803 "." | 804 "." |
| 804 ] | 805 ] |
| 805 configs -= [ "//build/config/compiler:chromium_code" ] | 806 configs -= [ "//build/config/compiler:chromium_code" ] |
| 806 configs += [ | 807 configs += [ |
| 807 ":pdfium_config", | 808 ":pdfium_config", |
| 808 "//build/config/compiler:no_chromium_code", | 809 "//build/config/compiler:no_chromium_code", |
| 809 ] | 810 ] |
| 810 } | 811 } |
| OLD | NEW |