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

Unified Diff: third_party/libc++/libc++.gyp

Issue 75213003: Add libc++ and libc++abi to third-party. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Add libc++ and libc++abi to third-party. Created 7 years 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
Index: third_party/libc++/libc++.gyp
===================================================================
--- third_party/libc++/libc++.gyp (revision 0)
+++ third_party/libc++/libc++.gyp (revision 0)
@@ -0,0 +1,82 @@
+# 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'libc++',
+ 'type': 'shared_library',
+ 'variables': {
+ 'prune_self_dependency': 1,
+ },
+ 'dependencies=': [],
+ 'sources': [
+ 'src/algorithm.cpp',
+ 'src/bind.cpp',
+ 'src/chrono.cpp',
+ 'src/condition_variable.cpp',
+ 'src/debug.cpp',
+ 'src/exception.cpp',
+ 'src/future.cpp',
+ 'src/hash.cpp',
+ 'src/ios.cpp',
+ 'src/iostream.cpp',
+ 'src/locale.cpp',
+ 'src/memory.cpp',
+ 'src/mutex.cpp',
+ 'src/new.cpp',
+ 'src/optional.cpp',
+ 'src/random.cpp',
+ 'src/regex.cpp',
+ 'src/shared_mutex.cpp',
+ 'src/stdexcept.cpp',
+ 'src/string.cpp',
+ 'src/strstream.cpp',
+ 'src/system_error.cpp',
+ 'src/thread.cpp',
+ 'src/typeinfo.cpp',
+ 'src/utility.cpp',
+ 'src/valarray.cpp',
+ ],
+ 'include_dirs': [
+ 'include',
+ '../libc++abi/include',
+ ],
+ 'cflags': [
+ '-g', '-Os', '-fPIC',
+ '-std=c++11',
+ '-fstrict-aliasing',
+ '-Wall', '-Wextra', '-Wshadow', '-Wconversion', '-Wnewline-eof', '-Wpadded',
+ '-Wmissing-prototypes', '-Wstrict-aliasing=2', '-Wstrict-overflow=4',
+ '-nostdinc++',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
bradn 2013/12/06 18:11:20 Rather than have to inject boilerplate into each n
+ 'include',
+ ],
+ 'cflags_cc': [
+ '-nostdinc++',
+ ],
+ 'ldflags': [
+ '-stdlib=libc++',
+ '-L<(PRODUCT_DIR)/lib/',
+ ],
+ },
+ 'cflags_cc!': [
+ '-fno-rtti',
+ ],
+ 'cflags!': [
+ '-fno-exceptions',
+ '-fvisibility=hidden',
+ ],
+ 'ldflags': [
+ '-nodefaultlibs',
+ ],
+ 'libraries': [
+ '-lrt',
+ '-lc',
+ ],
+ },
+ ]
+}
Property changes on: third_party/libc++/libc++.gyp
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698