summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/support/setup_third_party.gyp34
1 files changed, 26 insertions, 8 deletions
diff --git a/webkit/support/setup_third_party.gyp b/webkit/support/setup_third_party.gyp
index 247c991..3b83fce 100644
--- a/webkit/support/setup_third_party.gyp
+++ b/webkit/support/setup_third_party.gyp
@@ -1,12 +1,13 @@
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'variables': {
'setup_third_party_cmd': ['python', 'setup_third_party.py'],
- 'destination': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Source/WebKit/chromium/public',
- 'destination_mac': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Source/WebKit/mac/WebCoreSupport',
+ 'webkit_client_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Source/WebKit/chromium/public',
+ 'platform_api_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Source/Platform/chromium/public',
+ 'mac_webcoresupport_dest': '<(SHARED_INTERMEDIATE_DIR)/webkit/third_party/WebKit/Source/WebKit/mac/WebCoreSupport',
},
'targets': [
{
@@ -19,22 +20,39 @@
},
'actions': [
{
- 'action_name': 'third_party_forwarding_headers',
+ 'action_name': 'third_party_webkit_client_api_forwarding_headers',
'inputs': [
'<!@(<(setup_third_party_cmd) inputs <(DEPTH)/public)',
'setup_third_party.py',
],
'outputs': [
- "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(destination)')",
+ "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/public '<(webkit_client_api_dest)')",
],
'action': [
'<@(setup_third_party_cmd)',
'setup_headers',
'<(DEPTH)/public',
- '<(destination)',
+ '<(webkit_client_api_dest)',
],
'message': 'Generating forwarding headers for third_party/WebKit/Source/WebKit/chromium/public',
},
+ {
+ 'action_name': 'third_party_platform_api_forwarding_headers',
+ 'inputs': [
+ '<!@(<(setup_third_party_cmd) inputs <(DEPTH)/../../Platform/chromium/public)',
+ 'setup_third_party.py',
+ ],
+ 'outputs': [
+ "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../../Platform/chromium/public '<(platform_api_dest)')",
+ ],
+ 'action': [
+ '<@(setup_third_party_cmd)',
+ 'setup_headers',
+ '<(DEPTH)/../../Platform/chromium/public',
+ '<(platform_api_dest)',
+ ],
+ 'message': 'Generating forwarding headers for third_party/WebKit/Source/Platform/chromium/public',
+ },
],
'conditions': [
['OS=="mac"', {
@@ -46,13 +64,13 @@
'setup_third_party.py',
],
'outputs': [
- "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSupport '<(destination_mac)')",
+ "<!@(<(setup_third_party_cmd) outputs <(DEPTH)/../mac/WebCoreSupport '<(mac_webcoresupport_dest)')",
],
'action': [
'<@(setup_third_party_cmd)',
'setup_headers',
'<(DEPTH)/../mac/WebCoreSupport',
- '<(destination_mac)',
+ '<(mac_webcoresupport_dest)',
],
'message': 'Generating forwarding headers for third_party/WebKit/Source/WebKit/mac/WebCoreSupport',
},