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

Unified Diff: pylib/gyp/generator/ninja_test.py

Issue 11031005: Add "standalone_static_library" flag (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 3 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
Index: pylib/gyp/generator/ninja_test.py
===================================================================
--- pylib/gyp/generator/ninja_test.py (revision 1508)
+++ pylib/gyp/generator/ninja_test.py (working copy)
@@ -24,6 +24,9 @@
endswith('.dll'))
self.assertTrue(writer.ComputeOutputFileName(spec, 'static_library').
endswith('.lib'))
+ self.assertTrue(writer.ComputeOutputFileName(spec,
+ 'standalone_static_library').
+ endswith('.lib'))
if sys.platform == 'linux2':
def test_BinaryNamesLinux(self):
@@ -39,6 +42,9 @@
endswith('.so'))
self.assertTrue(writer.ComputeOutputFileName(spec, 'static_library').
endswith('.a'))
+ self.assertTrue(writer.ComputeOutputFileName(spec,
+ 'standalone_static_library').
+ endswith('.a'))
if __name__ == '__main__':
unittest.main()

Powered by Google App Engine
This is Rietveld 408576698