OLD | NEW |
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("//chrome/common/features.gni") | 5 import("//chrome/common/features.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome") | 8 assert(!is_ios, "Chromium/iOS shouldn't use anything in //chrome") |
9 | 9 |
10 grit("invalidations_resources") { | 10 grit("invalidations_resources") { |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 grit("options_resources") { | 109 grit("options_resources") { |
110 source = "options_resources.grd" | 110 source = "options_resources.grd" |
111 defines = chrome_grit_defines | 111 defines = chrome_grit_defines |
112 outputs = [ | 112 outputs = [ |
113 "grit/options_resources.h", | 113 "grit/options_resources.h", |
114 "options_resources.pak", | 114 "options_resources.pak", |
115 ] | 115 ] |
116 output_dir = "$root_gen_dir/chrome" | 116 output_dir = "$root_gen_dir/chrome" |
117 } | 117 } |
118 | 118 |
119 grit("options_test_resources") { | |
120 source = "options_test_resources.grd" | |
121 defines = chrome_grit_defines | |
122 outputs = [ | |
123 "grit/options_test_resources.h", | |
124 "options_test_resources.pak", | |
125 ] | |
126 output_dir = "$root_gen_dir/chrome" | |
127 } | |
128 | |
129 grit("settings_resources") { | 119 grit("settings_resources") { |
130 if (use_vulcanize) { | 120 if (use_vulcanize) { |
131 source = "settings/settings_resources_vulcanized.grd" | 121 source = "settings/settings_resources_vulcanized.grd" |
132 deps = [ | 122 deps = [ |
133 "//chrome/browser/resources/settings:build", | 123 "//chrome/browser/resources/settings:build", |
134 ] | 124 ] |
135 grit_flags = [ | 125 grit_flags = [ |
136 "-E", | 126 "-E", |
137 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), | 127 "root_gen_dir=" + rebase_path(root_gen_dir, root_build_dir), |
138 ] | 128 ] |
(...skipping 16 matching lines...) Expand all Loading... |
155 grit("sync_file_system_internals_resources") { | 145 grit("sync_file_system_internals_resources") { |
156 source = "sync_file_system_internals_resources.grd" | 146 source = "sync_file_system_internals_resources.grd" |
157 defines = chrome_grit_defines | 147 defines = chrome_grit_defines |
158 outputs = [ | 148 outputs = [ |
159 "grit/sync_file_system_internals_resources.h", | 149 "grit/sync_file_system_internals_resources.h", |
160 "sync_file_system_internals_resources.pak", | 150 "sync_file_system_internals_resources.pak", |
161 ] | 151 ] |
162 output_dir = "$root_gen_dir/chrome" | 152 output_dir = "$root_gen_dir/chrome" |
163 } | 153 } |
164 } | 154 } |
OLD | NEW |