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 import("//extensions/extensions.gni") | 5 import("//extensions/extensions.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 assert(enable_extensions) | 10 assert(enable_extensions) |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 test("extensions_unittests") { | 131 test("extensions_unittests") { |
132 sources = | 132 sources = |
133 rebase_path(extensions_tests_gypi_values.extensions_unittests_sources, | 133 rebase_path(extensions_tests_gypi_values.extensions_unittests_sources, |
134 ".", | 134 ".", |
135 "//extensions") | 135 "//extensions") |
136 | 136 |
137 sources += [ | 137 sources += [ |
138 # TODO(rockot): DisplayInfoProvider::Create() is only implemented in Chrome | 138 # TODO(rockot): DisplayInfoProvider::Create() is only implemented in Chrome |
139 # and app_shell. This is wrong. | 139 # and app_shell. This is wrong. |
140 "shell/browser/shell_display_info_provider.cc", | 140 "shell/browser/shell_display_info_provider.cc", |
141 | |
142 # TODO(rockot): See above, but the header is in //components. | |
143 "shell/browser/shell_web_contents_modal_dialog_manager.cc", | |
144 ] | 141 ] |
145 | 142 |
146 deps = [ | 143 deps = [ |
147 ":extensions_resources", | 144 ":extensions_resources", |
148 ":shell_and_test_pak", | 145 ":shell_and_test_pak", |
149 ":test_support", | 146 ":test_support", |
150 "//base", | 147 "//base", |
151 "//base:prefs_test_support", | 148 "//base:prefs_test_support", |
152 "//base/test:test_support", | 149 "//base/test:test_support", |
153 "//components/keyed_service/content", | 150 "//components/keyed_service/content", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 ] | 211 ] |
215 | 212 |
216 if (is_win) { | 213 if (is_win) { |
217 deps += [ "//base/allocator" ] | 214 deps += [ "//base/allocator" ] |
218 } | 215 } |
219 | 216 |
220 if (is_mac) { | 217 if (is_mac) { |
221 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. | 218 deps += [ "shell:app_shell" ] # Needed for App Shell.app's Helper. |
222 } | 219 } |
223 } | 220 } |
OLD | NEW |