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

Side by Side Diff: components/resources/BUILD.gn

Issue 637163002: Changes the location of the component resources in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 # GYP version: components/components_resources.gyp:components_resources 7 # GYP version: components/components_resources.gyp:components_resources
8 group("resources") { 8 group("resources") {
9 deps = [ 9 deps = [
10 ":components_resources", 10 ":components_resources",
11 ":components_scaled_resources", 11 ":components_scaled_resources",
12 ] 12 ]
13 } 13 }
14 14
15 # GYP version: components/components_resources.gyp 15 # GYP version: components/components_resources.gyp
16 # (generate_components_resources action) 16 # (generate_components_resources action)
17 grit("components_resources") { 17 grit("components_resources") {
18 source = "components_resources.grd" 18 source = "components_resources.grd"
19 # TODO(hashimoto): Remove this line. 19 # TODO(hashimoto): Remove this line.
20 output_name = "components_resources_new" 20 output_name = "components_resources_new"
21 outputs = [ 21 outputs = [
22 "grit/components_resources.h", 22 "grit/components_resources.h",
23 "components_resources.pak", 23 "components_resources.pak",
24 ] 24 ]
25 output_dir = "$root_gen_dir/components"
25 } 26 }
26 27
27 # GYP version: components/components_resources.gyp 28 # GYP version: components/components_resources.gyp
28 # (generate_scaled_components_resources action) 29 # (generate_scaled_components_resources action)
29 grit("components_scaled_resources") { 30 grit("components_scaled_resources") {
30 source = "components_scaled_resources.grd" 31 source = "components_scaled_resources.grd"
31 # TODO(hashimoto): Remove this line. 32 # TODO(hashimoto): Remove this line.
32 output_name = "components_scaled_resources_new" 33 output_name = "components_scaled_resources_new"
33 outputs = [ 34 outputs = [
34 "grit/components_scaled_resources.h", 35 "grit/components_scaled_resources.h",
35 "components_resources_100_percent.pak", 36 "components_resources_100_percent.pak",
36 "components_resources_200_percent.pak", 37 "components_resources_200_percent.pak",
37 ] 38 ]
39 output_dir = "$root_gen_dir/components"
38 } 40 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698