Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Unified Diff: base/third_party/nspr/nspr.gyp

Issue 11685002: Linux: add option to use system nspr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base_untrusted.gyp ('k') | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/third_party/nspr/nspr.gyp
diff --git a/base/third_party/nspr/nspr.gyp b/base/third_party/nspr/nspr.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..681e6ae907546b1d768186a3ec892a4021108d45
--- /dev/null
+++ b/base/third_party/nspr/nspr.gyp
@@ -0,0 +1,41 @@
+# Copyright (c) 2012 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.
+
+{
+ 'conditions': [
+ ['use_system_nspr==1', {
+ 'targets': [
+ {
+ 'target_name': 'nspr',
+ 'type': 'none',
+ 'toolsets': ['host', 'target'],
+ 'variables': {
+ 'headers_root_path': '.',
+ 'header_filenames': [
+ 'prcpucfg.h',
+ 'prtime.h',
+ 'prtypes.h',
+ ],
+ },
+ 'includes': [
+ '../../../build/shim_headers.gypi',
+ ],
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags nspr)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other nspr)',
+ ],
+ 'libraries': [
+ '<!@(pkg-config --libs-only-l nspr)',
+ ],
+ },
+ }
+ ],
+ }],
+ ],
+}
« no previous file with comments | « base/base_untrusted.gyp ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698