| 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 pdf_use_skia = false | 7 pdf_use_skia = false |
| 8 | 8 |
| 9 declare_args() { | 9 declare_args() { |
| 10 # On Android there's no system FreeType. On Windows and Mac, only a few | 10 # On Android there's no system FreeType. On Windows and Mac, only a few |
| (...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 742 configs -= [ "//build/config/compiler:chromium_code" ] | 742 configs -= [ "//build/config/compiler:chromium_code" ] |
| 743 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 743 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 744 include_dirs = [ | 744 include_dirs = [ |
| 745 "//v8", | 745 "//v8", |
| 746 "//v8/include", | 746 "//v8/include", |
| 747 ] | 747 ] |
| 748 | 748 |
| 749 public_deps = [ | 749 public_deps = [ |
| 750 "//v8", | 750 "//v8", |
| 751 ] | 751 ] |
| 752 deps = [ | |
| 753 "//v8:v8_libplatform", | |
| 754 ] | |
| 755 } | 752 } |
| 756 | 753 |
| 757 static_library("jsapi") { | 754 static_library("jsapi") { |
| 758 sources = [ | 755 sources = [ |
| 759 "fpdfsdk/include/jsapi/fxjs_v8.h", | 756 "fpdfsdk/include/jsapi/fxjs_v8.h", |
| 760 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 757 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
| 761 ] | 758 ] |
| 762 | 759 |
| 763 configs -= [ "//build/config/compiler:chromium_code" ] | 760 configs -= [ "//build/config/compiler:chromium_code" ] |
| 764 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 761 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 "testing/fx_string_testhelpers.h", | 828 "testing/fx_string_testhelpers.h", |
| 832 ] | 829 ] |
| 833 deps = [ | 830 deps = [ |
| 834 "//testing/gtest", | 831 "//testing/gtest", |
| 835 ":pdfium" | 832 ":pdfium" |
| 836 ] | 833 ] |
| 837 include_dirs = [ "." ] | 834 include_dirs = [ "." ] |
| 838 configs -= [ "//build/config/compiler:chromium_code" ] | 835 configs -= [ "//build/config/compiler:chromium_code" ] |
| 839 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 836 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 840 } | 837 } |
| OLD | NEW |