OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("crash") { | 7 source_set("crash") { |
8 sources = [ | 8 sources = [ |
9 "breakpad.cc", | 9 "breakpad.cc", |
10 "breakpad.h", | 10 "breakpad.h", |
11 "crash_upload.cc", | 11 "crash_upload.cc", |
12 "crash_upload.h", | 12 "crash_upload.h", |
13 ] | 13 ] |
14 | 14 |
15 if (is_android) { | 15 if (is_android) { |
16 libs = [ "log" ] | 16 libs = [ "log" ] |
17 } | 17 } |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//mojo/data_pipe_utils", | 21 "//mojo/data_pipe_utils", |
22 "//mojo/services/network/public/interfaces", | 22 "//mojo/services/network/interfaces", |
23 "//third_party/breakpad:client", | 23 "//third_party/breakpad:client", |
24 ] | 24 ] |
25 } | 25 } |
26 | 26 |
27 test("crash_unittests") { | 27 test("crash_unittests") { |
28 sources = [ | 28 sources = [ |
29 "crash_upload_unittests.cc", | 29 "crash_upload_unittests.cc", |
30 ] | 30 ] |
31 | 31 |
32 deps = [ | 32 deps = [ |
33 ":crash", | 33 ":crash", |
34 "//base", | 34 "//base", |
35 "//mojo/data_pipe_utils", | 35 "//mojo/data_pipe_utils", |
36 "//mojo/edk/test:run_all_unittests", | 36 "//mojo/edk/test:run_all_unittests", |
37 "//mojo/environment:chromium", | 37 "//mojo/environment:chromium", |
38 "//mojo/message_pump", | 38 "//mojo/message_pump", |
39 "//mojo/services/network/public/interfaces", | 39 "//mojo/services/network/interfaces", |
40 "//testing/gtest", | 40 "//testing/gtest", |
41 ] | 41 ] |
42 } | 42 } |
OLD | NEW |