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 pdf_use_skia = false | 5 pdf_use_skia = false |
6 | 6 |
7 config("pdfium_config") { | 7 config("pdfium_config") { |
8 cflags = [] | 8 cflags = [] |
9 defines = [ | 9 defines = [ |
10 "FOXIT_CHROME_BUILD", | 10 "FOXIT_CHROME_BUILD", |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 "fpdfsdk/src/javascript/report.cpp", | 766 "fpdfsdk/src/javascript/report.cpp", |
767 "fpdfsdk/src/javascript/util.cpp", | 767 "fpdfsdk/src/javascript/util.cpp", |
768 ] | 768 ] |
769 | 769 |
770 configs -= [ "//build/config/compiler:chromium_code" ] | 770 configs -= [ "//build/config/compiler:chromium_code" ] |
771 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 771 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
772 include_dirs = [ | 772 include_dirs = [ |
773 "//v8", | 773 "//v8", |
774 "//v8/include", | 774 "//v8/include", |
775 ] | 775 ] |
| 776 |
| 777 public_deps = [ |
| 778 "//v8", |
| 779 ] |
776 deps = [ | 780 deps = [ |
777 "//v8", | |
778 "//v8:v8_libplatform", | 781 "//v8:v8_libplatform", |
779 ] | 782 ] |
780 forward_dependent_configs_from = [ "//v8" ] | |
781 } | 783 } |
782 | 784 |
783 static_library("jsapi") { | 785 static_library("jsapi") { |
784 sources = [ | 786 sources = [ |
785 "fpdfsdk/include/jsapi/fxjs_v8.h", | 787 "fpdfsdk/include/jsapi/fxjs_v8.h", |
786 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 788 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
787 ] | 789 ] |
788 | 790 |
789 configs -= [ "//build/config/compiler:chromium_code" ] | 791 configs -= [ "//build/config/compiler:chromium_code" ] |
790 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 792 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
791 include_dirs = [ | 793 include_dirs = [ |
792 "//v8", | 794 "//v8", |
793 "//v8/include", | 795 "//v8/include", |
794 ] | 796 ] |
795 deps = [ | 797 |
| 798 public_deps = [ |
796 "//v8", | 799 "//v8", |
797 ] | 800 ] |
798 forward_dependent_configs_from = [ "//v8" ] | |
799 } | 801 } |
800 | 802 |
801 static_library("formfiller") { | 803 static_library("formfiller") { |
802 sources = [ | 804 sources = [ |
803 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h", | 805 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h", |
804 "fpdfsdk/include/formfiller/FFL_CheckBox.h", | 806 "fpdfsdk/include/formfiller/FFL_CheckBox.h", |
805 "fpdfsdk/include/formfiller/FFL_ComboBox.h", | 807 "fpdfsdk/include/formfiller/FFL_ComboBox.h", |
806 "fpdfsdk/include/formfiller/FFL_FormFiller.h", | 808 "fpdfsdk/include/formfiller/FFL_FormFiller.h", |
807 "fpdfsdk/include/formfiller/FFL_IFormFiller.h", | 809 "fpdfsdk/include/formfiller/FFL_IFormFiller.h", |
808 "fpdfsdk/include/formfiller/FFL_ListBox.h", | 810 "fpdfsdk/include/formfiller/FFL_ListBox.h", |
(...skipping 11 matching lines...) Expand all Loading... |
820 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", | 822 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", |
821 "fpdfsdk/src/formfiller/FFL_Notify.cpp", | 823 "fpdfsdk/src/formfiller/FFL_Notify.cpp", |
822 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", | 824 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", |
823 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 825 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
824 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 826 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
825 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 827 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
826 ] | 828 ] |
827 configs -= [ "//build/config/compiler:chromium_code" ] | 829 configs -= [ "//build/config/compiler:chromium_code" ] |
828 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 830 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
829 } | 831 } |
OLD | NEW |