Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Side by Side Diff: BUILD.gn

Issue 1863163002: Move code from fpdfsdk/include to the sub directories. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | fpdfsdk/fpdf_ext.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//build_overrides/v8.gni") 5 import("//build_overrides/v8.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("pdfium.gni") 7 import("pdfium.gni")
8 8
9 config("pdfium_config") { 9 config("pdfium_config") {
10 cflags = [] 10 cflags = []
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 } 729 }
730 } 730 }
731 731
732 static_library("fxedit") { 732 static_library("fxedit") {
733 sources = [ 733 sources = [
734 "fpdfsdk/fxedit/fxet_ap.cpp", 734 "fpdfsdk/fxedit/fxet_ap.cpp",
735 "fpdfsdk/fxedit/fxet_edit.cpp", 735 "fpdfsdk/fxedit/fxet_edit.cpp",
736 "fpdfsdk/fxedit/fxet_list.cpp", 736 "fpdfsdk/fxedit/fxet_list.cpp",
737 "fpdfsdk/fxedit/fxet_module.cpp", 737 "fpdfsdk/fxedit/fxet_module.cpp",
738 "fpdfsdk/fxedit/fxet_pageobjs.cpp", 738 "fpdfsdk/fxedit/fxet_pageobjs.cpp",
739 "fpdfsdk/include/fxedit/fx_edit.h", 739 "fpdfsdk/fxedit/include/fx_edit.h",
740 "fpdfsdk/include/fxedit/fxet_edit.h", 740 "fpdfsdk/fxedit/include/fxet_edit.h",
741 "fpdfsdk/include/fxedit/fxet_list.h", 741 "fpdfsdk/fxedit/include/fxet_list.h",
742 ] 742 ]
743 configs += [ ":pdfium_config" ] 743 configs += [ ":pdfium_config" ]
744 } 744 }
745 745
746 static_library("pdfwindow") { 746 static_library("pdfwindow") {
747 sources = [ 747 sources = [
748 "fpdfsdk/pdfwindow/PWL_Button.cpp", 748 "fpdfsdk/pdfwindow/PWL_Button.cpp",
749 "fpdfsdk/pdfwindow/PWL_Button.h", 749 "fpdfsdk/pdfwindow/PWL_Button.h",
750 "fpdfsdk/pdfwindow/PWL_Caret.cpp", 750 "fpdfsdk/pdfwindow/PWL_Caret.cpp",
751 "fpdfsdk/pdfwindow/PWL_Caret.h", 751 "fpdfsdk/pdfwindow/PWL_Caret.h",
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 configs += [ ":pdfium_config" ] 783 configs += [ ":pdfium_config" ]
784 } 784 }
785 785
786 static_library("javascript") { 786 static_library("javascript") {
787 sources = [ 787 sources = [
788 "fpdfsdk/javascript/ijs_context.h", 788 "fpdfsdk/javascript/ijs_context.h",
789 "fpdfsdk/javascript/ijs_runtime.h", 789 "fpdfsdk/javascript/ijs_runtime.h",
790 ] 790 ]
791 if (pdf_enable_v8) { 791 if (pdf_enable_v8) {
792 sources += [ 792 sources += [
793 "fpdfsdk/include/jsapi/fxjs_v8.h",
794 "fpdfsdk/javascript/Consts.cpp", 793 "fpdfsdk/javascript/Consts.cpp",
795 "fpdfsdk/javascript/Consts.h", 794 "fpdfsdk/javascript/Consts.h",
796 "fpdfsdk/javascript/Document.cpp", 795 "fpdfsdk/javascript/Document.cpp",
797 "fpdfsdk/javascript/Document.h", 796 "fpdfsdk/javascript/Document.h",
798 "fpdfsdk/javascript/Field.cpp", 797 "fpdfsdk/javascript/Field.cpp",
799 "fpdfsdk/javascript/Field.h", 798 "fpdfsdk/javascript/Field.h",
800 "fpdfsdk/javascript/Icon.cpp", 799 "fpdfsdk/javascript/Icon.cpp",
801 "fpdfsdk/javascript/Icon.h", 800 "fpdfsdk/javascript/Icon.h",
802 "fpdfsdk/javascript/JS_Define.h", 801 "fpdfsdk/javascript/JS_Define.h",
803 "fpdfsdk/javascript/JS_EventHandler.cpp", 802 "fpdfsdk/javascript/JS_EventHandler.cpp",
(...skipping 20 matching lines...) Expand all
824 "fpdfsdk/javascript/event.h", 823 "fpdfsdk/javascript/event.h",
825 "fpdfsdk/javascript/global.cpp", 824 "fpdfsdk/javascript/global.cpp",
826 "fpdfsdk/javascript/global.h", 825 "fpdfsdk/javascript/global.h",
827 "fpdfsdk/javascript/report.cpp", 826 "fpdfsdk/javascript/report.cpp",
828 "fpdfsdk/javascript/report.h", 827 "fpdfsdk/javascript/report.h",
829 "fpdfsdk/javascript/resource.cpp", 828 "fpdfsdk/javascript/resource.cpp",
830 "fpdfsdk/javascript/resource.h", 829 "fpdfsdk/javascript/resource.h",
831 "fpdfsdk/javascript/util.cpp", 830 "fpdfsdk/javascript/util.cpp",
832 "fpdfsdk/javascript/util.h", 831 "fpdfsdk/javascript/util.h",
833 "fpdfsdk/jsapi/fxjs_v8.cpp", 832 "fpdfsdk/jsapi/fxjs_v8.cpp",
833 "fpdfsdk/jsapi/include/fxjs_v8.h",
834 ] 834 ]
835 include_dirs = [ 835 include_dirs = [
836 "//v8", 836 "//v8",
837 "//v8/include", 837 "//v8/include",
838 ] 838 ]
839 public_deps = [ 839 public_deps = [
840 "//v8", 840 "//v8",
841 ] 841 ]
842 configs += [ "//v8:external_startup_data" ] 842 configs += [ "//v8:external_startup_data" ]
843 } else { 843 } else {
(...skipping 26 matching lines...) Expand all
870 configs += [ ":pdfium_config" ] 870 configs += [ ":pdfium_config" ]
871 } 871 }
872 872
873 if (pdf_enable_xfa) { 873 if (pdf_enable_xfa) {
874 static_library("fpdfxfa") { 874 static_library("fpdfxfa") {
875 sources = [ 875 sources = [
876 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp", 876 "fpdfsdk/fpdfxfa/fpdfxfa_app.cpp",
877 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp", 877 "fpdfsdk/fpdfxfa/fpdfxfa_doc.cpp",
878 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp", 878 "fpdfsdk/fpdfxfa/fpdfxfa_page.cpp",
879 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp", 879 "fpdfsdk/fpdfxfa/fpdfxfa_util.cpp",
880 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h", 880 "fpdfsdk/fpdfxfa/include/fpdfxfa_app.h",
881 "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h", 881 "fpdfsdk/fpdfxfa/include/fpdfxfa_doc.h",
882 "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h", 882 "fpdfsdk/fpdfxfa/include/fpdfxfa_page.h",
883 "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h", 883 "fpdfsdk/fpdfxfa/include/fpdfxfa_util.h",
884 ] 884 ]
885 deps = [ 885 deps = [
886 ":xfa", 886 ":xfa",
887 ] 887 ]
888 configs -= [ "//build/config/compiler:chromium_code" ] 888 configs -= [ "//build/config/compiler:chromium_code" ]
889 configs += [ 889 configs += [
890 ":pdfium_config", 890 ":pdfium_config",
891 "//build/config/compiler:no_chromium_code", 891 "//build/config/compiler:no_chromium_code",
892 ] 892 ]
893 } 893 }
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1677 "//v8:v8_libplatform", 1677 "//v8:v8_libplatform",
1678 ] 1678 ]
1679 include_dirs += [ 1679 include_dirs += [
1680 "//v8", 1680 "//v8",
1681 "//v8/include", 1681 "//v8/include",
1682 ] 1682 ]
1683 configs += [ "//v8:external_startup_data" ] 1683 configs += [ "//v8:external_startup_data" ]
1684 } 1684 }
1685 configs += [ ":pdfium_config" ] 1685 configs += [ ":pdfium_config" ]
1686 } 1686 }
OLDNEW
« no previous file with comments | « no previous file | fpdfsdk/fpdf_ext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698