| 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") |
| 9 |
| 8 grit("net_internals_resources") { | 10 grit("net_internals_resources") { |
| 9 source = "net_internals_resources.grd" | 11 source = "net_internals_resources.grd" |
| 10 defines = chrome_grit_defines | 12 defines = chrome_grit_defines |
| 11 outputs = [ | 13 outputs = [ |
| 12 "grit/net_internals_resources.h", | 14 "grit/net_internals_resources.h", |
| 13 "net_internals_resources.pak", | 15 "net_internals_resources.pak", |
| 14 ] | 16 ] |
| 15 output_dir = "$root_gen_dir/chrome" | 17 output_dir = "$root_gen_dir/chrome" |
| 16 } | 18 } |
| 17 | 19 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 grit("translate_internals_resources") { | 62 grit("translate_internals_resources") { |
| 61 source = "translate_internals_resources.grd" | 63 source = "translate_internals_resources.grd" |
| 62 defines = chrome_grit_defines | 64 defines = chrome_grit_defines |
| 63 outputs = [ | 65 outputs = [ |
| 64 "grit/translate_internals_resources.h", | 66 "grit/translate_internals_resources.h", |
| 65 "translate_internals_resources.pak", | 67 "translate_internals_resources.pak", |
| 66 ] | 68 ] |
| 67 output_dir = "$root_gen_dir/chrome" | 69 output_dir = "$root_gen_dir/chrome" |
| 68 } | 70 } |
| 69 | 71 |
| 70 if (!is_ios && !is_android) { | 72 if (!is_android) { |
| 71 grit("component_extension_resources") { | 73 grit("component_extension_resources") { |
| 72 source = "component_extension_resources.grd" | 74 source = "component_extension_resources.grd" |
| 73 defines = chrome_grit_defines | 75 defines = chrome_grit_defines |
| 74 if (enable_hangout_services_extension) { | 76 if (enable_hangout_services_extension) { |
| 75 defines += [ "enable_hangout_services_extension" ] | 77 defines += [ "enable_hangout_services_extension" ] |
| 76 } | 78 } |
| 77 | 79 |
| 78 outputs = [ | 80 outputs = [ |
| 79 "grit/component_extension_resources.h", | 81 "grit/component_extension_resources.h", |
| 80 "grit/component_extension_resources_map.cc", | 82 "grit/component_extension_resources_map.cc", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 source = "options_test_resources.grd" | 124 source = "options_test_resources.grd" |
| 123 defines = chrome_grit_defines | 125 defines = chrome_grit_defines |
| 124 outputs = [ | 126 outputs = [ |
| 125 "grit/options_test_resources.h", | 127 "grit/options_test_resources.h", |
| 126 "options_test_resources.pak", | 128 "options_test_resources.pak", |
| 127 ] | 129 ] |
| 128 output_dir = "$root_gen_dir/chrome" | 130 output_dir = "$root_gen_dir/chrome" |
| 129 } | 131 } |
| 130 } | 132 } |
| 131 | 133 |
| 132 if (!is_ios) { | 134 grit("quota_internals_resources") { |
| 133 grit("quota_internals_resources") { | 135 source = "quota_internals_resources.grd" |
| 134 source = "quota_internals_resources.grd" | 136 defines = chrome_grit_defines |
| 135 defines = chrome_grit_defines | 137 outputs = [ |
| 136 outputs = [ | 138 "grit/quota_internals_resources.h", |
| 137 "grit/quota_internals_resources.h", | 139 "quota_internals_resources.pak", |
| 138 "quota_internals_resources.pak", | 140 ] |
| 139 ] | 141 output_dir = "$root_gen_dir/chrome" |
| 140 output_dir = "$root_gen_dir/chrome" | 142 } |
| 141 } | |
| 142 | 143 |
| 143 grit("webapks_ui_resources") { | 144 grit("webapks_ui_resources") { |
| 144 source = "webapks_ui_resources.grd" | 145 source = "webapks_ui_resources.grd" |
| 145 defines = chrome_grit_defines | 146 defines = chrome_grit_defines |
| 146 outputs = [ | 147 outputs = [ |
| 147 "grit/webapks_ui_resources.h", | 148 "grit/webapks_ui_resources.h", |
| 148 "webapks_ui_resources.pak", | 149 "webapks_ui_resources.pak", |
| 149 ] | 150 ] |
| 150 output_dir = "$root_gen_dir/chrome" | 151 output_dir = "$root_gen_dir/chrome" |
| 151 } | |
| 152 } | 152 } |
| 153 | 153 |
| 154 if (enable_extensions) { | 154 if (enable_extensions) { |
| 155 grit("sync_file_system_internals_resources") { | 155 grit("sync_file_system_internals_resources") { |
| 156 source = "sync_file_system_internals_resources.grd" | 156 source = "sync_file_system_internals_resources.grd" |
| 157 defines = chrome_grit_defines | 157 defines = chrome_grit_defines |
| 158 outputs = [ | 158 outputs = [ |
| 159 "grit/sync_file_system_internals_resources.h", | 159 "grit/sync_file_system_internals_resources.h", |
| 160 "sync_file_system_internals_resources.pak", | 160 "sync_file_system_internals_resources.pak", |
| 161 ] | 161 ] |
| 162 output_dir = "$root_gen_dir/chrome" | 162 output_dir = "$root_gen_dir/chrome" |
| 163 } | 163 } |
| 164 } | 164 } |
| OLD | NEW |