summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-13 21:16:21 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-13 21:16:21 +0000
commit9125e684c44a8ec9d9a80a11f26f8c8f7e493bd0 (patch)
tree94e3b678ecb545cd9dd26ecc3ffa5eac1fc597df /build/linux
parent99e487e8243e13464df421ef539ec514b92f80df (diff)
downloadchromium_src-9125e684c44a8ec9d9a80a11f26f8c8f7e493bd0.zip
chromium_src-9125e684c44a8ec9d9a80a11f26f8c8f7e493bd0.tar.gz
chromium_src-9125e684c44a8ec9d9a80a11f26f8c8f7e493bd0.tar.bz2
Add an unbundled openssl.gyp file.
BUG=none R=thestig@chromium.org Review URL: https://codereview.chromium.org/23126002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/unbundle/openssl.gyp25
-rwxr-xr-xbuild/linux/unbundle/replace_gyp_files.py1
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',