Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: Source/core/core_generated.gyp

Issue 729393002: Auto generate UseCounter::Feature enum from an .in file (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 '<(blink_core_output_dir)/HTMLElementLookupTrie.h', 788 '<(blink_core_output_dir)/HTMLElementLookupTrie.h',
789 ], 789 ],
790 'action': [ 790 'action': [
791 'python', 791 'python',
792 '../build/scripts/make_element_lookup_trie.py', 792 '../build/scripts/make_element_lookup_trie.py',
793 'html/HTMLTagNames.in', 793 'html/HTMLTagNames.in',
794 '--output_dir', 794 '--output_dir',
795 '<(blink_core_output_dir)', 795 '<(blink_core_output_dir)',
796 ], 796 ],
797 }, 797 },
798 {
Timothy Loh 2014/11/24 11:02:40 You almost certainly need to edit a GN file somewh
799 'action_name': 'UseCounter',
800 'inputs': [
801 '<@(scripts_for_in_files)',
802 '../build/scripts/make_use_counter.py',
803 '../build/scripts/templates/UseCounterGenerated.h.tmpl',
804 'frame/UseCounterGenerated.in',
805 ],
806 'outputs': [
807 '<(blink_core_output_dir)/UseCounterGenerated.h',
808 ],
809 'action': [
810 'python',
811 '../build/scripts/make_use_counter.py',
812 'frame/UseCounterGenerated.in',
813 '--output_dir',
814 '<(blink_core_output_dir)',
815 ],
816 },
798 ], 817 ],
799 'rules': [ 818 'rules': [
800 { 819 {
801 'rule_name': 'bison', 820 'rule_name': 'bison',
802 'extension': 'y', 821 'extension': 'y',
803 'outputs': [ 822 'outputs': [
804 '<(blink_core_output_dir)/<(RULE_INPUT_ROOT).cpp', 823 '<(blink_core_output_dir)/<(RULE_INPUT_ROOT).cpp',
805 '<(blink_core_output_dir)/<(RULE_INPUT_ROOT).h' 824 '<(blink_core_output_dir)/<(RULE_INPUT_ROOT).h'
806 ], 825 ],
807 'action': [ 826 'action': [
808 'python', 827 'python',
809 '../build/scripts/rule_bison.py', 828 '../build/scripts/rule_bison.py',
810 '<(RULE_INPUT_PATH)', 829 '<(RULE_INPUT_PATH)',
811 '<(blink_core_output_dir)', 830 '<(blink_core_output_dir)',
812 '<(bison_exe)', 831 '<(bison_exe)',
813 ], 832 ],
814 }, 833 },
815 ], 834 ],
816 }, 835 },
817 ], 836 ],
818 } 837 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698