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

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

Issue 314783004: Separate the generated files from core and modules to their own sub-dirs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor cleanup. 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
« no previous file with comments | « no previous file | Source/bindings/generated.gyp » ('j') | Source/core/core.gyp » ('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 'blink_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink', 11 'core_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/core',
Nils Barth (inactive) 2014/06/04 09:37:12 This will actually be defined in: Source/core/core
c.shu 2014/06/04 16:00:42 Done.
12 'modules_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/modules',
12 'bindings_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings', 13 'bindings_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/bindings',
13 'bindings_unittest_files': [ 14 'bindings_unittest_files': [
14 '<@(bindings_v8_unittest_files)', 15 '<@(bindings_v8_unittest_files)',
15 ], 16 ],
16 'conditions': [ 17 'conditions': [
17 # The bindings generator can skip writing generated files if they 18 # The bindings generator can skip writing generated files if they
18 # are identical to the already existing file, which avoids 19 # are identical to the already existing file, which avoids
19 # recompilation. However, a dependency (earlier build step) having 20 # recompilation. However, a dependency (earlier build step) having
20 # a newer timestamp than an output (later build step) confuses some 21 # a newer timestamp than an output (later build step) confuses some
21 # build systems, so only use this on ninja, which explicitly 22 # build systems, so only use this on ninja, which explicitly
22 # supports this use case (gyp turns all actions into ninja restat 23 # supports this use case (gyp turns all actions into ninja restat
23 # rules). 24 # rules).
24 ['"<(GENERATOR)"=="ninja"', { 25 ['"<(GENERATOR)"=="ninja"', {
25 'write_file_only_if_changed': '1', 26 'write_file_only_if_changed': '1',
26 }, { 27 }, {
27 'write_file_only_if_changed': '0', 28 'write_file_only_if_changed': '0',
28 }], 29 }],
29 ], 30 ],
30 }, 31 },
31 } 32 }
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/generated.gyp » ('j') | Source/core/core.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698