| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/config.gni") | 6 import("//build/config/android/config.gni") |
| 7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 source_set("session") { | 10 source_set("session") { |
| 11 visibility = [ | 11 visibility = [ |
| 12 "//blimp/client/*", | 12 "//blimp/client/*", |
| 13 "//blimp/engine:browser_tests", | 13 "//blimp/engine:browser_tests", |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 sources = [ | 16 sources = [ |
| 17 "assignment_source.cc", | 17 "assignment_source.cc", |
| 18 "assignment_source.h", | 18 "assignment_source.h", |
| 19 "client_network_components.cc", | 19 "client_network_components.cc", |
| 20 "client_network_components.h", | 20 "client_network_components.h", |
| 21 "cross_thread_network_event_observer.cc", | 21 "cross_thread_network_event_observer.cc", |
| 22 "cross_thread_network_event_observer.h", | 22 "cross_thread_network_event_observer.h", |
| 23 "identity_source.cc", |
| 24 "identity_source.h", |
| 23 "network_event_observer.h", | 25 "network_event_observer.h", |
| 24 ] | 26 ] |
| 25 | 27 |
| 26 public_deps = [ | 28 public_deps = [ |
| 27 "//base", | 29 "//base", |
| 28 "//blimp/client/public:public_headers", | 30 "//blimp/client/public:public_headers", |
| 29 "//blimp/net", | 31 "//blimp/net", |
| 30 "//components/safe_json", | 32 "//components/safe_json", |
| 33 "//google_apis", |
| 31 "//net", | 34 "//net", |
| 32 "//url", | 35 "//url", |
| 33 ] | 36 ] |
| 34 | 37 |
| 35 deps = [ | 38 deps = [ |
| 36 "//blimp/client/core:switches", | 39 "//blimp/client/core:switches", |
| 37 "//blimp/common", | 40 "//blimp/common", |
| 38 ] | 41 ] |
| 39 } | 42 } |
| 40 | 43 |
| 41 source_set("unit_tests") { | 44 source_set("unit_tests") { |
| 42 visibility = [ "//blimp/client/core:unit_tests" ] | 45 visibility = [ "//blimp/client/core:unit_tests" ] |
| 43 | 46 |
| 44 testonly = true | 47 testonly = true |
| 45 | 48 |
| 46 sources = [] | 49 sources = [ |
| 50 "identity_source_unittest.cc", |
| 51 ] |
| 47 | 52 |
| 48 deps = [] | 53 deps = [ |
| 54 ":session", |
| 55 "//base", |
| 56 "//blimp/client/test:test", |
| 57 "//google_apis:test_support", |
| 58 "//testing/gmock", |
| 59 "//testing/gtest", |
| 60 ] |
| 49 | 61 |
| 50 data = [] | 62 data = [] |
| 51 | 63 |
| 52 # TODO(dtrainor): Fix the test harness to allow this to run on Android. | 64 # TODO(dtrainor): Fix the test harness to allow this to run on Android. |
| 53 # See crbug.com/588240. | 65 # See crbug.com/588240. |
| 54 if (is_linux) { | 66 if (is_linux) { |
| 55 sources += [ "assignment_source_unittest.cc" ] | 67 sources += [ "assignment_source_unittest.cc" ] |
| 56 | 68 |
| 57 deps += [ | 69 deps += [ |
| 58 ":session", | |
| 59 "//base", | |
| 60 "//blimp/client/core:switches", | 70 "//blimp/client/core:switches", |
| 61 "//blimp/common", | 71 "//blimp/common", |
| 62 "//blimp/common:test_support", | 72 "//blimp/common:test_support", |
| 63 "//components/safe_json:test_support", | 73 "//components/safe_json:test_support", |
| 64 "//net:test_support", | 74 "//net:test_support", |
| 65 "//testing/gmock", | |
| 66 "//testing/gtest", | |
| 67 "//url", | 75 "//url", |
| 68 ] | 76 ] |
| 69 | 77 |
| 70 data += [ | 78 data += [ |
| 71 "test_selfsigned_cert.pem", | 79 "test_selfsigned_cert.pem", |
| 72 "//blimp/test/data/test_client_token", | 80 "//blimp/test/data/test_client_token", |
| 73 ] | 81 ] |
| 74 } | 82 } |
| 75 } | 83 } |
| OLD | NEW |