| 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 795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 configs -= [ "//build/config/compiler:chromium_code" ] | 806 configs -= [ "//build/config/compiler:chromium_code" ] |
| 807 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 807 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 808 include_dirs = [ | 808 include_dirs = [ |
| 809 "//v8", | 809 "//v8", |
| 810 "//v8/include", | 810 "//v8/include", |
| 811 ] | 811 ] |
| 812 | 812 |
| 813 public_deps = [ | 813 public_deps = [ |
| 814 "//v8", | 814 "//v8", |
| 815 ] | 815 ] |
| 816 deps = [ | |
| 817 "//v8:v8_libplatform", | |
| 818 ] | |
| 819 } | 816 } |
| 820 | 817 |
| 821 static_library("jsapi") { | 818 static_library("jsapi") { |
| 822 sources = [ | 819 sources = [ |
| 823 "fpdfsdk/include/jsapi/fxjs_v8.h", | 820 "fpdfsdk/include/jsapi/fxjs_v8.h", |
| 824 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 821 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
| 825 ] | 822 ] |
| 826 | 823 |
| 827 configs -= [ "//build/config/compiler:chromium_code" ] | 824 configs -= [ "//build/config/compiler:chromium_code" ] |
| 828 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 825 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1582 "testing/fx_string_testhelpers.h", | 1579 "testing/fx_string_testhelpers.h", |
| 1583 ] | 1580 ] |
| 1584 deps = [ | 1581 deps = [ |
| 1585 "//testing/gtest", | 1582 "//testing/gtest", |
| 1586 ":pdfium" | 1583 ":pdfium" |
| 1587 ] | 1584 ] |
| 1588 include_dirs = [ "." ] | 1585 include_dirs = [ "." ] |
| 1589 configs -= [ "//build/config/compiler:chromium_code" ] | 1586 configs -= [ "//build/config/compiler:chromium_code" ] |
| 1590 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 1587 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 1591 } | 1588 } |
| OLD | NEW |