OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 source_set("app") { | 8 source_set("app") { |
9 sources = [ | 9 sources = [ |
10 "cast_main_delegate.cc", | 10 "cast_main_delegate.cc", |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "//base/test:test_support", | 85 "//base/test:test_support", |
86 "//chromecast/base:test_support", | 86 "//chromecast/base:test_support", |
87 "//chromecast/crash", | 87 "//chromecast/crash", |
88 "//chromecast/crash:test_support", | 88 "//chromecast/crash:test_support", |
89 "//testing/gtest", | 89 "//testing/gtest", |
90 ] | 90 ] |
91 } | 91 } |
92 | 92 |
93 grit("resources") { | 93 grit("resources") { |
94 source = "//chromecast/app/resources/shell_resources.grd" | 94 source = "//chromecast/app/resources/shell_resources.grd" |
| 95 use_qualified_include = true |
95 | 96 |
96 resource_ids = "//chromecast/app/resources/resource_ids" | 97 resource_ids = "//chromecast/app/resources/resource_ids" |
97 | 98 |
98 outputs = [ | 99 outputs = [ |
99 "grit/shell_resources.h", | 100 "grit/shell_resources.h", |
100 "shell_resources.pak", | 101 "shell_resources.pak", |
101 ] | 102 ] |
102 } | 103 } |
103 | 104 |
104 grit("chromecast_settings") { | 105 grit("chromecast_settings") { |
105 source = "//chromecast/app/resources/chromecast_settings.grd" | 106 source = "//chromecast/app/resources/chromecast_settings.grd" |
106 resource_ids = "//chromecast/app/resources/resource_ids" | 107 resource_ids = "//chromecast/app/resources/resource_ids" |
| 108 |
| 109 # TODO(thakis): Consider removing this in favor of the default directory. |
107 output_dir = "$root_gen_dir/chromecast_strings" | 110 output_dir = "$root_gen_dir/chromecast_strings" |
108 | 111 |
109 outputs = [ | 112 outputs = [ |
110 "grit/chromecast_settings.h", | 113 "grit/chromecast_settings.h", |
111 "chromecast_settings_am.pak", | 114 "chromecast_settings_am.pak", |
112 "chromecast_settings_ar.pak", | 115 "chromecast_settings_ar.pak", |
113 "chromecast_settings_bg.pak", | 116 "chromecast_settings_bg.pak", |
114 "chromecast_settings_bn.pak", | 117 "chromecast_settings_bn.pak", |
115 "chromecast_settings_ca.pak", | 118 "chromecast_settings_ca.pak", |
116 "chromecast_settings_cs.pak", | 119 "chromecast_settings_cs.pak", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 "chromecast_settings_ta.pak", | 160 "chromecast_settings_ta.pak", |
158 "chromecast_settings_te.pak", | 161 "chromecast_settings_te.pak", |
159 "chromecast_settings_th.pak", | 162 "chromecast_settings_th.pak", |
160 "chromecast_settings_tr.pak", | 163 "chromecast_settings_tr.pak", |
161 "chromecast_settings_uk.pak", | 164 "chromecast_settings_uk.pak", |
162 "chromecast_settings_vi.pak", | 165 "chromecast_settings_vi.pak", |
163 "chromecast_settings_zh-CN.pak", | 166 "chromecast_settings_zh-CN.pak", |
164 "chromecast_settings_zh-TW.pak", | 167 "chromecast_settings_zh-TW.pak", |
165 ] | 168 ] |
166 } | 169 } |
OLD | NEW |