OLD | NEW |
1 # | 1 # |
2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 '<(blink_output_dir)/SharedWorkerGlobalScopeConstructors.idl', | 76 '<(blink_output_dir)/SharedWorkerGlobalScopeConstructors.idl', |
77 'DedicatedWorkerGlobalScope', | 77 'DedicatedWorkerGlobalScope', |
78 '<(blink_output_dir)/DedicatedWorkerGlobalScopeConstructors.idl', | 78 '<(blink_output_dir)/DedicatedWorkerGlobalScopeConstructors.idl', |
79 'ServiceWorkerGlobalScope', | 79 'ServiceWorkerGlobalScope', |
80 '<(blink_output_dir)/ServiceWorkerGlobalScopeConstructors.idl', | 80 '<(blink_output_dir)/ServiceWorkerGlobalScopeConstructors.idl', |
81 ], | 81 ], |
82 'message': 'Generating IDL files for constructors on global objects', | 82 'message': 'Generating IDL files for constructors on global objects', |
83 }] | 83 }] |
84 }, | 84 }, |
85 ################################################################################ | 85 ################################################################################ |
86 { | |
87 # FIXME: interfaces_info is used by bindings_core, but depend on modules, | |
88 # which violates layering http://crbug.com/358074 | |
89 # Generate separate interfaces_info_core and interfaces_info_modules | |
90 'target_name': 'interfaces_info', | |
91 'type': 'none', | |
92 'dependencies': [ | |
93 # Generated IDLs | |
94 'global_constructors_idls', | |
95 '../core/core_generated.gyp:generated_testing_idls', | |
96 ], | |
97 'actions': [{ | |
98 'action_name': 'compute_interfaces_info', | |
99 'inputs': [ | |
100 'scripts/compute_interfaces_info.py', | |
101 'scripts/utilities.py', | |
102 '<(static_idl_files_list)', | |
103 '<@(static_idl_files)', | |
104 '<@(generated_idl_files)', | |
105 ], | |
106 'outputs': [ | |
107 '<(blink_output_dir)/InterfacesInfo.pickle', | |
108 ], | |
109 'action': [ | |
110 'python', | |
111 'scripts/compute_interfaces_info.py', | |
112 '--idl-files-list', | |
113 '<(static_idl_files_list)', | |
114 '--interfaces-info-file', | |
115 '<(blink_output_dir)/InterfacesInfo.pickle', | |
116 '--write-file-only-if-changed', | |
117 '<(write_file_only_if_changed)', | |
118 '--', | |
119 # Generated files must be passed at command line | |
120 '<@(generated_idl_files)', | |
121 ], | |
122 'message': 'Computing global information about IDL files', | |
123 }] | |
124 }, | |
125 ################################################################################ | |
126 ], # targets | 86 ], # targets |
127 } | 87 } |
OLD | NEW |