Add Stub.h and Stub.cpp to Source-level WTF project
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Nov 2011 00:17:48 +0000 (00:17 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Nov 2011 00:17:48 +0000 (00:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=71497

Reviewed by Eric Seidel.

This patch adds some stub files and a skelton GYP build file as a
starting point for the new Source-level WTF project.  Other build
systems and actual code will arrive in future patches.

* Stub.cpp: Added.
* Stub.h: Added.
* WTF.gyp/WTF.gyp: Added.
* WTF.gypi: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99251 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/Stub.cpp [new file with mode: 0644]
Source/WTF/Stub.h [new file with mode: 0644]
Source/WTF/WTF.gyp/WTF.gyp [new file with mode: 0644]
Source/WTF/WTF.gypi [new file with mode: 0644]

index 78d9abca5c97a4cd9f019198f4e9d3ef529dde69..439c54888ec3e49ea90318cebc2b22fcdea1866a 100644 (file)
@@ -1,3 +1,19 @@
+2011-11-03  Adam Barth  <abarth@webkit.org>
+
+        Add Stub.h and Stub.cpp to Source-level WTF project
+        https://bugs.webkit.org/show_bug.cgi?id=71497
+
+        Reviewed by Eric Seidel.
+
+        This patch adds some stub files and a skelton GYP build file as a
+        starting point for the new Source-level WTF project.  Other build
+        systems and actual code will arrive in future patches.
+
+        * Stub.cpp: Added.
+        * Stub.h: Added.
+        * WTF.gyp/WTF.gyp: Added.
+        * WTF.gypi: Added.
+
 2011-11-02  Adam Barth  <abarth@webkit.org>
 
         Add stubs for WTF and Platform
diff --git a/Source/WTF/Stub.cpp b/Source/WTF/Stub.cpp
new file mode 100644 (file)
index 0000000..1dda2b9
--- /dev/null
@@ -0,0 +1 @@
+// This is a stub implementation file.
diff --git a/Source/WTF/Stub.h b/Source/WTF/Stub.h
new file mode 100644 (file)
index 0000000..901dbb9
--- /dev/null
@@ -0,0 +1 @@
+// This is a stub header file.
diff --git a/Source/WTF/WTF.gyp/WTF.gyp b/Source/WTF/WTF.gyp/WTF.gyp
new file mode 100644 (file)
index 0000000..f91cb0a
--- /dev/null
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2011 Google Inc. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+#     * Redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#     * Redistributions in binary form must reproduce the above
+# copyright notice, this list of conditions and the following disclaimer
+# in the documentation and/or other materials provided with the
+# distribution.
+#     * Neither the name of Google Inc. nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+{
+  'includes': [
+    '../../WebKit/chromium/features.gypi',
+    '../WTF.gypi',
+  ],
+  'targets': [{
+    'target_name': 'wtf',
+    'type': 'static_library',
+    'include_dirs': [
+      '../',
+    ],
+    'sources': [
+      '<@(wtf_privateheader_files)',
+      '<@(wtf_files)',
+    ],
+    'direct_dependent_settings': {
+      'include_dirs': [
+        '../',
+      ],
+    },
+  }]
+}
diff --git a/Source/WTF/WTF.gypi b/Source/WTF/WTF.gypi
new file mode 100644 (file)
index 0000000..aed1762
--- /dev/null
@@ -0,0 +1,11 @@
+{
+    'variables': {
+        'project_dir': ['.'],
+        'wtf_privateheader_files': [
+            'Stub.h',
+        ],
+        'wtf_files': [
+            'Stub.cpp',
+        ],
+    }
+}