OLD | NEW |
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). |
14 'target_name': 'third_party_headers', | 25 'target_name': 'third_party_headers', |
15 'type': 'none', | 26 'type': 'none', |
16 'direct_dependent_settings': { | 27 'direct_dependent_settings': { |
17 'include_dirs': [ | 28 'include_dirs': [ |
18 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 29 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 30 '<(DEPTH)', |
19 ], | 31 ], |
20 }, | 32 }, |
21 'actions': [ | 33 'actions': [ |
22 { | 34 { |
23 'action_name': 'third_party_webkit_client_api_forwarding_headers', | 35 'action_name': 'third_party_webkit_client_api_forwarding_headers', |
24 'inputs': [ | 36 'inputs': [ |
25 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)', | 37 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)', |
26 'setup_third_party.py', | 38 'setup_third_party.py', |
27 ], | 39 ], |
28 'outputs': [ | 40 'outputs': [ |
29 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(webkit_clie
nt_api_dest)')", | 41 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(webkit_clie
nt_api_dest)')", |
30 ], | 42 ], |
31 'action': [ | 43 'action': [ |
32 '<@(setup_third_party_cmd)', | 44 '<@(setup_third_party_cmd)', |
33 'setup_headers', | 45 'setup_headers', |
34 '<(DEPTH)/public', | 46 '<(DEPTH)/public', |
35 '<(webkit_client_api_dest)', | 47 '<(webkit_client_api_dest)', |
| 48 '<(DEPTH)', |
36 ], | 49 ], |
37 'message': 'Generating forwarding headers for third_party/WebKit/Sourc
e/WebKit/chromium/public', | 50 'message': 'Generating forwarding headers for third_party/WebKit/Sourc
e/WebKit/chromium/public', |
38 }, | 51 }, |
39 { | 52 { |
40 'action_name': 'third_party_platform_api_forwarding_headers', | 53 'action_name': 'third_party_platform_api_forwarding_headers', |
41 'inputs': [ | 54 'inputs': [ |
42 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../../Platform/chromiu
m/public)', | 55 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../../Platform/chromiu
m/public)', |
43 'setup_third_party.py', | 56 'setup_third_party.py', |
44 ], | 57 ], |
45 'outputs': [ | 58 'outputs': [ |
(...skipping 19 matching lines...) Expand all Loading... |
65 'setup_third_party.py', | 78 'setup_third_party.py', |
66 ], | 79 ], |
67 'outputs': [ | 80 'outputs': [ |
68 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSup
port '<(mac_webcoresupport_dest)')", | 81 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSup
port '<(mac_webcoresupport_dest)')", |
69 ], | 82 ], |
70 'action': [ | 83 'action': [ |
71 '<@(setup_third_party_cmd)', | 84 '<@(setup_third_party_cmd)', |
72 'setup_headers', | 85 'setup_headers', |
73 '<(DEPTH)/../mac/WebCoreSupport', | 86 '<(DEPTH)/../mac/WebCoreSupport', |
74 '<(mac_webcoresupport_dest)', | 87 '<(mac_webcoresupport_dest)', |
| 88 '<(DEPTH)', |
75 ], | 89 ], |
76 'message': 'Generating forwarding headers for third_party/WebKit/S
ource/WebKit/mac/WebCoreSupport', | 90 'message': 'Generating forwarding headers for third_party/WebKit/S
ource/WebKit/mac/WebCoreSupport', |
77 }, | 91 }, |
78 ], | 92 ], |
79 }], | 93 }], |
80 ], | 94 ], |
81 }, | 95 }, |
82 ], | 96 ], |
83 } | 97 } |
OLD | NEW |