| 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 grit("net_internals_resources") { | 8 grit("net_internals_resources") { |
| 9 source = "net_internals_resources.grd" | 9 source = "net_internals_resources.grd" |
| 10 use_qualified_include = true | 10 use_qualified_include = true |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 "$root_out_dir/resources/extension/demo/library.js", | 81 "$root_out_dir/resources/extension/demo/library.js", |
| 82 ] | 82 ] |
| 83 } | 83 } |
| 84 | 84 |
| 85 if (!is_ios) { | 85 if (!is_ios) { |
| 86 grit("component_extension_resources") { | 86 grit("component_extension_resources") { |
| 87 source = "component_extension_resources.grd" | 87 source = "component_extension_resources.grd" |
| 88 | 88 |
| 89 # TODO(thestig): use_qualified_include = true | 89 # TODO(thestig): use_qualified_include = true |
| 90 defines = chrome_grit_defines | 90 defines = chrome_grit_defines |
| 91 if (enable_hangout_services_extension) { |
| 92 defines += [ "enable_hangout_services_extension" ] |
| 93 } |
| 94 |
| 91 outputs = [ | 95 outputs = [ |
| 92 "grit/component_extension_resources.h", | 96 "grit/component_extension_resources.h", |
| 93 "grit/component_extension_resources_map.cc", | 97 "grit/component_extension_resources_map.cc", |
| 94 "grit/component_extension_resources_map.h", | 98 "grit/component_extension_resources_map.h", |
| 95 "component_extension_resources.pak", | 99 "component_extension_resources.pak", |
| 96 ] | 100 ] |
| 97 output_dir = "$root_gen_dir/chrome" | 101 output_dir = "$root_gen_dir/chrome" |
| 98 } | 102 } |
| 99 | 103 |
| 100 grit("settings_resources") { | 104 grit("settings_resources") { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 source = "sync_file_system_internals_resources.grd" | 152 source = "sync_file_system_internals_resources.grd" |
| 149 use_qualified_include = true | 153 use_qualified_include = true |
| 150 defines = chrome_grit_defines | 154 defines = chrome_grit_defines |
| 151 outputs = [ | 155 outputs = [ |
| 152 "grit/sync_file_system_internals_resources.h", | 156 "grit/sync_file_system_internals_resources.h", |
| 153 "sync_file_system_internals_resources.pak", | 157 "sync_file_system_internals_resources.pak", |
| 154 ] | 158 ] |
| 155 output_dir = "$root_gen_dir/chrome" | 159 output_dir = "$root_gen_dir/chrome" |
| 156 } | 160 } |
| 157 } | 161 } |
| OLD | NEW |