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 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
799 "fpdfsdk/src/javascript/util.cpp", | 799 "fpdfsdk/src/javascript/util.cpp", |
800 ] | 800 ] |
801 | 801 |
802 configs -= [ "//build/config/compiler:chromium_code" ] | 802 configs -= [ "//build/config/compiler:chromium_code" ] |
803 if (is_posix) { | 803 if (is_posix) { |
804 configs -= [ "//build/config/gcc:no_exceptions" ] | 804 configs -= [ "//build/config/gcc:no_exceptions" ] |
805 } | 805 } |
806 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 806 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
807 include_dirs = [ | 807 include_dirs = [ |
808 "//v8/include", | 808 "//v8/include", |
809 "//v8", | |
jam
2014/07/14 23:06:22
tiny nit: here and below, and also in the gyp file
| |
809 ] | 810 ] |
810 deps = [ | 811 deps = [ |
811 "//v8", | 812 "//v8", |
812 ] | 813 ] |
813 forward_dependent_configs_from = [ "//v8" ] | 814 forward_dependent_configs_from = [ "//v8" ] |
814 } | 815 } |
815 | 816 |
816 static_library("jsapi") { | 817 static_library("jsapi") { |
817 sources = [ | 818 sources = [ |
818 "fpdfsdk/include/jsapi/fxjs_v8.h", | 819 "fpdfsdk/include/jsapi/fxjs_v8.h", |
819 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 820 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
820 ] | 821 ] |
821 | 822 |
822 configs -= [ "//build/config/compiler:chromium_code" ] | 823 configs -= [ "//build/config/compiler:chromium_code" ] |
823 if (is_posix) { | 824 if (is_posix) { |
824 configs -= [ "//build/config/gcc:no_exceptions" ] | 825 configs -= [ "//build/config/gcc:no_exceptions" ] |
825 } | 826 } |
826 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 827 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
827 include_dirs = [ | 828 include_dirs = [ |
828 "//v8/include", | 829 "//v8/include", |
830 "//v8", | |
829 ] | 831 ] |
830 deps = [ | 832 deps = [ |
831 "//v8", | 833 "//v8", |
832 ] | 834 ] |
833 forward_dependent_configs_from = [ "//v8" ] | 835 forward_dependent_configs_from = [ "//v8" ] |
834 } | 836 } |
835 | 837 |
836 static_library("formfiller") { | 838 static_library("formfiller") { |
837 sources = [ | 839 sources = [ |
838 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h", | 840 "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h", |
(...skipping 19 matching lines...) Expand all Loading... | |
858 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 860 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
859 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 861 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
860 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 862 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
861 ] | 863 ] |
862 configs -= [ "//build/config/compiler:chromium_code" ] | 864 configs -= [ "//build/config/compiler:chromium_code" ] |
863 if (is_posix) { | 865 if (is_posix) { |
864 configs -= [ "//build/config/gcc:no_exceptions" ] | 866 configs -= [ "//build/config/gcc:no_exceptions" ] |
865 } | 867 } |
866 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 868 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
867 } | 869 } |
OLD | NEW |