summaryrefslogtreecommitdiffstats
path: root/base/third_party
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-02 22:01:02 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-02 22:01:02 +0000
commit9680c20b1b45ab83625fe148875c137f8d70b3b0 (patch)
tree7f49fa7e270f7813e8066a2dbce074e221fc9360 /base/third_party
parent2115d33bae13c8d3b5c0fb927448b3920f7bd345 (diff)
downloadchromium_src-9680c20b1b45ab83625fe148875c137f8d70b3b0.zip
chromium_src-9680c20b1b45ab83625fe148875c137f8d70b3b0.tar.gz
chromium_src-9680c20b1b45ab83625fe148875c137f8d70b3b0.tar.bz2
Move base BUILD.gn files to main tree.
This also removes thread_local_storage.cc which was removed from the .gyp file. R=viettrungluu@chromium.org TBR=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/119323003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/third_party')
-rw-r--r--base/third_party/dynamic_annotations/BUILD.gn12
-rw-r--r--base/third_party/nspr/BUILD.gn24
-rw-r--r--base/third_party/symbolize/BUILD.gn20
-rw-r--r--base/third_party/xdg_mime/BUILD.gn28
-rw-r--r--base/third_party/xdg_user_dirs/BUILD.gn11
5 files changed, 95 insertions, 0 deletions
diff --git a/base/third_party/dynamic_annotations/BUILD.gn b/base/third_party/dynamic_annotations/BUILD.gn
new file mode 100644
index 0000000..02beae0
--- /dev/null
+++ b/base/third_party/dynamic_annotations/BUILD.gn
@@ -0,0 +1,12 @@
+# Copyright (c) 2013 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.
+
+static_library("dynamic_annotations") {
+ external = true
+ sources = [
+ "dynamic_annotations.c",
+ "dynamic_annotations.h",
+ "../valgrind/valgrind.h",
+ ]
+}
diff --git a/base/third_party/nspr/BUILD.gn b/base/third_party/nspr/BUILD.gn
new file mode 100644
index 0000000..9852f5d
--- /dev/null
+++ b/base/third_party/nspr/BUILD.gn
@@ -0,0 +1,24 @@
+# Copyright (c) 2013 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.
+
+static_library("nspr") {
+ external = true
+ sources = [
+ "prcpucfg.h",
+ "prcpucfg_freebsd.h",
+ "prcpucfg_linux.h",
+ "prcpucfg_mac.h",
+ "prcpucfg_nacl.h",
+ "prcpucfg_openbsd.h",
+ "prcpucfg_solaris.h",
+ "prcpucfg_win.h",
+ "prtime.cc",
+ "prtime.h",
+ "prtypes.h",
+ ]
+
+ # In GYP this project is part of base, so it uses the base implementation
+ # define. TODO(brettw) rename this define.
+ defines = [ "BASE_IMPLEMENTATION" ]
+}
diff --git a/base/third_party/symbolize/BUILD.gn b/base/third_party/symbolize/BUILD.gn
new file mode 100644
index 0000000..f4af9bd
--- /dev/null
+++ b/base/third_party/symbolize/BUILD.gn
@@ -0,0 +1,20 @@
+# Copyright (c) 2013 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.
+
+static_library("symbolize") {
+ external = true
+ sources = [
+ "config.h",
+ "demangle.cc",
+ "demangle.h",
+ "glog/logging.h",
+ "glog/raw_logging.h",
+ "symbolize.cc",
+ "symbolize.h",
+ "utilities.h",
+ ]
+
+ configs -= "//build/config/compiler:chromium_code"
+ configs += "//build/config/compiler:no_chromium_code"
+}
diff --git a/base/third_party/xdg_mime/BUILD.gn b/base/third_party/xdg_mime/BUILD.gn
new file mode 100644
index 0000000..32d9ac4
--- /dev/null
+++ b/base/third_party/xdg_mime/BUILD.gn
@@ -0,0 +1,28 @@
+# Copyright (c) 2013 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.
+
+static_library("xdg_mime") {
+ external = true
+ sources = [
+ "xdgmime.c",
+ "xdgmime.h",
+ "xdgmimealias.c",
+ "xdgmimealias.h",
+ "xdgmimecache.c",
+ "xdgmimecache.h",
+ "xdgmimeglob.c",
+ "xdgmimeglob.h",
+ "xdgmimeicon.c",
+ "xdgmimeicon.h",
+ "xdgmimeint.c",
+ "xdgmimeint.h",
+ "xdgmimemagic.c",
+ "xdgmimemagic.h",
+ "xdgmimeparent.c",
+ "xdgmimeparent.h",
+ ]
+
+ configs -= "//build/config/compiler:chromium_code"
+ configs += "//build/config/compiler:no_chromium_code"
+}
diff --git a/base/third_party/xdg_user_dirs/BUILD.gn b/base/third_party/xdg_user_dirs/BUILD.gn
new file mode 100644
index 0000000..eda4e02
--- /dev/null
+++ b/base/third_party/xdg_user_dirs/BUILD.gn
@@ -0,0 +1,11 @@
+# Copyright (c) 2013 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.
+
+static_library("xdg_user_dirs") {
+ external = true
+ sources = [
+ "xdg_user_dir_lookup.cc",
+ "xdg_user_dir_lookup.h",
+ ]
+}