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

Side by Side Diff: chrome/browser/extensions/BUILD.gn

Issue 2789253003: Add chrome/browser/apps/BUILD.gn and move Chrome-specific code there (Closed)
Patch Set: rebase Created 3 years, 8 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 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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 # we must omit the dependency from browser_extensions to browser. 796 # we must omit the dependency from browser_extensions to browser.
809 # However, this means browser_extensions and browser should more or less 797 # However, this means browser_extensions and browser should more or less
810 # have the same dependencies. Once browser_extensions is untangled from 798 # have the same dependencies. Once browser_extensions is untangled from
811 # browser, then we can clean up these dependencies. 799 # browser, then we can clean up these dependencies.
812 public_deps = [ 800 public_deps = [
813 "//chrome/common/extensions/api", 801 "//chrome/common/extensions/api",
814 "//components/safe_browsing_db:util", 802 "//components/safe_browsing_db:util",
815 "//content/public/browser", 803 "//content/public/browser",
816 ] 804 ]
817 deps = [ 805 deps = [
806 "//apps",
818 "//chrome:extra_resources", 807 "//chrome:extra_resources",
819 "//chrome:resources", 808 "//chrome:resources",
820 "//chrome:strings", 809 "//chrome:strings",
821 "//chrome/app:command_ids", 810 "//chrome/app:command_ids",
822 "//chrome/app/resources:platform_locale_settings", 811 "//chrome/app/resources:platform_locale_settings",
823 "//chrome/app/theme:chrome_unscaled_resources", 812 "//chrome/app/theme:chrome_unscaled_resources",
824 "//chrome/app/theme:theme_resources", 813 "//chrome/app/theme:theme_resources",
825 "//chrome/app/vector_icons", 814 "//chrome/app/vector_icons",
826 "//chrome/browser/devtools", 815 "//chrome/browser/devtools",
827 "//chrome/browser/media/router/discovery", 816 "//chrome/browser/media/router/discovery",
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 "api/braille_display_private/brlapi_connection.cc", 1179 "api/braille_display_private/brlapi_connection.cc",
1191 "api/braille_display_private/brlapi_connection.h", 1180 "api/braille_display_private/brlapi_connection.h",
1192 "api/braille_display_private/brlapi_keycode_map.cc", 1181 "api/braille_display_private/brlapi_keycode_map.cc",
1193 "api/braille_display_private/brlapi_keycode_map.h", 1182 "api/braille_display_private/brlapi_keycode_map.h",
1194 ] 1183 ]
1195 deps += [ "//build/linux/libbrlapi" ] 1184 deps += [ "//build/linux/libbrlapi" ]
1196 } else { 1185 } else {
1197 sources += [ "api/braille_display_private/braille_controller_stub.cc" ] 1186 sources += [ "api/braille_display_private/braille_controller_stub.cc" ]
1198 } 1187 }
1199 } 1188 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698