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