Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Side by Side Diff: ios/clean/chrome/browser/BUILD.gn

Issue 2626033002: [Clean] Add unittest target and BrowserCoordinator tests. (Closed)
Patch Set: Cleanup Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 source_set("browser") { 5 source_set("browser") {
6 sources = [ 6 sources = [
7 "browser_coordinator+internal.h", 7 "browser_coordinator+internal.h",
8 "browser_coordinator.h", 8 "browser_coordinator.h",
9 "browser_coordinator.mm", 9 "browser_coordinator.mm",
10 "url_opening.h", 10 "url_opening.h",
11 ] 11 ]
12 12
13 configs += [ "//build/config/compiler:enable_arc" ] 13 configs += [ "//build/config/compiler:enable_arc" ]
14 14
15 deps = [ 15 deps = [
16 "//base", 16 "//base",
17 "//ios/chrome/app:tests_fake_hook",
marq (ping after 24h) 2017/01/11 13:13:25 These additions are required to link ChromeBrowser
17 "//ios/chrome/browser", 18 "//ios/chrome/browser",
18 "//ios/chrome/browser/browser_state", 19 "//ios/chrome/browser/browser_state",
20 "//ios/chrome/browser/tabs:tabs_internal",
19 ] 21 ]
20 } 22 }
23
24 source_set("unit_tests") {
25 testonly = true
26 sources = [
27 "browser_coordinator_unittest.mm",
28 ]
29
30 configs += [ "//build/config/compiler:enable_arc" ]
31
32 deps = [
33 ":browser",
34 "//base",
35 "//base/test:test_support",
36 "//ios/chrome/test/base",
37 "//testing/gtest",
38 ]
39 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698