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

Unified Diff: test/dependencies/gyptest-indirect-module-dependency.py

Issue 1410213005: win: Fix missing loadable_module dependency in ULDI mode (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: all-generators Created 5 years, 1 month 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 | « pylib/gyp/generator/ninja.py ('k') | test/dependencies/module-dep/a.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/dependencies/gyptest-indirect-module-dependency.py
diff --git a/test/dependencies/gyptest-indirect-module-dependency.py b/test/dependencies/gyptest-indirect-module-dependency.py
new file mode 100644
index 0000000000000000000000000000000000000000..d001b57e7d4f4c6bb62adf093904d5dfdac91e50
--- /dev/null
+++ b/test/dependencies/gyptest-indirect-module-dependency.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+
+# Copyright (c) 2015 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.
+
+"""
+Make sure that we cause downstream modules to get built when we depend on the
+parent targets.
+"""
+
+import TestGyp
+
+test = TestGyp.TestGyp()
+
+CHDIR = 'module-dep'
+test.run_gyp('indirect-module-dependency.gyp', chdir=CHDIR)
+test.build('indirect-module-dependency.gyp', 'an_exe', chdir=CHDIR)
+test.built_file_must_exist(
+ test.built_file_basename('a_module', test.LOADABLE_MODULE), chdir=CHDIR)
+
+test.pass_test()
« no previous file with comments | « pylib/gyp/generator/ninja.py ('k') | test/dependencies/module-dep/a.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698