diff options
Diffstat (limited to 'build/linux')
-rw-r--r-- | build/linux/unbundle/openssl.gyp | 25 | ||||
-rwxr-xr-x | build/linux/unbundle/replace_gyp_files.py | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/build/linux/unbundle/openssl.gyp b/build/linux/unbundle/openssl.gyp new file mode 100644 index 0000000..d832ba7 --- /dev/null +++ b/build/linux/unbundle/openssl.gyp @@ -0,0 +1,25 @@ +# Copyright 2013 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. + +{ + 'targets': [ + { + 'target_name': 'openssl', + 'type': 'none', + 'direct_dependent_settings': { + 'cflags': [ + '<!@(pkg-config --cflags openssl)', + ], + }, + 'link_settings': { + 'ldflags': [ + '<!@(pkg-config --libs-only-L --libs-only-other openssl)', + ], + 'libraries': [ + '<!@(pkg-config --libs-only-l openssl)', + ], + }, + } + ], +} diff --git a/build/linux/unbundle/replace_gyp_files.py b/build/linux/unbundle/replace_gyp_files.py index 1436711..c0fcc49 100755 --- a/build/linux/unbundle/replace_gyp_files.py +++ b/build/linux/unbundle/replace_gyp_files.py @@ -30,6 +30,7 @@ REPLACEMENTS = { 'use_system_libwebp': 'third_party/libwebp/libwebp.gyp', 'use_system_libxml': 'third_party/libxml/libxml.gyp', 'use_system_libxslt': 'third_party/libxslt/libxslt.gyp', + 'use_system_openssl': 'third_party/openssl/openssl.gyp', 'use_system_opus': 'third_party/opus/opus.gyp', 'use_system_re2': 'third_party/re2/re2.gyp', 'use_system_snappy': 'third_party/snappy/snappy.gyp', |