diff options
author | brettw <brettw@chromium.org> | 2015-02-25 10:46:53 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-25 18:48:11 +0000 |
commit | 70d2f6ea98ae618b24a7c517570b74d20b92a7c7 (patch) | |
tree | d9710e84119b831e80d1e41e9513a5d8c2f7dfb1 /net/third_party | |
parent | 830ccc4c45969c05684bb8e6919197706859d0ec (diff) | |
download | chromium_src-70d2f6ea98ae618b24a7c517570b74d20b92a7c7.zip chromium_src-70d2f6ea98ae618b24a7c517570b74d20b92a7c7.tar.gz chromium_src-70d2f6ea98ae618b24a7c517570b74d20b92a7c7.tar.bz2 |
Fix official build in GN
Changes process_version template. In GYP this is used in two ways and the GN version only supported one of these. This change also deletes an unnecessary fork of the template file, and fixes the dependencies for the extra files (previously they were just passed with "-f" and not added to the inputs of the target.
Adds a cdm_adapter template which basically matches the GYP version. Uses this for the media clearkey adapter and the widevine one in the official build.
Fixes for the crypto targets when compiling with the official build's checked-in sysroots.
Review URL: https://codereview.chromium.org/949233003
Cr-Commit-Position: refs/heads/master@{#318083}
Diffstat (limited to 'net/third_party')
-rw-r--r-- | net/third_party/nss/ssl/BUILD.gn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/third_party/nss/ssl/BUILD.gn b/net/third_party/nss/ssl/BUILD.gn index a40b71b..d8f7961 100644 --- a/net/third_party/nss/ssl/BUILD.gn +++ b/net/third_party/nss/ssl/BUILD.gn @@ -96,6 +96,10 @@ component("libssl") { if (is_clang) { # SSL triggers some of these Clang warnings. configs -= [ "//build/config/clang:extra_warnings" ] + + # There is a broken header guard in /usr/include/nss/secmod.h: + # https://bugzilla.mozilla.org/show_bug.cgi?id=884072 + cflags = [ "-Wno-header-guard" ] } if (is_posix) { |