| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2010 Google Inc. All rights reserved. | 3 # Copyright (c) 2010 Google Inc. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 from compiler.ast import Const | 7 from compiler.ast import Const |
| 8 from compiler.ast import Dict | 8 from compiler.ast import Dict |
| 9 from compiler.ast import Discard | 9 from compiler.ast import Discard |
| 10 from compiler.ast import List | 10 from compiler.ast import List |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 'postbuilds', | 76 'postbuilds', |
| 77 'product_dir', | 77 'product_dir', |
| 78 'product_extension', | 78 'product_extension', |
| 79 'product_name', | 79 'product_name', |
| 80 'product_prefix', | 80 'product_prefix', |
| 81 'rules', | 81 'rules', |
| 82 'run_as', | 82 'run_as', |
| 83 'sources', | 83 'sources', |
| 84 'suppress_wildcard', | 84 'suppress_wildcard', |
| 85 'target_name', | 85 'target_name', |
| 86 'test', | |
| 87 'toolset', | 86 'toolset', |
| 88 'toolsets', | 87 'toolsets', |
| 89 'type', | 88 'type', |
| 90 'variants', | 89 'variants', |
| 91 | 90 |
| 92 # Sections that can be found inside targets or configurations, but that | 91 # Sections that can be found inside targets or configurations, but that |
| 93 # should not be propagated from targets into their configurations. | 92 # should not be propagated from targets into their configurations. |
| 94 'variables', | 93 'variables', |
| 95 ] | 94 ] |
| 96 non_configuration_keys = [] | 95 non_configuration_keys = [] |
| (...skipping 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2211 ValidateRunAsInTarget(target, target_dict, build_file) | 2210 ValidateRunAsInTarget(target, target_dict, build_file) |
| 2212 ValidateActionsInTarget(target, target_dict, build_file) | 2211 ValidateActionsInTarget(target, target_dict, build_file) |
| 2213 | 2212 |
| 2214 # Generators might not expect ints. Turn them into strs. | 2213 # Generators might not expect ints. Turn them into strs. |
| 2215 TurnIntIntoStrInDict(data) | 2214 TurnIntIntoStrInDict(data) |
| 2216 | 2215 |
| 2217 # TODO(mark): Return |data| for now because the generator needs a list of | 2216 # TODO(mark): Return |data| for now because the generator needs a list of |
| 2218 # build files that came in. In the future, maybe it should just accept | 2217 # build files that came in. In the future, maybe it should just accept |
| 2219 # a list, and not the whole data dict. | 2218 # a list, and not the whole data dict. |
| 2220 return [flat_list, targets, data] | 2219 return [flat_list, targets, data] |
| OLD | NEW |