diff options
Diffstat (limited to 'base/third_party')
-rw-r--r-- | base/third_party/dynamic_annotations/BUILD.gn | 12 | ||||
-rw-r--r-- | base/third_party/nspr/BUILD.gn | 24 | ||||
-rw-r--r-- | base/third_party/symbolize/BUILD.gn | 20 | ||||
-rw-r--r-- | base/third_party/xdg_mime/BUILD.gn | 28 | ||||
-rw-r--r-- | base/third_party/xdg_user_dirs/BUILD.gn | 11 |
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", + ] +} |