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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 "fpdfsdk/src/javascript/report.cpp", | 796 "fpdfsdk/src/javascript/report.cpp", |
797 "fpdfsdk/src/javascript/util.cpp", | 797 "fpdfsdk/src/javascript/util.cpp", |
798 ] | 798 ] |
799 | 799 |
800 configs -= [ "//build/config/compiler:chromium_code" ] | 800 configs -= [ "//build/config/compiler:chromium_code" ] |
801 if (is_posix) { | 801 if (is_posix) { |
802 configs -= [ "//build/config/gcc:no_exceptions" ] | 802 configs -= [ "//build/config/gcc:no_exceptions" ] |
803 } | 803 } |
804 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 804 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
805 include_dirs = [ | 805 include_dirs = [ |
| 806 "//v8", |
806 "//v8/include", | 807 "//v8/include", |
807 ] | 808 ] |
808 deps = [ | 809 deps = [ |
809 "//v8", | 810 "//v8", |
810 ] | 811 ] |
811 forward_dependent_configs_from = [ "//v8" ] | 812 forward_dependent_configs_from = [ "//v8" ] |
812 } | 813 } |
813 | 814 |
814 static_library("jsapi") { | 815 static_library("jsapi") { |
815 sources = [ | 816 sources = [ |
816 "fpdfsdk/include/jsapi/fxjs_v8.h", | 817 "fpdfsdk/include/jsapi/fxjs_v8.h", |
817 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 818 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
818 ] | 819 ] |
819 | 820 |
820 configs -= [ "//build/config/compiler:chromium_code" ] | 821 configs -= [ "//build/config/compiler:chromium_code" ] |
821 if (is_posix) { | 822 if (is_posix) { |
822 configs -= [ "//build/config/gcc:no_exceptions" ] | 823 configs -= [ "//build/config/gcc:no_exceptions" ] |
823 } | 824 } |
824 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 825 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
825 include_dirs = [ | 826 include_dirs = [ |
| 827 "//v8", |
826 "//v8/include", | 828 "//v8/include", |
827 ] | 829 ] |
828 deps = [ | 830 deps = [ |
829 "//v8", | 831 "//v8", |
830 ] | 832 ] |
831 forward_dependent_configs_from = [ "//v8" ] | 833 forward_dependent_configs_from = [ "//v8" ] |
832 } | 834 } |
833 | 835 |
834 static_library("formfiller") { | 836 static_library("formfiller") { |
835 sources = [ | 837 sources = [ |
(...skipping 20 matching lines...) Expand all Loading... |
856 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 858 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
857 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 859 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
858 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 860 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
859 ] | 861 ] |
860 configs -= [ "//build/config/compiler:chromium_code" ] | 862 configs -= [ "//build/config/compiler:chromium_code" ] |
861 if (is_posix) { | 863 if (is_posix) { |
862 configs -= [ "//build/config/gcc:no_exceptions" ] | 864 configs -= [ "//build/config/gcc:no_exceptions" ] |
863 } | 865 } |
864 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 866 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
865 } | 867 } |
OLD | NEW |