OLD | NEW |
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_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings', | |
12 'bindings_unittest_files': [ | 11 'bindings_unittest_files': [ |
13 '<@(bindings_v8_unittest_files)', | 12 '<@(bindings_v8_unittest_files)', |
14 ], | 13 ], |
15 'conditions': [ | 14 'conditions': [ |
16 # The bindings generator can skip writing generated files if they | 15 # The bindings generator can skip writing generated files if they |
17 # are identical to the already existing file, which avoids | 16 # are identical to the already existing file, which avoids |
18 # recompilation. However, a dependency (earlier build step) having | 17 # recompilation. However, a dependency (earlier build step) having |
19 # a newer timestamp than an output (later build step) confuses some | 18 # a newer timestamp than an output (later build step) confuses some |
20 # build systems, so only use this on ninja, which explicitly | 19 # build systems, so only use this on ninja, which explicitly |
21 # supports this use case (gyp turns all actions into ninja restat | 20 # supports this use case (gyp turns all actions into ninja restat |
22 # rules). | 21 # rules). |
23 ['"<(GENERATOR)"=="ninja"', { | 22 ['"<(GENERATOR)"=="ninja"', { |
24 'write_file_only_if_changed': '1', | 23 'write_file_only_if_changed': '1', |
25 }, { | 24 }, { |
26 'write_file_only_if_changed': '0', | 25 'write_file_only_if_changed': '0', |
27 }], | 26 }], |
28 ], | 27 ], |
29 }, | 28 }, |
30 } | 29 } |
OLD | NEW |