summaryrefslogtreecommitdiffstats
path: root/webkit/build/webkit_staticlib.xcconfig
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/build/webkit_staticlib.xcconfig')
-rw-r--r--webkit/build/webkit_staticlib.xcconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/webkit/build/webkit_staticlib.xcconfig b/webkit/build/webkit_staticlib.xcconfig
new file mode 100644
index 0000000..e74a6a4
--- /dev/null
+++ b/webkit/build/webkit_staticlib.xcconfig
@@ -0,0 +1,12 @@
+// Copyright (c) 2008 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.
+
+#include "../build/staticlib.xcconfig"
+
+// We need to compile everything in this target as objective-C++ in order to
+// avoid linker issues with parameters declared sometimes as |void*| (from C++)
+// and other times as |id| (from Objective-C). However, we can't set this
+// globally because some things (such as icu or other 3rd-party libraries) can't
+// build this way.
+GCC_INPUT_FILETYPE = sourcecode.cpp.objcpp