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

Side by Side Diff: content/browser/BUILD.gn

Issue 1828733004: Load application manifests from resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 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("//content/browser/browser.gni") 7 import("//content/browser/browser.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//mojo/public/mojo_application_manifest.gni")
10 9
11 source_set("browser") { 10 source_set("browser") {
12 # Only the public target should depend on this. All other targets (even 11 # Only the public target should depend on this. All other targets (even
13 # internal content ones) should depend on the public one. 12 # internal content ones) should depend on the public one.
14 visibility = [ "//content/public/browser:browser_sources" ] 13 visibility = [ "//content/public/browser:browser_sources" ]
15 14
16 configs += [ 15 configs += [
17 "//build/config:precompiled_headers", 16 "//build/config:precompiled_headers",
18 "//content:content_implementation", 17 "//content:content_implementation",
19 "//content/public/common:mojo_shell_client", 18 "//content/public/common:mojo_shell_client",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "//ui/gfx/geometry", 110 "//ui/gfx/geometry",
112 "//ui/gl", 111 "//ui/gl",
113 "//ui/native_theme", 112 "//ui/native_theme",
114 "//ui/resources", 113 "//ui/resources",
115 "//ui/shell_dialogs", 114 "//ui/shell_dialogs",
116 "//ui/snapshot", 115 "//ui/snapshot",
117 "//ui/surface", 116 "//ui/surface",
118 "//ui/touch_selection", 117 "//ui/touch_selection",
119 ] 118 ]
120 119
121 data_deps = [
122 ":chrome_manifest",
123 ":chrome_renderer_manifest",
124 ]
125
126 sources = rebase_path(content_browser_gypi_values.private_browser_sources, 120 sources = rebase_path(content_browser_gypi_values.private_browser_sources,
127 ".", 121 ".",
128 "//content") 122 "//content")
129 123
130 # TODO(GYP) these generated files are listed as sources in content_browser. 124 # TODO(GYP) these generated files are listed as sources in content_browser.
131 # This is a bit suspicious. The GN grit template will make a source set 125 # This is a bit suspicious. The GN grit template will make a source set
132 # containing the generated code so it should be sufficient to just depend 126 # containing the generated code so it should be sufficient to just depend
133 # on the grit rule. But maybe some of these will need to be added? 127 # on the grit rule. But maybe some of these will need to be added?
134 # 128 #
135 # Need this annoying rebase_path call to match what happened with the 129 # Need this annoying rebase_path call to match what happened with the
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 512
519 if (enable_webvr && is_android) { 513 if (enable_webvr && is_android) {
520 sources += [ 514 sources += [
521 "vr/android/cardboard/cardboard_vr_device.cc", 515 "vr/android/cardboard/cardboard_vr_device.cc",
522 "vr/android/cardboard/cardboard_vr_device.h", 516 "vr/android/cardboard/cardboard_vr_device.h",
523 "vr/android/cardboard/cardboard_vr_device_provider.cc", 517 "vr/android/cardboard/cardboard_vr_device_provider.cc",
524 "vr/android/cardboard/cardboard_vr_device_provider.h", 518 "vr/android/cardboard/cardboard_vr_device_provider.h",
525 ] 519 ]
526 } 520 }
527 } 521 }
528
529 mojo_application_manifest("chrome_manifest") {
530 type = "exe"
531 application_name = "chrome"
532 source = "mojo/chrome_manifest.json"
533 }
534
535 mojo_application_manifest("chrome_renderer_manifest") {
536 type = "exe"
537 application_name = "chrome_renderer"
538 source = "mojo/chrome_renderer_manifest.json"
539 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698