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

Side by Side Diff: Source/bindings/scripts/scripts.gypi

Issue 316173008: IDL build: factor out global objects action into a GYP template (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'bindings_scripts_dir': '.', 7 'bindings_scripts_dir': '.',
8 'bindings_scripts_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/sc ripts', 8 'bindings_scripts_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings/sc ripts',
9 'jinja_module_files': [ 9 'jinja_module_files': [
10 # jinja2/__init__.py contains version string, so sufficient for package 10 # jinja2/__init__.py contains version string, so sufficient for package
(...skipping 23 matching lines...) Expand all
34 # V8 code generator 34 # V8 code generator
35 'code_generator_v8.py', 35 'code_generator_v8.py',
36 'v8_attributes.py', 36 'v8_attributes.py',
37 'v8_callback_interface.py', 37 'v8_callback_interface.py',
38 'v8_globals.py', 38 'v8_globals.py',
39 'v8_interface.py', 39 'v8_interface.py',
40 'v8_methods.py', 40 'v8_methods.py',
41 'v8_types.py', 41 'v8_types.py',
42 'v8_utilities.py', 42 'v8_utilities.py',
43 ], 43 ],
44
45 'conditions': [
46 # These scripts can skip writing generated files if they are identical
47 # to the already existing files, which avoids further build steps, like
48 # recompilation. However, a dependency (earlier build step) having a
49 # newer timestamp than an output (later build step) confuses some build
50 # systems, so only use this on ninja, which explicitly supports this use
51 # case (gyp turns all actions into ninja restat rules).
52 ['"<(GENERATOR)"=="ninja"', {
53 'write_file_only_if_changed': '1',
54 }, {
55 'write_file_only_if_changed': '0',
56 }],
57 ],
44 }, 58 },
45 } 59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698