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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 'INSIDE_BLINK', | 49 'INSIDE_BLINK', |
50 ], | 50 ], |
51 'sources': [ | 51 'sources': [ |
52 '<@(modules_files)', | 52 '<@(modules_files)', |
53 '<@(bindings_modules_generated_aggregate_files)', | 53 '<@(bindings_modules_generated_aggregate_files)', |
54 ], | 54 ], |
55 # Disable c4267 warnings until we fix size_t to int truncations. | 55 # Disable c4267 warnings until we fix size_t to int truncations. |
56 'msvs_disabled_warnings': [ 4267, 4334, ] | 56 'msvs_disabled_warnings': [ 4267, 4334, ] |
57 }, | 57 }, |
58 { | 58 { |
| 59 # FIXME: should be in modules_generated.gyp |
59 'target_name': 'modules_bindings_generated', | 60 'target_name': 'modules_bindings_generated', |
60 'type': 'none', | 61 'type': 'none', |
61 'actions': [ | 62 'actions': [ |
62 { | 63 { |
63 'action_name': 'event_interfaces', | 64 'action_name': 'event_interfaces', |
64 'variables': { | 65 'variables': { |
65 'event_idl_files': [ | 66 'event_idl_files': [ |
66 '<@(modules_event_idl_files)', | 67 '<@(modules_event_idl_files)', |
67 ], | 68 ], |
68 'event_idl_files_list': | 69 'event_idl_files_list': |
69 '<|(event_idl_files_list.tmp <@(event_idl_files))', | 70 '<|(event_idl_files_list.tmp <@(event_idl_files))', |
70 }, | 71 }, |
71 'inputs': [ | 72 'inputs': [ |
72 '../bindings/scripts/generate_event_interfaces.py', | 73 '../bindings/scripts/generate_event_interfaces.py', |
73 '../bindings/scripts/utilities.py', | 74 '../bindings/scripts/utilities.py', |
74 '<(event_idl_files_list)', | 75 '<(event_idl_files_list)', |
75 '<@(event_idl_files)', | 76 '<@(event_idl_files)', |
76 ], | 77 ], |
77 'outputs': [ | 78 'outputs': [ |
78 '<(blink_output_dir)/EventModulesInterfaces.in', | 79 # FIXME: should output to blink_modules_output_dir |
| 80 # http://crbug.com/358074 |
| 81 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', |
79 ], | 82 ], |
80 'action': [ | 83 'action': [ |
81 'python', | 84 'python', |
82 '../bindings/scripts/generate_event_interfaces.py', | 85 '../bindings/scripts/generate_event_interfaces.py', |
83 '--event-idl-files-list', | 86 '--event-idl-files-list', |
84 '<(event_idl_files_list)', | 87 '<(event_idl_files_list)', |
85 '--event-interfaces-file', | 88 '--event-interfaces-file', |
86 '<(blink_output_dir)/EventModulesInterfaces.in', | 89 '<(SHARED_INTERMEDIATE_DIR)/blink/EventModulesInterfaces.in', |
87 '--write-file-only-if-changed', | 90 '--write-file-only-if-changed', |
88 '<(write_file_only_if_changed)', | 91 '<(write_file_only_if_changed)', |
89 '--suffix', | 92 '--suffix', |
90 'Modules', | 93 'Modules', |
91 ], | 94 ], |
92 }, | 95 }, |
93 ], | 96 ], |
94 }, | 97 }, |
95 { | 98 { |
96 'target_name': 'modules_testing', | 99 'target_name': 'modules_testing', |
97 'type': 'static_library', | 100 'type': 'static_library', |
98 'dependencies': [ | 101 'dependencies': [ |
99 '../config.gyp:config', | 102 '../config.gyp:config', |
100 '../core/core.gyp:webcore', | 103 '../core/core.gyp:webcore', |
101 ], | 104 ], |
102 'defines': [ | 105 'defines': [ |
103 'BLINK_IMPLEMENTATION=1', | 106 'BLINK_IMPLEMENTATION=1', |
104 'INSIDE_BLINK', | 107 'INSIDE_BLINK', |
105 ], | 108 ], |
106 'sources': [ | 109 'sources': [ |
107 '<@(modules_testing_files)', | 110 '<@(modules_testing_files)', |
108 ], | 111 ], |
109 | 112 |
110 }, | 113 }, |
111 { | 114 { |
| 115 # FIXME: should be in modules_generated.gyp |
112 'target_name': 'make_modules_generated', | 116 'target_name': 'make_modules_generated', |
113 'type': 'none', | 117 'type': 'none', |
114 'hard_dependency': 1, | 118 'hard_dependency': 1, |
115 'dependencies': [ | 119 'dependencies': [ |
116 #'generated_testing_idls', | 120 #'generated_testing_idls', |
117 '../core/core_generated.gyp:core_bindings_generated', | 121 '../core/core_generated.gyp:core_bindings_generated', |
118 'modules_bindings_generated', | 122 'modules_bindings_generated', |
119 '../config.gyp:config', | 123 '../config.gyp:config', |
120 ], | 124 ], |
121 'sources': [ | 125 'sources': [ |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 'python', | 197 'python', |
194 '../build/scripts/make_names.py', | 198 '../build/scripts/make_names.py', |
195 'EventTargetModulesFactory.in', | 199 'EventTargetModulesFactory.in', |
196 '--output_dir', | 200 '--output_dir', |
197 '<(SHARED_INTERMEDIATE_DIR)/blink', | 201 '<(SHARED_INTERMEDIATE_DIR)/blink', |
198 ], | 202 ], |
199 }, | 203 }, |
200 ], | 204 ], |
201 }], | 205 }], |
202 } | 206 } |
OLD | NEW |