| 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 source_set("translate") { | 5 source_set("translate") { |
| 6 sources = [ | 6 sources = [ |
| 7 "after_translate_infobar_controller.h", | 7 "after_translate_infobar_controller.h", |
| 8 "after_translate_infobar_controller.mm", | 8 "after_translate_infobar_controller.mm", |
| 9 "before_translate_infobar_controller.h", | 9 "before_translate_infobar_controller.h", |
| 10 "before_translate_infobar_controller.mm", | 10 "before_translate_infobar_controller.mm", |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 deps = [ | 60 deps = [ |
| 61 ":translate", | 61 ":translate", |
| 62 "//base", | 62 "//base", |
| 63 "//base/test:test_support", | 63 "//base/test:test_support", |
| 64 "//components/translate/ios/browser", | 64 "//components/translate/ios/browser", |
| 65 "//ios/chrome/browser", | 65 "//ios/chrome/browser", |
| 66 "//ios/chrome/browser/web:test_support", | 66 "//ios/chrome/browser/web:test_support", |
| 67 "//ios/chrome/common", | 67 "//ios/chrome/common", |
| 68 "//ios/public/provider/chrome/browser:test_support", | 68 "//ios/public/provider/chrome/browser:test_support", |
| 69 "//ios/web", | 69 "//ios/web", |
| 70 "//ios/web:test_support", | 70 "//ios/web/public/test", |
| 71 "//testing/gtest", | 71 "//testing/gtest", |
| 72 "//url", | 72 "//url", |
| 73 ] | 73 ] |
| 74 } | 74 } |
| 75 | 75 |
| 76 # Those tests do not use external URLs but fail if the network is unavailable | 76 # Those tests do not use external URLs but fail if the network is unavailable |
| 77 # as they explicitly check whether the network is up or not; it is not possible | 77 # as they explicitly check whether the network is up or not; it is not possible |
| 78 # to safely instantiate a net::NetworkChangeNotifier::DisableForTest to disable | 78 # to safely instantiate a net::NetworkChangeNotifier::DisableForTest to disable |
| 79 # those checks as this in not thread-safe. See http://crbug.com/709131 for more | 79 # those checks as this in not thread-safe. See http://crbug.com/709131 for more |
| 80 # details. | 80 # details. |
| 81 source_set("external_url_eg_tests") { | 81 source_set("external_url_eg_tests") { |
| 82 configs += [ "//build/config/compiler:enable_arc" ] | 82 configs += [ "//build/config/compiler:enable_arc" ] |
| 83 testonly = true | 83 testonly = true |
| 84 sources = [ | 84 sources = [ |
| 85 "translate_egtest.mm", | 85 "translate_egtest.mm", |
| 86 ] | 86 ] |
| 87 deps = [ | 87 deps = [ |
| 88 ":translate", | 88 ":translate", |
| 89 "//base", | 89 "//base", |
| 90 "//components/strings", | 90 "//components/strings", |
| 91 "//components/translate/core/browser", | 91 "//components/translate/core/browser", |
| 92 "//components/translate/core/common", | 92 "//components/translate/core/common", |
| 93 "//components/translate/ios/browser", | 93 "//components/translate/ios/browser", |
| 94 "//ios/chrome/browser/browser_state", | 94 "//ios/chrome/browser/browser_state", |
| 95 "//ios/chrome/test/app:test_support", | 95 "//ios/chrome/test/app:test_support", |
| 96 "//ios/chrome/test/earl_grey:test_support", | 96 "//ios/chrome/test/earl_grey:test_support", |
| 97 "//ios/testing:ios_test_support", | 97 "//ios/testing:ios_test_support", |
| 98 "//ios/third_party/earl_grey", | 98 "//ios/third_party/earl_grey", |
| 99 "//ios/web:test_support", | 99 "//ios/web/public/test", |
| 100 "//ios/web/public/test/http_server", |
| 100 "//net", | 101 "//net", |
| 101 "//ui/base", | 102 "//ui/base", |
| 102 ] | 103 ] |
| 103 libs = [ "XCTest.framework" ] | 104 libs = [ "XCTest.framework" ] |
| 104 } | 105 } |
| OLD | NEW |