From b0337e68fb84c807e0d898aecaad0074444d62e0 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Fri, 30 Oct 2015 10:37:20 -0700 Subject: linux: Remove unneeded -L flags from static library targets. -L isn't used for creating static libraries. This flag isn't present on non-Linux or in the gn file either. BUG=none R=thestig@chromium.org Review URL: https://codereview.chromium.org/1425213003 . --- pdfium.gyp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/pdfium.gyp b/pdfium.gyp index e98a4eee33..db1c52774a 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -62,7 +62,6 @@ 'javascript', 'pdfwindow', ], - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'fpdfsdk/include/fsdk_actionhandler.h', 'fpdfsdk/include/fsdk_annothandler.h', @@ -143,7 +142,6 @@ { 'target_name': 'fdrm', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'core/include/fdrm/fx_crypt.h', 'core/src/fdrm/crypto/fx_crypt.cpp', @@ -154,7 +152,6 @@ { 'target_name': 'fpdfdoc', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'core/include/fpdfdoc/fpdf_ap.h', 'core/include/fpdfdoc/fpdf_doc.h', @@ -184,7 +181,6 @@ { 'target_name': 'fpdfapi', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'core/include/fpdfapi/fpdfapi.h', 'core/include/fpdfapi/fpdf_module.h', @@ -301,7 +297,6 @@ { 'target_name': 'fpdftext', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'core/include/fpdftext/fpdf_text.h', 'core/src/fpdftext/fpdf_text.cpp', @@ -323,7 +318,6 @@ 'third_party/third_party.gyp:fx_libopenjpeg', 'third_party/third_party.gyp:fx_zlib', ], - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'core/include/fxcodec/fx_codec.h', 'core/include/fxcodec/fx_codec_def.h', @@ -395,7 +389,6 @@ { 'target_name': 'fxcrt', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'core/include/fxcrt/fx_basic.h', 'core/include/fxcrt/fx_bidi.h', @@ -440,9 +433,6 @@ { 'target_name': 'fxge', 'type': 'static_library', - 'ldflags': [ - '-L<(PRODUCT_DIR)', - ], 'dependencies': [ 'third_party/third_party.gyp:fx_agg', ], @@ -549,7 +539,6 @@ { 'target_name': 'fxedit', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'fpdfsdk/include/fxedit/fx_edit.h', 'fpdfsdk/include/fxedit/fxet_edit.h', @@ -565,7 +554,6 @@ { 'target_name': 'pdfwindow', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'fpdfsdk/include/pdfwindow/IPDFWindow.h', 'fpdfsdk/include/pdfwindow/PDFWindow.h', @@ -608,7 +596,6 @@ { 'target_name': 'javascript', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'fpdfsdk/include/javascript/IJavaScript.h', 'fpdfsdk/src/javascript/JS_Runtime_Stub.cpp', @@ -680,7 +667,6 @@ { 'target_name': 'formfiller', 'type': 'static_library', - 'ldflags': [ '-L<(PRODUCT_DIR)',], 'sources': [ 'fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h', 'fpdfsdk/include/formfiller/FFL_CheckBox.h', -- cgit v1.2.3