Index: tools/gn/secondary/third_party/nss/BUILD.gn |
diff --git a/tools/gn/secondary/third_party/nss/BUILD.gn b/tools/gn/secondary/third_party/nss/BUILD.gn |
index aad45fc3a5363240c409cda3af9622491e627bd2..e175904d4ea16064c29ca45b5c0476f9e8c2fa61 100644 |
--- a/tools/gn/secondary/third_party/nss/BUILD.gn |
+++ b/tools/gn/secondary/third_party/nss/BUILD.gn |
@@ -2,15 +2,11 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/linux/pkg_config.gni") |
+ |
# On Linux we always use the system NSS except for SSL. |
if (is_linux) { |
- pkg_script = "//build/config/linux/pkg-config.py" |
- |
- config("nss_linux_config") { |
- pkgresult = exec_script(pkg_script, [ "nss" ], "value") |
- include_dirs = pkgresult[0] |
- cflags = pkgresult[1] |
- libs = pkgresult[2] |
- lib_dirs = pkgresult[3] |
+ pkg_config("nss_linux_config") { |
+ packages = [ "nss" ] |
} |
} |