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

Unified Diff: test/empty-target/gyptest-empty-target.py

Issue 543743003: Changes the ninja generator to output phony targets for uninteresting targets (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 6 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
« no previous file with comments | « test/empty-target/empty-target.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/empty-target/gyptest-empty-target.py
===================================================================
--- test/empty-target/gyptest-empty-target.py (revision 0)
+++ test/empty-target/gyptest-empty-target.py (revision 0)
@@ -0,0 +1,18 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2014 Google Inc. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""
+Verifies building a target with nothing succeeds.
+"""
+
+import os
+import sys
+import TestGyp
+
+test = TestGyp.TestGyp()
+test.run_gyp('empty-target.gyp')
+test.build('empty-target.gyp', target='empty_target')
+test.pass_test()
Property changes on: test/empty-target/gyptest-empty-target.py
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « test/empty-target/empty-target.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698