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

Side by Side Diff: BUILD.gn

Issue 540133002: Add v8_platform to the JS dependencies in the GN build. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 3 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
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",
807 "//v8/include", 807 "//v8/include",
808 ] 808 ]
809 deps = [ 809 deps = [
810 "//v8", 810 "//v8",
811 "//v8:v8_libplatform",
811 ] 812 ]
812 forward_dependent_configs_from = [ "//v8" ] 813 forward_dependent_configs_from = [ "//v8" ]
813 } 814 }
814 815
815 static_library("jsapi") { 816 static_library("jsapi") {
816 sources = [ 817 sources = [
817 "fpdfsdk/include/jsapi/fxjs_v8.h", 818 "fpdfsdk/include/jsapi/fxjs_v8.h",
818 "fpdfsdk/src/jsapi/fxjs_v8.cpp", 819 "fpdfsdk/src/jsapi/fxjs_v8.cpp",
819 ] 820 ]
820 821
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", 859 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
859 "fpdfsdk/src/formfiller/FFL_TextField.cpp", 860 "fpdfsdk/src/formfiller/FFL_TextField.cpp",
860 "fpdfsdk/src/formfiller/FFL_Utils.cpp", 861 "fpdfsdk/src/formfiller/FFL_Utils.cpp",
861 ] 862 ]
862 configs -= [ "//build/config/compiler:chromium_code" ] 863 configs -= [ "//build/config/compiler:chromium_code" ]
863 if (is_posix) { 864 if (is_posix) {
864 configs -= [ "//build/config/gcc:no_exceptions" ] 865 configs -= [ "//build/config/gcc:no_exceptions" ]
865 } 866 }
866 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 867 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
867 } 868 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698