| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2010 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 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Source/
WebKit/chromium/public', | 8 'webkit_client_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/Web
Kit/Source/WebKit/chromium/public', |
| 9 'destination_mac': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Sou
rce/WebKit/mac/WebCoreSupport', | 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 }, | 11 }, |
| 11 'targets': [ | 12 'targets': [ |
| 12 { | 13 { |
| 13 'target_name': 'third_party_headers', | 14 'target_name': 'third_party_headers', |
| 14 'type': 'none', | 15 'type': 'none', |
| 15 'direct_dependent_settings': { | 16 'direct_dependent_settings': { |
| 16 'include_dirs': [ | 17 'include_dirs': [ |
| 17 '<(SHARED_INTERMEDIATE_DIR)/webkit', | 18 '<(SHARED_INTERMEDIATE_DIR)/webkit', |
| 18 ], | 19 ], |
| 19 }, | 20 }, |
| 20 'actions': [ | 21 'actions': [ |
| 21 { | 22 { |
| 22 'action_name': 'third_party_forwarding_headers', | 23 'action_name': 'third_party_webkit_client_api_forwarding_headers', |
| 23 'inputs': [ | 24 'inputs': [ |
| 24 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)', | 25 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)', |
| 25 'setup_third_party.py', | 26 'setup_third_party.py', |
| 26 ], | 27 ], |
| 27 'outputs': [ | 28 'outputs': [ |
| 28 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(destination
)')", | 29 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(webkit_clie
nt_api_dest)')", |
| 29 ], | 30 ], |
| 30 'action': [ | 31 'action': [ |
| 31 '<@(setup_third_party_cmd)', | 32 '<@(setup_third_party_cmd)', |
| 32 'setup_headers', | 33 'setup_headers', |
| 33 '<(DEPTH)/public', | 34 '<(DEPTH)/public', |
| 34 '<(destination)', | 35 '<(webkit_client_api_dest)', |
| 35 ], | 36 ], |
| 36 'message': 'Generating forwarding headers for third_party/WebKit/Sourc
e/WebKit/chromium/public', | 37 'message': 'Generating forwarding headers for third_party/WebKit/Sourc
e/WebKit/chromium/public', |
| 37 }, | 38 }, |
| 39 { |
| 40 'action_name': 'third_party_platform_api_forwarding_headers', |
| 41 'inputs': [ |
| 42 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../../Platform/chromiu
m/public)', |
| 43 'setup_third_party.py', |
| 44 ], |
| 45 'outputs': [ |
| 46 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../../Platform/chromi
um/public '<(platform_api_dest)')", |
| 47 ], |
| 48 'action': [ |
| 49 '<@(setup_third_party_cmd)', |
| 50 'setup_headers', |
| 51 '<(DEPTH)/../../Platform/chromium/public', |
| 52 '<(platform_api_dest)', |
| 53 ], |
| 54 'message': 'Generating forwarding headers for third_party/WebKit/Sourc
e/Platform/chromium/public', |
| 55 }, |
| 38 ], | 56 ], |
| 39 'conditions': [ | 57 'conditions': [ |
| 40 ['OS=="mac"', { | 58 ['OS=="mac"', { |
| 41 'actions': [ | 59 'actions': [ |
| 42 { | 60 { |
| 43 'action_name': 'third_party_mac_forwarding_headers', | 61 'action_name': 'third_party_mac_forwarding_headers', |
| 44 'inputs': [ | 62 'inputs': [ |
| 45 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../mac/WebCoreSupp
ort)', | 63 '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../mac/WebCoreSupp
ort)', |
| 46 'setup_third_party.py', | 64 'setup_third_party.py', |
| 47 ], | 65 ], |
| 48 'outputs': [ | 66 'outputs': [ |
| 49 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSup
port '<(destination_mac)')", | 67 "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSup
port '<(mac_webcoresupport_dest)')", |
| 50 ], | 68 ], |
| 51 'action': [ | 69 'action': [ |
| 52 '<@(setup_third_party_cmd)', | 70 '<@(setup_third_party_cmd)', |
| 53 'setup_headers', | 71 'setup_headers', |
| 54 '<(DEPTH)/../mac/WebCoreSupport', | 72 '<(DEPTH)/../mac/WebCoreSupport', |
| 55 '<(destination_mac)', | 73 '<(mac_webcoresupport_dest)', |
| 56 ], | 74 ], |
| 57 'message': 'Generating forwarding headers for third_party/WebKit/S
ource/WebKit/mac/WebCoreSupport', | 75 'message': 'Generating forwarding headers for third_party/WebKit/S
ource/WebKit/mac/WebCoreSupport', |
| 58 }, | 76 }, |
| 59 ], | 77 ], |
| 60 }], | 78 }], |
| 61 ], | 79 ], |
| 62 }, | 80 }, |
| 63 ], | 81 ], |
| 64 } | 82 } |
| OLD | NEW |