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

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: 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
« no previous file with comments | « third_party/libc++/README.chromium ('k') | third_party/libc++abi/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libc++/libc++.gyp
===================================================================
--- third_party/libc++/libc++.gyp (revision 0)
+++ third_party/libc++/libc++.gyp (revision 0)
@@ -0,0 +1,96 @@
+# 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': [
+ 'trunk/src/algorithm.cpp',
+ 'trunk/src/bind.cpp',
+ 'trunk/src/chrono.cpp',
+ 'trunk/src/condition_variable.cpp',
+ 'trunk/src/debug.cpp',
+ 'trunk/src/exception.cpp',
+ 'trunk/src/future.cpp',
+ 'trunk/src/hash.cpp',
+ 'trunk/src/ios.cpp',
+ 'trunk/src/iostream.cpp',
+ 'trunk/src/locale.cpp',
+ 'trunk/src/memory.cpp',
+ 'trunk/src/mutex.cpp',
+ 'trunk/src/new.cpp',
+ 'trunk/src/optional.cpp',
+ 'trunk/src/random.cpp',
+ 'trunk/src/regex.cpp',
+ 'trunk/src/shared_mutex.cpp',
+ 'trunk/src/stdexcept.cpp',
+ 'trunk/src/string.cpp',
+ 'trunk/src/strstream.cpp',
+ 'trunk/src/system_error.cpp',
+ 'trunk/src/thread.cpp',
+ 'trunk/src/typeinfo.cpp',
+ 'trunk/src/utility.cpp',
+ 'trunk/src/valarray.cpp',
+ ],
+ 'include_dirs': [
+ 'trunk/include',
+ '../libc++abi/trunk/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': {
+ 'target_conditions': [
+ ['_type!="none"', {
+ 'include_dirs': [
+ 'trunk/include',
+ ],
+ 'cflags_cc': [
+ '-nostdinc++',
+ ],
+ 'ldflags': [
+ '-stdlib=libc++',
+ '-L<(PRODUCT_DIR)/lib/',
+ ],
+ }],
+ ],
+ },
+ 'cflags_cc!': [
+ '-fno-rtti',
+ ],
+ 'cflags!': [
+ '-fno-exceptions',
+ '-fvisibility=hidden',
+ ],
+ 'ldflags': [
+ '-nodefaultlibs',
+ ],
+ 'ldflags!': [
+ '-pthread',
+ ],
+ 'libraries': [
+ '-lrt',
+ '-lc',
+ ],
+ },
+ ]
+}
Property changes on: third_party/libc++/libc++.gyp
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « third_party/libc++/README.chromium ('k') | third_party/libc++abi/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698