Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1496)

Unified Diff: webkit/webkit_staticlib.xcconfig

Issue 2912: add a new xcconfig to build c++ files as obj-c++ to ensure correct linkage. B... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/webkit.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/webkit_staticlib.xcconfig
===================================================================
--- webkit/webkit_staticlib.xcconfig (revision 0)
+++ webkit/webkit_staticlib.xcconfig (revision 0)
@@ -0,0 +1,12 @@
+// Copyright (c) 2008 The Chromium Authors. All rights reserved.
Mark Mentovai 2008/09/16 21:26:30 I think we should put this file inside the webkit.
+// 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
Property changes on: webkit/webkit_staticlib.xcconfig
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « webkit/webkit.xcodeproj/project.pbxproj ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698