Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / tools / gyp / test / variables / commands / repeated_multidir / repeated_command_common.gypi
1 # Copyright 2014 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'variables': {
7     # This command will be run from the directories of the .gyp files that
8     # include this .gypi, the subdirectories dir_1 and dir_2, so use a
9     # relative path from those directories to the script.
10     'observed_value': '<!(python ../print_cwd_basename.py)',
11   },
12   'targets': [
13     {
14       'target_name': '<(target_name)',
15       'type': 'none',
16       'conditions': [
17         ['observed_value != expected_value', {
18           # Attempt to expand an undefined variable. This triggers a GYP
19           # error.
20           'assertion': '<(observed_value_must_equal_expected_value)',
21         }],
22       ],
23     },
24   ],
25 }