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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 18 matching lines...) Expand all Loading... |
29 public_deps = [ | 29 public_deps = [ |
30 "//ui/events", | 30 "//ui/events", |
31 ] | 31 ] |
32 | 32 |
33 deps = [ | 33 deps = [ |
34 ":feature", | 34 ":feature", |
35 "//base", | 35 "//base", |
36 "//blimp/common/proto", | 36 "//blimp/common/proto", |
37 "//blimp/net:blimp_net", | 37 "//blimp/net:blimp_net", |
38 "//cc", | 38 "//cc", |
| 39 "//components/safe_json", |
39 "//gpu/skia_bindings", | 40 "//gpu/skia_bindings", |
40 "//net", | 41 "//net", |
41 "//third_party/libwebp", | 42 "//third_party/libwebp", |
42 "//ui/gfx/geometry", | 43 "//ui/gfx/geometry", |
43 "//url:url", | 44 "//url:url", |
44 ] | 45 ] |
45 } | 46 } |
46 | 47 |
47 source_set("blimp_client_unit_tests") { | 48 source_set("blimp_client_unit_tests") { |
48 testonly = true | 49 testonly = true |
49 | 50 |
50 sources = [] | 51 sources = [] |
51 | 52 |
52 # TODO(dtrainor): Fix the test harness to allow this to run on Android. | |
53 # See crbug.com/588240. | |
54 if (is_linux) { | |
55 sources += [ "session/assignment_source_unittest.cc" ] | |
56 } | |
57 | |
58 deps = [ | 53 deps = [ |
59 ":blimp_client", | 54 ":blimp_client", |
60 "//base", | 55 "//base", |
61 "//base/test:run_all_unittests", | 56 "//base/test:run_all_unittests", |
62 "//base/test:test_support", | 57 "//base/test:test_support", |
63 "//testing/gmock", | 58 "//testing/gmock", |
64 "//testing/gtest", | 59 "//testing/gtest", |
65 ] | 60 ] |
| 61 |
| 62 data = [] |
| 63 |
| 64 # TODO(dtrainor): Fix the test harness to allow this to run on Android. |
| 65 # See crbug.com/588240. |
| 66 if (is_linux) { |
| 67 sources += [ "session/assignment_source_unittest.cc" ] |
| 68 deps += [ |
| 69 "//components/safe_json:test_support", |
| 70 "//net:test_support", |
| 71 ] |
| 72 data += [ "//net/data/ssl/certificates/unittest.selfsigned.pem" ] |
| 73 } |
66 } | 74 } |
67 | 75 |
68 source_set("app_unit_tests") { | 76 source_set("app_unit_tests") { |
69 testonly = true | 77 testonly = true |
70 | 78 |
71 sources = [ | 79 sources = [ |
72 "app/blimp_discardable_memory_allocator_unittest.cc", | 80 "app/blimp_discardable_memory_allocator_unittest.cc", |
73 ] | 81 ] |
74 | 82 |
75 deps = [ | 83 deps = [ |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 apk_name = "BlimpTest" | 391 apk_name = "BlimpTest" |
384 apk_under_test = ":blimp_apk" | 392 apk_under_test = ":blimp_apk" |
385 android_manifest = blimp_test_apk_manifest | 393 android_manifest = blimp_test_apk_manifest |
386 deps = [ | 394 deps = [ |
387 ":blimp_test_apk_manifest", | 395 ":blimp_test_apk_manifest", |
388 ":blimp_test_java", | 396 ":blimp_test_java", |
389 google_play_services_resources, | 397 google_play_services_resources, |
390 ] | 398 ] |
391 } | 399 } |
392 } | 400 } |
OLD | NEW |