| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 | 2 |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. 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 import sys | 7 import sys |
| 8 import in_generator | 8 import json5_generator |
| 9 import make_names | 9 import make_names |
| 10 import media_feature_symbol | 10 import media_feature_symbol |
| 11 | 11 |
| 12 | 12 |
| 13 class MakeMediaFeatureNamesWriter(make_names.MakeNamesWriter): | 13 class MakeMediaFeatureNamesWriter(make_names.MakeNamesWriter): |
| 14 pass | 14 pass |
| 15 | 15 |
| 16 MakeMediaFeatureNamesWriter.filters['symbol'] = media_feature_symbol.getMediaFea
tureSymbolWithSuffix('MediaFeature') | 16 MakeMediaFeatureNamesWriter.filters['symbol'] = media_feature_symbol.getMediaFea
tureSymbolWithSuffix('MediaFeature') |
| 17 | 17 |
| 18 if __name__ == "__main__": | 18 if __name__ == "__main__": |
| 19 in_generator.Maker(MakeMediaFeatureNamesWriter).main(sys.argv) | 19 json5_generator.Maker(MakeMediaFeatureNamesWriter).main() |
| OLD | NEW |