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

Side by Side Diff: chrome/app/BUILD.gn

Issue 1828733004: Load application manifests from resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/app/mojo/chrome_manifest.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//mojo/public/mojo_application_manifest.gni")
5 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
6 7
7 if (is_android) { 8 if (is_android) {
8 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
9 android_generated_java_resources = [ 10 android_generated_java_resources = [
10 "java/res/values-am/generated_resources.xml", 11 "java/res/values-am/generated_resources.xml",
11 "java/res/values-ar/generated_resources.xml", 12 "java/res/values-ar/generated_resources.xml",
12 "java/res/values-bg/generated_resources.xml", 13 "java/res/values-bg/generated_resources.xml",
13 "java/res/values-ca/generated_resources.xml", 14 "java/res/values-ca/generated_resources.xml",
14 "java/res/values-cs/generated_resources.xml", 15 "java/res/values-cs/generated_resources.xml",
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 deps += [ "//pdf" ] 357 deps += [ "//pdf" ]
357 } 358 }
358 359
359 if (enable_plugins && enable_nacl) { 360 if (enable_plugins && enable_nacl) {
360 deps += [ 361 deps += [
361 "//components/nacl/browser", 362 "//components/nacl/browser",
362 "//components/nacl/renderer/plugin:nacl_trusted_plugin", 363 "//components/nacl/renderer/plugin:nacl_trusted_plugin",
363 ] 364 ]
364 } 365 }
365 } 366 }
367
368 mojo_application_manifest("chrome_manifest") {
369 type = "exe"
370 application_name = "chrome"
371 source = "mojo/chrome_manifest.json"
372 base_manifest = "${root_out_dir}/content_browser_manifest.json"
373 base_deps = [ "//content/public/app:browser_manifest" ]
374 }
375
376 mojo_application_manifest("chrome_renderer_manifest") {
377 type = "exe"
378 application_name = "chrome_renderer"
379 source = "mojo/chrome_renderer_manifest.json"
380 base_manifest = "${root_out_dir}/content_renderer_manifest.json"
381 base_deps = [ "//content/public/app:renderer_manifest" ]
382 }
383
384 group("mojo_manifests") {
385 deps = [
386 ":chrome_manifest",
387 ":chrome_renderer_manifest",
388 ]
389 }
OLDNEW
« no previous file with comments | « no previous file | chrome/app/mojo/chrome_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698