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

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

Issue 212983010: Make EventInterfaces.in build step not depend on bindings generation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months 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 | Annotate | Revision Log
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 14 matching lines...) Expand all
25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 # 29 #
30 30
31 { 31 {
32 'includes': [ 32 'includes': [
33 'core.gypi', 33 'core.gypi',
34 '../bindings/bindings.gypi', 34 '../bindings/bindings.gypi',
35 '../modules/modules.gypi', # for list of event IDL files
Nils Barth (inactive) 2014/03/27 06:43:51 I suspect we don't want core/ to depend on modules
haraken 2014/03/27 07:08:59 Yeah, I don't think it's a right thing to make cor
Nils Barth (inactive) 2014/03/27 07:14:12 core/ already depends on bindings/ that depends on
35 '../build/features.gypi', 36 '../build/features.gypi',
36 '../build/scripts/scripts.gypi', 37 '../build/scripts/scripts.gypi',
37 ], 38 ],
38 39
39 'targets': [ 40 'targets': [
40 { 41 {
41 'target_name': 'generated_testing_idls', 42 'target_name': 'generated_testing_idls',
42 'type': 'none', 43 'type': 'none',
43 'actions': [ 44 'actions': [
44 { 45 {
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 ], 417 ],
417 'action': [ 418 'action': [
418 'python', 419 'python',
419 '../build/scripts/make_element_type_helpers.py', 420 '../build/scripts/make_element_type_helpers.py',
420 'svg/SVGTagNames.in', 421 'svg/SVGTagNames.in',
421 '--output_dir', 422 '--output_dir',
422 '<(SHARED_INTERMEDIATE_DIR)/blink', 423 '<(SHARED_INTERMEDIATE_DIR)/blink',
423 ], 424 ],
424 }, 425 },
425 { 426 {
427 'action_name': 'EventInterfaces',
428 'variables': {
429 'event_idl_files': [
430 '<@(core_event_idl_files)',
431 '<@(modules_event_idl_files)',
432 ],
433 'event_idl_files_list':
434 '<|(event_idl_files_list.tmp <@(event_idl_files))',
435 },
436 'inputs': [
437 '../bindings/scripts/generate_event_interfaces.py',
Nils Barth (inactive) 2014/03/27 06:43:51 Will move to build/scripts in followup.
438 '../bindings/scripts/utilities.py',
439 '<@(event_idl_files)',
440 ],
441 'outputs': [
442 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
443 ],
444 'action': [
445 'python',
446 '../bindings/scripts/generate_event_interfaces.py',
447 '--event-idl-files-list',
448 '<@(event_idl_files_list)',
449 '--event-interfaces-file',
450 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
451 '<@(write_file_only_if_changed)',
452 ],
453 },
454 {
426 'action_name': 'EventFactory', 455 'action_name': 'EventFactory',
427 'inputs': [ 456 'inputs': [
428 '<@(make_event_factory_files)', 457 '<@(make_event_factory_files)',
429 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in', 458 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.in',
430 'events/EventAliases.in', 459 'events/EventAliases.in',
431 ], 460 ],
432 'outputs': [ 461 'outputs': [
433 '<(SHARED_INTERMEDIATE_DIR)/blink/Event.cpp', 462 '<(SHARED_INTERMEDIATE_DIR)/blink/Event.cpp',
434 '<(SHARED_INTERMEDIATE_DIR)/blink/EventHeaders.h', 463 '<(SHARED_INTERMEDIATE_DIR)/blink/EventHeaders.h',
435 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.h', 464 '<(SHARED_INTERMEDIATE_DIR)/blink/EventInterfaces.h',
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 '../build/scripts/rule_bison.py', 789 '../build/scripts/rule_bison.py',
761 '<(RULE_INPUT_PATH)', 790 '<(RULE_INPUT_PATH)',
762 '<(SHARED_INTERMEDIATE_DIR)/blink', 791 '<(SHARED_INTERMEDIATE_DIR)/blink',
763 '<(bison_exe)', 792 '<(bison_exe)',
764 ], 793 ],
765 }, 794 },
766 ], 795 ],
767 }, 796 },
768 ], 797 ],
769 } 798 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698