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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//chrome/common/features.gni") | 7 import("//chrome/common/features.gni") |
8 import("//extensions/features/features.gni") | 8 import("//extensions/features/features.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 import("//rlz/features/features.gni") | 10 import("//rlz/features/features.gni") |
11 | 11 |
12 assert(enable_extensions) | 12 assert(enable_extensions) |
13 | 13 |
14 static_library("extensions") { | 14 static_library("extensions") { |
15 sources = [ | 15 sources = [ |
16 # TODO These references to files in //chrome/browser/ should either be | 16 # TODO These references to files in //chrome/browser/ should either be |
17 # moved to the browser target or the files moved to this directory. | 17 # moved to the browser target or the files moved to this directory. |
18 "../apps/app_launch_for_metro_restart_win.cc", | |
19 "../apps/app_launch_for_metro_restart_win.h", | |
20 "../apps/app_url_redirector.cc", | |
21 "../apps/app_url_redirector.h", | |
22 "../apps/app_window_registry_util.cc", | |
23 "../apps/app_window_registry_util.h", | |
24 "../apps/install_chrome_app.cc", | |
25 "../apps/install_chrome_app.h", | |
26 "../apps/shortcut_manager.cc", | |
27 "../apps/shortcut_manager.h", | |
28 "../apps/shortcut_manager_factory.cc", | |
29 "../apps/shortcut_manager_factory.h", | |
30 "../ui/app_icon_loader.cc", | 18 "../ui/app_icon_loader.cc", |
31 "../ui/app_icon_loader.h", | 19 "../ui/app_icon_loader.h", |
32 "../ui/toolbar/toolbar_actions_model.cc", | 20 "../ui/toolbar/toolbar_actions_model.cc", |
33 "../ui/toolbar/toolbar_actions_model.h", | 21 "../ui/toolbar/toolbar_actions_model.h", |
34 "../ui/toolbar/toolbar_actions_model_factory.cc", | 22 "../ui/toolbar/toolbar_actions_model_factory.cc", |
35 "../ui/toolbar/toolbar_actions_model_factory.h", | 23 "../ui/toolbar/toolbar_actions_model_factory.h", |
36 "../web_applications/update_shortcut_worker_win.cc", | 24 "../web_applications/update_shortcut_worker_win.cc", |
37 "../web_applications/update_shortcut_worker_win.h", | 25 "../web_applications/update_shortcut_worker_win.h", |
38 "../web_applications/web_app.cc", | 26 "../web_applications/web_app.cc", |
39 "../web_applications/web_app.h", | 27 "../web_applications/web_app.h", |
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 # we must omit the dependency from browser_extensions to browser. | 793 # we must omit the dependency from browser_extensions to browser. |
806 # However, this means browser_extensions and browser should more or less | 794 # However, this means browser_extensions and browser should more or less |
807 # have the same dependencies. Once browser_extensions is untangled from | 795 # have the same dependencies. Once browser_extensions is untangled from |
808 # browser, then we can clean up these dependencies. | 796 # browser, then we can clean up these dependencies. |
809 public_deps = [ | 797 public_deps = [ |
810 "//chrome/common/extensions/api", | 798 "//chrome/common/extensions/api", |
811 "//components/safe_browsing_db:util", | 799 "//components/safe_browsing_db:util", |
812 "//content/public/browser", | 800 "//content/public/browser", |
813 ] | 801 ] |
814 deps = [ | 802 deps = [ |
| 803 "//apps", |
815 "//chrome:extra_resources", | 804 "//chrome:extra_resources", |
816 "//chrome:resources", | 805 "//chrome:resources", |
817 "//chrome:strings", | 806 "//chrome:strings", |
818 "//chrome/app:command_ids", | 807 "//chrome/app:command_ids", |
819 "//chrome/app/resources:platform_locale_settings", | 808 "//chrome/app/resources:platform_locale_settings", |
820 "//chrome/app/theme:chrome_unscaled_resources", | 809 "//chrome/app/theme:chrome_unscaled_resources", |
821 "//chrome/app/theme:theme_resources", | 810 "//chrome/app/theme:theme_resources", |
822 "//chrome/app/vector_icons", | 811 "//chrome/app/vector_icons", |
823 "//chrome/browser/devtools", | 812 "//chrome/browser/devtools", |
824 "//chrome/browser/media/router/discovery", | 813 "//chrome/browser/media/router/discovery", |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 "api/braille_display_private/brlapi_connection.cc", | 1176 "api/braille_display_private/brlapi_connection.cc", |
1188 "api/braille_display_private/brlapi_connection.h", | 1177 "api/braille_display_private/brlapi_connection.h", |
1189 "api/braille_display_private/brlapi_keycode_map.cc", | 1178 "api/braille_display_private/brlapi_keycode_map.cc", |
1190 "api/braille_display_private/brlapi_keycode_map.h", | 1179 "api/braille_display_private/brlapi_keycode_map.h", |
1191 ] | 1180 ] |
1192 deps += [ "//build/linux/libbrlapi" ] | 1181 deps += [ "//build/linux/libbrlapi" ] |
1193 } else { | 1182 } else { |
1194 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] | 1183 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] |
1195 } | 1184 } |
1196 } | 1185 } |
OLD | NEW |