| 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_engine = 0 # 0 PDFium | 5 pdf_engine = 0 # 0 PDFium |
| 6 | 6 |
| 7 # TODO(GYP) need support for loadable modules | 7 # TODO(GYP) need support for loadable modules |
| 8 shared_library("pdf") { | 8 shared_library("pdf") { |
| 9 sources = [ | 9 sources = [ |
| 10 "button.h", | 10 "button.h", |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 # 'mac_real_dsym': 1, | 81 # 'mac_real_dsym': 1, |
| 82 #}, | 82 #}, |
| 83 #'sources+': [ | 83 #'sources+': [ |
| 84 # 'Info.plist' | 84 # 'Info.plist' |
| 85 #] | 85 #] |
| 86 #'xcode_settings': { | 86 #'xcode_settings': { |
| 87 # 'INFOPLIST_FILE': 'Info.plist', | 87 # 'INFOPLIST_FILE': 'Info.plist', |
| 88 #}, | 88 #}, |
| 89 } | 89 } |
| 90 | 90 |
| 91 if (is_linux) { | |
| 92 # TODO(GYP) | |
| 93 ## Use a custom version script to prevent leaking the vendor name in | |
| 94 ## visible symbols. | |
| 95 #'ldflags': [ | |
| 96 # '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/pdf/libpdf.map' | |
| 97 #], | |
| 98 } | |
| 99 | |
| 100 deps = [ | 91 deps = [ |
| 101 "//base", | 92 "//base", |
| 102 "//net", | 93 "//net", |
| 103 "//ppapi:ppapi_cpp", | 94 "//ppapi:ppapi_cpp", |
| 104 "//third_party/pdfium", | 95 "//third_party/pdfium", |
| 105 ] | 96 ] |
| 106 } | 97 } |
| 107 | 98 |
| 108 # TODO(GYP) pdf_linux_symbols target. | 99 # TODO(GYP) pdf_linux_symbols target. |
| OLD | NEW |