summaryrefslogtreecommitdiffstats
path: root/webkit/support/setup_third_party.gyp
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 03:33:44 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-25 03:33:44 +0000
commit09233b2bb34375be923aa2906c89a80fa7e7006a (patch)
treec9119a0bf87859e520ffc10fb248f14ca3472a6e /webkit/support/setup_third_party.gyp
parent27fbcccda73e7bd257c20f0bbf4b4c31af15c9c2 (diff)
downloadchromium_src-09233b2bb34375be923aa2906c89a80fa7e7006a.zip
chromium_src-09233b2bb34375be923aa2906c89a80fa7e7006a.tar.gz
chromium_src-09233b2bb34375be923aa2906c89a80fa7e7006a.tar.bz2
Copy header files to third_party/WebKit/WebKit/chromium/public when
building upstream. This allows us to use absolute paths when building in chromium and compile upstream at the same time. Review URL: http://codereview.chromium.org/1266001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42579 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/support/setup_third_party.gyp')
-rw-r--r--webkit/support/setup_third_party.gyp56
1 files changed, 56 insertions, 0 deletions
diff --git a/webkit/support/setup_third_party.gyp b/webkit/support/setup_third_party.gyp
new file mode 100644
index 0000000..3b39db2
--- /dev/null
+++ b/webkit/support/setup_third_party.gyp
@@ -0,0 +1,56 @@
+# Copyright (c) 2010 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': {
+ 'list_headers_cmd': ['python', 'list_headers.py'],
+ 'destination': '<(DEPTH)/third_party/WebKit/WebKit/chromium/public',
+ },
+ 'targets': [
+ {
+ # TODO(tony): Would be nice if this would make symlinks on linux/mac
+ # and try to make hardlinks on ntfs.
+ 'target_name': 'third_party_headers',
+ 'type': 'none',
+ 'copies': [
+ {
+ 'destination': '<(destination)',
+ 'files': [
+ '<!@(<(list_headers_cmd) <(DEPTH)/public)',
+ ],
+ },
+ {
+ 'destination': '<(destination)/gtk',
+ 'files': [
+ '<!@(<(list_headers_cmd) <(DEPTH)/public/gtk)',
+ ],
+ },
+ {
+ 'destination': '<(destination)/linux',
+ 'files': [
+ '<!@(<(list_headers_cmd) <(DEPTH)/public/linux)',
+ ],
+ },
+ {
+ 'destination': '<(destination)/mac',
+ 'files': [
+ '<!@(<(list_headers_cmd) <(DEPTH)/public/mac)',
+ ],
+ },
+ {
+ 'destination': '<(destination)/win',
+ 'files': [
+ '<!@(<(list_headers_cmd) <(DEPTH)/public/win)',
+ ],
+ },
+ {
+ 'destination': '<(destination)/x11',
+ 'files': [
+ '<!@(<(list_headers_cmd) <(DEPTH)/public/x11)',
+ ],
+ },
+ ]
+ },
+ ],
+}