| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 static_library("browser") { | 5 static_library("browser") { |
| 6 sources = [ | 6 sources = [ |
| 7 "google_pref_names.cc", | 7 "google_pref_names.cc", |
| 8 "google_pref_names.h", | 8 "google_pref_names.h", |
| 9 "google_search_metrics.cc", | 9 "google_search_metrics.cc", |
| 10 "google_search_metrics.h", | 10 "google_search_metrics.h", |
| 11 "google_switches.cc", | 11 "google_switches.cc", |
| 12 "google_switches.h", | 12 "google_switches.h", |
| 13 "google_url_tracker.cc", | 13 "google_url_tracker.cc", |
| 14 "google_url_tracker.h", | 14 "google_url_tracker.h", |
| 15 "google_url_tracker_client.cc", | 15 "google_url_tracker_client.cc", |
| 16 "google_url_tracker_client.h", | 16 "google_url_tracker_client.h", |
| 17 "google_url_tracker_infobar_delegate.cc", | |
| 18 "google_url_tracker_infobar_delegate.h", | |
| 19 "google_url_tracker_map_entry.cc", | |
| 20 "google_url_tracker_map_entry.h", | |
| 21 "google_url_tracker_navigation_helper.cc", | |
| 22 "google_url_tracker_navigation_helper.h", | |
| 23 "google_util.cc", | 17 "google_util.cc", |
| 24 "google_util.h", | 18 "google_util.h", |
| 25 ] | 19 ] |
| 26 | 20 |
| 27 if (is_win) { | |
| 28 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 29 cflags = [ "/wd4267" ] | |
| 30 } | |
| 31 | |
| 32 deps = [ | 21 deps = [ |
| 33 "//base", | 22 "//base", |
| 34 "//base:prefs", | 23 "//base:prefs", |
| 35 "//components/keyed_service/core", | 24 "//components/keyed_service/core", |
| 36 "//components/infobars/core", | |
| 37 "//components/strings", | 25 "//components/strings", |
| 38 "//components/url_fixer", | 26 "//components/url_fixer", |
| 39 "//net", | 27 "//net", |
| 40 "//ui/base", | |
| 41 "//url", | 28 "//url", |
| 42 ] | 29 ] |
| 43 } | 30 } |
| 44 | 31 |
| 45 source_set("unit_tests") { | 32 source_set("unit_tests") { |
| 46 testonly = true | 33 testonly = true |
| 47 | 34 |
| 48 sources = [ | 35 sources = [ |
| 49 "google_url_tracker_unittest.cc", | 36 "google_url_tracker_unittest.cc", |
| 50 "google_util_unittest.cc", | 37 "google_util_unittest.cc", |
| 51 ] | 38 ] |
| 52 | 39 |
| 53 deps = [ | 40 deps = [ |
| 54 ":browser", | 41 ":browser", |
| 55 "//base", | 42 "//base", |
| 56 "//base:prefs", | 43 "//base:prefs", |
| 57 "//base:prefs_test_support", | 44 "//base:prefs_test_support", |
| 58 "//components/infobars/core", | |
| 59 "//components/infobars/test:test_support", | |
| 60 "//net:test_support", | 45 "//net:test_support", |
| 61 "//testing/gtest", | 46 "//testing/gtest", |
| 62 ] | 47 ] |
| 63 } | 48 } |
| OLD | NEW |