3
# Copyright (c) 2014 Google Inc. All rights reserved.
4
# Use of this source code is governed by a BSD-style license that can be
5
# found in the LICENSE file.
8
Make sure macro expansion of $(TargetPath) is handled.
15
if sys.platform == 'win32':
16
test = TestGyp.TestGyp(formats=['msvs', 'ninja'])
19
test.run_gyp('targetpath.gyp', chdir=CHDIR)
20
test.build('targetpath.gyp', test.ALL, chdir=CHDIR)
21
test.built_file_must_exist('test_targetpath_executable.exe', chdir=CHDIR)
22
test.built_file_must_exist('test_targetpath_loadable_module.dll',
24
test.built_file_must_exist('test_targetpath_shared_library.dll',
26
test.built_file_must_exist('test_targetpath_static_library.lib',
28
test.built_file_must_exist('test_targetpath_product_extension.foo',