| OLD | NEW |
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from compiler.ast import Const | 5 from compiler.ast import Const |
| 6 from compiler.ast import Dict | 6 from compiler.ast import Dict |
| 7 from compiler.ast import Discard | 7 from compiler.ast import Discard |
| 8 from compiler.ast import List | 8 from compiler.ast import List |
| 9 from compiler.ast import Module | 9 from compiler.ast import Module |
| 10 from compiler.ast import Node | 10 from compiler.ast import Node |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 'product_dir', | 75 'product_dir', |
| 76 'product_extension', | 76 'product_extension', |
| 77 'product_name', | 77 'product_name', |
| 78 'product_prefix', | 78 'product_prefix', |
| 79 'rules', | 79 'rules', |
| 80 'run_as', | 80 'run_as', |
| 81 'sources', | 81 'sources', |
| 82 'standalone_static_library', | 82 'standalone_static_library', |
| 83 'suppress_wildcard', | 83 'suppress_wildcard', |
| 84 'target_name', | 84 'target_name', |
| 85 'target_extension', |
| 85 'toolset', | 86 'toolset', |
| 86 'toolsets', | 87 'toolsets', |
| 87 'type', | 88 'type', |
| 88 'variants', | 89 'variants', |
| 89 | 90 |
| 90 # Sections that can be found inside targets or configurations, but that | 91 # Sections that can be found inside targets or configurations, but that |
| 91 # should not be propagated from targets into their configurations. | 92 # should not be propagated from targets into their configurations. |
| 92 'variables', | 93 'variables', |
| 93 ] | 94 ] |
| 94 non_configuration_keys = [] | 95 non_configuration_keys = [] |
| (...skipping 2609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2704 ValidateRunAsInTarget(target, target_dict, build_file) | 2705 ValidateRunAsInTarget(target, target_dict, build_file) |
| 2705 ValidateActionsInTarget(target, target_dict, build_file) | 2706 ValidateActionsInTarget(target, target_dict, build_file) |
| 2706 | 2707 |
| 2707 # Generators might not expect ints. Turn them into strs. | 2708 # Generators might not expect ints. Turn them into strs. |
| 2708 TurnIntIntoStrInDict(data) | 2709 TurnIntIntoStrInDict(data) |
| 2709 | 2710 |
| 2710 # TODO(mark): Return |data| for now because the generator needs a list of | 2711 # TODO(mark): Return |data| for now because the generator needs a list of |
| 2711 # build files that came in. In the future, maybe it should just accept | 2712 # build files that came in. In the future, maybe it should just accept |
| 2712 # a list, and not the whole data dict. | 2713 # a list, and not the whole data dict. |
| 2713 return [flat_list, targets, data] | 2714 return [flat_list, targets, data] |
| OLD | NEW |