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

Unified Diff: chrome/browser/apps/BUILD.gn

Issue 2789253003: Add chrome/browser/apps/BUILD.gn and move Chrome-specific code there (Closed)
Patch Set: cleanup Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/apps/BUILD.gn
diff --git a/chrome/browser/apps/BUILD.gn b/chrome/browser/apps/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..9f6da245c0ce0bbb1510da217b3eb50772918e5c
--- /dev/null
+++ b/chrome/browser/apps/BUILD.gn
@@ -0,0 +1,56 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//extensions/features/features.gni")
+
+assert(enable_extensions)
+
+source_set("apps") {
+ sources = [
+ "../apps/app_launch_for_metro_restart_win.cc",
benwells 2017/04/04 01:14:13 Why do you need the "../apps" on all of these?
michaelpg 2017/04/04 01:49:31 Ah. Originally I had this as a source_set in c/b/e
+ "../apps/app_launch_for_metro_restart_win.h",
+ "../apps/app_load_service.cc",
+ "../apps/app_load_service.h",
+ "../apps/app_load_service_factory.cc",
+ "../apps/app_load_service_factory.h",
+ "../apps/app_url_redirector.cc",
+ "../apps/app_url_redirector.h",
+ "../apps/app_window_registry_util.cc",
+ "../apps/app_window_registry_util.h",
+ "../apps/browser_context_keyed_service_factories.cc",
+ "../apps/browser_context_keyed_service_factories.h",
+ "../apps/install_chrome_app.cc",
+ "../apps/install_chrome_app.h",
+ "../apps/shortcut_manager.cc",
+ "../apps/shortcut_manager.h",
+ "../apps/shortcut_manager_factory.cc",
+ "../apps/shortcut_manager_factory.h",
+ ]
+
+ configs += [ "//build/config/compiler:wexit_time_destructors" ]
+
+ public_deps = [
+ "//apps",
+ ]
+
+ deps = [
+ "//chrome/app:command_ids",
+ "//chrome/browser/extensions",
+ "//chrome/browser/media/router/discovery",
+ "//chrome/common",
+ "//components/crx_file",
+ "//components/keyed_service/content",
+ "//components/navigation_interception",
+ "//components/pref_registry",
+ "//content/public/browser",
+ "//content/public/common",
+ "//extensions/browser",
+ "//extensions/common",
+ "//extensions/common/api",
+ "//net",
+ "//ui/gfx",
+ ]
+
+ allow_circular_includes_from = [ "//chrome/browser/extensions" ]
+}

Powered by Google App Engine
This is Rietveld 408576698