summaryrefslogtreecommitdiffstats
path: root/pdf/BUILD.gn
diff options
context:
space:
mode:
authorraymes@google.com <raymes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-02 23:47:30 +0000
committerraymes@google.com <raymes@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-02 23:47:30 +0000
commita8d58b9e1843cb25482d2eb675cd840296b7f506 (patch)
tree4e365aeb96b192658ccc9eea80cb44e749a4ef1f /pdf/BUILD.gn
parent5e133b93c7d91482ac8ed54ccd806911c818da28 (diff)
downloadchromium_src-a8d58b9e1843cb25482d2eb675cd840296b7f506.zip
chromium_src-a8d58b9e1843cb25482d2eb675cd840296b7f506.tar.gz
chromium_src-a8d58b9e1843cb25482d2eb675cd840296b7f506.tar.bz2
Converted dos line endings to unix for pdf/BUILD.gn
TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/367893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'pdf/BUILD.gn')
-rw-r--r--pdf/BUILD.gn216
1 files changed, 108 insertions, 108 deletions
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn
index 43f33a8..916a831 100644
--- a/pdf/BUILD.gn
+++ b/pdf/BUILD.gn
@@ -1,108 +1,108 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-pdf_engine = 0 # 0 PDFium
-
-# TODO(GYP) need support for loadable modules
-shared_library("pdf") {
- sources = [
- "button.h",
- "button.cc",
- "chunk_stream.h",
- "chunk_stream.cc",
- "control.h",
- "control.cc",
- "document_loader.h",
- "document_loader.cc",
- "draw_utils.cc",
- "draw_utils.h",
- "fading_control.cc",
- "fading_control.h",
- "fading_controls.cc",
- "fading_controls.h",
- "instance.cc",
- "instance.h",
- "number_image_generator.cc",
- "number_image_generator.h",
- "out_of_process_instance.cc",
- "out_of_process_instance.h",
- "page_indicator.cc",
- "page_indicator.h",
- "paint_aggregator.cc",
- "paint_aggregator.h",
- "paint_manager.cc",
- "paint_manager.h",
- "pdf.cc",
- "pdf.h",
- "pdf.rc",
- "progress_control.cc",
- "progress_control.h",
- "pdf_engine.h",
- "preview_mode_client.cc",
- "preview_mode_client.h",
- "resource.h",
- "resource_consts.h",
- "thumbnail_control.cc",
- "thumbnail_control.h",
- "../chrome/browser/chrome_page_zoom_constants.cc",
- "../content/common/page_zoom.cc",
- ]
-
- if (pdf_engine == 0) {
- sources += [
- "pdfium/pdfium_assert_matching_enums.cc",
- "pdfium/pdfium_engine.cc",
- "pdfium/pdfium_engine.h",
- "pdfium/pdfium_mem_buffer_file_read.cc",
- "pdfium/pdfium_mem_buffer_file_read.h",
- "pdfium/pdfium_mem_buffer_file_write.cc",
- "pdfium/pdfium_mem_buffer_file_write.h",
- "pdfium/pdfium_page.cc",
- "pdfium/pdfium_page.h",
- "pdfium/pdfium_range.cc",
- "pdfium/pdfium_range.h",
- ]
- }
-
- if (is_win) {
- defines = [ "COMPILE_CONTENT_STATICALLY" ]
- cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations.
- }
-
- if (is_mac) {
- # TODO(GYP)
- #'mac_bundle': 1,
- #'product_name': 'PDF',
- #'product_extension': 'plugin',
- ## Strip the shipping binary of symbols so "Foxit" doesn't appear in
- ## the binary. Symbols are stored in a separate .dSYM.
- #'variables': {
- # 'mac_real_dsym': 1,
- #},
- #'sources+': [
- # 'Info.plist'
- #]
- #'xcode_settings': {
- # 'INFOPLIST_FILE': 'Info.plist',
- #},
- }
-
- if (is_linux) {
- # TODO(GYP)
- ## Use a custom version script to prevent leaking the vendor name in
- ## visible symbols.
- #'ldflags': [
- # '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/pdf/libpdf.map'
- #],
- }
-
- deps = [
- "//base",
- "//net",
- "//ppapi:ppapi_cpp",
- "//third_party/pdfium",
- ]
-}
-
-# TODO(GYP) pdf_linux_symbols target.
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+pdf_engine = 0 # 0 PDFium
+
+# TODO(GYP) need support for loadable modules
+shared_library("pdf") {
+ sources = [
+ "button.h",
+ "button.cc",
+ "chunk_stream.h",
+ "chunk_stream.cc",
+ "control.h",
+ "control.cc",
+ "document_loader.h",
+ "document_loader.cc",
+ "draw_utils.cc",
+ "draw_utils.h",
+ "fading_control.cc",
+ "fading_control.h",
+ "fading_controls.cc",
+ "fading_controls.h",
+ "instance.cc",
+ "instance.h",
+ "number_image_generator.cc",
+ "number_image_generator.h",
+ "out_of_process_instance.cc",
+ "out_of_process_instance.h",
+ "page_indicator.cc",
+ "page_indicator.h",
+ "paint_aggregator.cc",
+ "paint_aggregator.h",
+ "paint_manager.cc",
+ "paint_manager.h",
+ "pdf.cc",
+ "pdf.h",
+ "pdf.rc",
+ "progress_control.cc",
+ "progress_control.h",
+ "pdf_engine.h",
+ "preview_mode_client.cc",
+ "preview_mode_client.h",
+ "resource.h",
+ "resource_consts.h",
+ "thumbnail_control.cc",
+ "thumbnail_control.h",
+ "../chrome/browser/chrome_page_zoom_constants.cc",
+ "../content/common/page_zoom.cc",
+ ]
+
+ if (pdf_engine == 0) {
+ sources += [
+ "pdfium/pdfium_assert_matching_enums.cc",
+ "pdfium/pdfium_engine.cc",
+ "pdfium/pdfium_engine.h",
+ "pdfium/pdfium_mem_buffer_file_read.cc",
+ "pdfium/pdfium_mem_buffer_file_read.h",
+ "pdfium/pdfium_mem_buffer_file_write.cc",
+ "pdfium/pdfium_mem_buffer_file_write.h",
+ "pdfium/pdfium_page.cc",
+ "pdfium/pdfium_page.h",
+ "pdfium/pdfium_range.cc",
+ "pdfium/pdfium_range.h",
+ ]
+ }
+
+ if (is_win) {
+ defines = [ "COMPILE_CONTENT_STATICALLY" ]
+ cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations.
+ }
+
+ if (is_mac) {
+ # TODO(GYP)
+ #'mac_bundle': 1,
+ #'product_name': 'PDF',
+ #'product_extension': 'plugin',
+ ## Strip the shipping binary of symbols so "Foxit" doesn't appear in
+ ## the binary. Symbols are stored in a separate .dSYM.
+ #'variables': {
+ # 'mac_real_dsym': 1,
+ #},
+ #'sources+': [
+ # 'Info.plist'
+ #]
+ #'xcode_settings': {
+ # 'INFOPLIST_FILE': 'Info.plist',
+ #},
+ }
+
+ if (is_linux) {
+ # TODO(GYP)
+ ## Use a custom version script to prevent leaking the vendor name in
+ ## visible symbols.
+ #'ldflags': [
+ # '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/pdf/libpdf.map'
+ #],
+ }
+
+ deps = [
+ "//base",
+ "//net",
+ "//ppapi:ppapi_cpp",
+ "//third_party/pdfium",
+ ]
+}
+
+# TODO(GYP) pdf_linux_symbols target.