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

Side by Side Diff: Source/bindings/bindings.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
« no previous file with comments | « no previous file | Source/bindings/core/core.gypi » ('j') | Source/bindings/core/core.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'includes': [ 6 'includes': [
7 'v8/v8.gypi', 7 'v8/v8.gypi',
8 ], 8 ],
9 'variables': { 9 'variables': {
10 'bindings_dir': '.', 10 'bindings_dir': '.',
11 'bindings_unittest_files': [ 11 'bindings_unittest_files': [
12 '<@(bindings_v8_unittest_files)', 12 '<@(bindings_v8_unittest_files)',
13 ], 13 ],
14 'conditions': [
15 # The bindings generator can skip writing generated files if they
16 # are identical to the already existing file, which avoids
17 # recompilation. However, a dependency (earlier build step) having
18 # a newer timestamp than an output (later build step) confuses some
19 # build systems, so only use this on ninja, which explicitly
20 # supports this use case (gyp turns all actions into ninja restat
21 # rules).
22 ['"<(GENERATOR)"=="ninja"', {
23 'write_file_only_if_changed': '1',
24 }, {
25 'write_file_only_if_changed': '0',
26 }],
27 ],
28 }, 14 },
29 } 15 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/core.gypi » ('j') | Source/bindings/core/core.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698