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

Side by Side Diff: webkit/support/setup_third_party.gyp

Issue 12224087: fix third_party_headers to work properly on Windows w/ ninja. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: improve comment in WriteForwardingHeader Created 7 years, 10 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 | webkit/support/setup_third_party.py » ('j') | webkit/support/setup_third_party.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 'setup_third_party_cmd': ['python', 'setup_third_party.py'], 7 'setup_third_party_cmd': ['python', 'setup_third_party.py'],
8 'webkit_client_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/Web Kit/Source/WebKit/chromium/public', 8 'webkit_client_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/Web Kit/Source/WebKit/chromium/public',
9 'platform_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/S ource/Platform/chromium/public', 9 'platform_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/S ource/Platform/chromium/public',
10 'mac_webcoresupport_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/We bKit/Source/WebKit/mac/WebCoreSupport', 10 'mac_webcoresupport_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/We bKit/Source/WebKit/mac/WebCoreSupport',
11 }, 11 },
12 'targets': [ 12 'targets': [
13 { 13 {
14 # This target is only invoked when we are building chromium inside
15 # of a WebKit checkout. In this case, we will have chromium files
16 # that include WebKit headers via third_party/WebKit/Source/... ;
17 # that directory doesn't exist in a chromium-inside-webkit
18 # checkout, and so we need to create sets of forwarding headers.
19 #
20 # In addition, we can hit limits on the include paths on windows
21 # with a regular forwarding header due to the deep directory
22 # hierarchies, and so rather than using #includes that are relative
23 # to the directory containing the generated header, the generated files
24 # use #includes that are relative to <(DEPTH), which is assumed to
25 # already (and always) be in the include_dir path
Dirk Pranke 2013/02/09 03:35:12 Let me know if you think this comment is too verbo
Ryan Sleevi 2013/02/10 11:06:01 GYP doesn't ensure this. You would have to manuall
tony 2013/02/11 18:16:50 It sounds like we should have a direct_dependant_s
Ryan Sleevi 2013/02/11 18:19:18 <(DEPTH) won't be absolutized, so it would result
tony 2013/02/11 20:05:38 I see. It sounds like we should just hardcode '..
Dirk Pranke 2013/02/11 23:42:30 Someone's confused. Maybe it's me :) Assuming we a
Ryan Sleevi 2013/02/11 23:50:10 It's me. I'm the confused one. Ignore me.
26
14 'target_name': 'third_party_headers', 27 'target_name': 'third_party_headers',
15 'type': 'none', 28 'type': 'none',
16 'direct_dependent_settings': { 29 'direct_dependent_settings': {
17 'include_dirs': [ 30 'include_dirs': [
18 '<(SHARED_INTERMEDIATE_DIR)/webkit', 31 '<(SHARED_INTERMEDIATE_DIR)/webkit',
19 ], 32 ],
20 }, 33 },
21 'actions': [ 34 'actions': [
22 { 35 {
23 'action_name': 'third_party_webkit_client_api_forwarding_headers', 36 'action_name': 'third_party_webkit_client_api_forwarding_headers',
24 'inputs': [ 37 'inputs': [
25 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)', 38 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)',
26 'setup_third_party.py', 39 'setup_third_party.py',
27 ], 40 ],
28 'outputs': [ 41 'outputs': [
29 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(webkit_clie nt_api_dest)')", 42 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(webkit_clie nt_api_dest)')",
30 ], 43 ],
31 'action': [ 44 'action': [
32 '<@(setup_third_party_cmd)', 45 '<@(setup_third_party_cmd)',
33 'setup_headers', 46 'setup_headers',
34 '<(DEPTH)/public', 47 '<(DEPTH)/public',
35 '<(webkit_client_api_dest)', 48 '<(webkit_client_api_dest)',
49 '<(DEPTH)',
36 ], 50 ],
37 'message': 'Generating forwarding headers for third_party/WebKit/Sourc e/WebKit/chromium/public', 51 'message': 'Generating forwarding headers for third_party/WebKit/Sourc e/WebKit/chromium/public',
38 }, 52 },
39 { 53 {
40 'action_name': 'third_party_platform_api_forwarding_headers', 54 'action_name': 'third_party_platform_api_forwarding_headers',
41 'inputs': [ 55 'inputs': [
42 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../../Platform/chromiu m/public)', 56 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../../Platform/chromiu m/public)',
43 'setup_third_party.py', 57 'setup_third_party.py',
44 ], 58 ],
45 'outputs': [ 59 'outputs': [
(...skipping 19 matching lines...) Expand all
65 'setup_third_party.py', 79 'setup_third_party.py',
66 ], 80 ],
67 'outputs': [ 81 'outputs': [
68 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSup port '<(mac_webcoresupport_dest)')", 82 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSup port '<(mac_webcoresupport_dest)')",
69 ], 83 ],
70 'action': [ 84 'action': [
71 '<@(setup_third_party_cmd)', 85 '<@(setup_third_party_cmd)',
72 'setup_headers', 86 'setup_headers',
73 '<(DEPTH)/../mac/WebCoreSupport', 87 '<(DEPTH)/../mac/WebCoreSupport',
74 '<(mac_webcoresupport_dest)', 88 '<(mac_webcoresupport_dest)',
89 '<(DEPTH)',
75 ], 90 ],
76 'message': 'Generating forwarding headers for third_party/WebKit/S ource/WebKit/mac/WebCoreSupport', 91 'message': 'Generating forwarding headers for third_party/WebKit/S ource/WebKit/mac/WebCoreSupport',
77 }, 92 },
78 ], 93 ],
79 }], 94 }],
80 ], 95 ],
81 }, 96 },
82 ], 97 ],
83 } 98 }
OLDNEW
« no previous file with comments | « no previous file | webkit/support/setup_third_party.py » ('j') | webkit/support/setup_third_party.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698