diff options
author | scottmg <scottmg@chromium.org> | 2014-12-03 15:27:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-03 23:27:41 +0000 |
commit | 34fb7e5919ed42dc800acf3961fe6a2bf9e7d6eb (patch) | |
tree | dc6a3e4de8e3093074390b933e9d4cb0e79070f5 /breakpad/BUILD.gn | |
parent | e00b5de3d64b4ea58797b13f42039956a5b3ddec (diff) | |
download | chromium_src-34fb7e5919ed42dc800acf3961fe6a2bf9e7d6eb.zip chromium_src-34fb7e5919ed42dc800acf3961fe6a2bf9e7d6eb.tar.gz chromium_src-34fb7e5919ed42dc800acf3961fe6a2bf9e7d6eb.tar.bz2 |
gn format // (the rest, except mojo)
Excluded mojo because I think that needs to happen on the other side.
At gn --version = 306668 for which roll is in CQ.
R=brettw@chromium.org
TBR=scherkus@chromium.org
BUG=348474
Review URL: https://codereview.chromium.org/774353003
Cr-Commit-Position: refs/heads/master@{#306708}
Diffstat (limited to 'breakpad/BUILD.gn')
-rw-r--r-- | breakpad/BUILD.gn | 47 |
1 files changed, 25 insertions, 22 deletions
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn index bae85d6..1598aac 100644 --- a/breakpad/BUILD.gn +++ b/breakpad/BUILD.gn @@ -3,7 +3,10 @@ # found in the LICENSE file. config("tools_config") { - include_dirs = [ "src", "src/third_party" ] + include_dirs = [ + "src", + "src/third_party", + ] if (is_android) { defines = [ "__ANDROID__" ] } @@ -32,9 +35,7 @@ config("client_config") { } config("handler_config") { - include_dirs = [ - "src", - ] + include_dirs = [ "src" ] } # {micro,mini}dump_stackwalk and minidump_dump are tool-type executables that do @@ -86,6 +87,7 @@ if (current_toolchain == host_toolchain && !is_win) { "src/processor/stackwalker_x86.h", "src/processor/tokenize.cc", "src/processor/tokenize.h", + # libdisasm "src/third_party/libdisasm/ia32_implicit.c", "src/third_party/libdisasm/ia32_implicit.h", @@ -129,7 +131,9 @@ if (current_toolchain == host_toolchain && !is_win) { "src/processor/microdump_stackwalk.cc", ] - deps = [ ":stackwalk_common" ] + deps = [ + ":stackwalk_common", + ] defines = [ "BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR" ] @@ -146,7 +150,9 @@ if (current_toolchain == host_toolchain && !is_win) { "src/processor/minidump_stackwalk.cc", ] - deps = [ ":stackwalk_common" ] + deps = [ + ":stackwalk_common", + ] defines = [ "BPLOG_MINIMUM_SEVERITY=SEVERITY_ERROR" ] @@ -253,9 +259,7 @@ if (current_toolchain == host_toolchain && is_mac) { "src/tools/mac/symupload/symupload.m", ] - include_dirs = [ - "src/common/mac" - ] + include_dirs = [ "src/common/mac" ] libs = [ "Foundation.framework" ] @@ -313,7 +317,7 @@ if (is_mac) { ] deps = [ - ":utilities" + ":utilities", ] } @@ -341,9 +345,7 @@ if (is_mac) { public_configs = [ ":breakpad_config" ] defines = [ "USE_PROTECTED_ALLOCATIONS=1" ] - include_dirs = [ - "src/client/apple/Framework", - ] + include_dirs = [ "src/client/apple/Framework" ] deps = [ ":utilities", @@ -604,7 +606,6 @@ if (is_linux) { cflags = [ "-Wno-unused-value" ] } - if (is_android) { sources += [ "src/common/android/breakpad_getcontext_unittest.cc" ] libs = [ "log" ] @@ -621,16 +622,13 @@ if (is_linux) { ":processor_support", ] - include_dirs = [ - "src", - ] + include_dirs = [ "src" ] if (cpu_arch == "mipsel" && is_android) { include_dirs += [ "src/common/android/include" ] } } - executable("generate_test_dump") { testonly = true sources = [ @@ -641,7 +639,9 @@ if (is_linux) { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ "//build/config/compiler:no_chromium_code" ] - deps = [ ":client" ] + deps = [ + ":client", + ] include_dirs = [ "src" ] @@ -652,11 +652,15 @@ if (is_linux) { } executable("minidump-2-core") { - sources = [ "src/tools/linux/md2core/minidump-2-core.cc" ] + sources = [ + "src/tools/linux/md2core/minidump-2-core.cc", + ] include_dirs = [ "src" ] - deps = [ ":client" ] + deps = [ + ":client", + ] } executable("core-2-minidump") { @@ -726,7 +730,6 @@ if (is_ios) { "src/common/mac", ] } - # TODO(GYP) There is some XCode-only targets like ninja-breakpad. } |