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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 import("//tools/grit/repack.gni") | 6 import("//tools/grit/repack.gni") |
7 | 7 |
8 # GYP version: ui/resources/ui_resources.gyp:ui_resources | 8 # GYP version: ui/resources/ui_resources.gyp:ui_resources |
9 group("resources") { | 9 group("resources") { |
10 deps = [ | 10 deps = [ |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 # Depend on ui_test_pak instead of this one. | 90 # Depend on ui_test_pak instead of this one. |
91 visibility = [ ":ui_test_pak" ] | 91 visibility = [ ":ui_test_pak" ] |
92 | 92 |
93 sources = [ | 93 sources = [ |
94 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 94 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
95 "$root_gen_dir/ui/resources/webui_resources.pak", | 95 "$root_gen_dir/ui/resources/webui_resources.pak", |
96 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 96 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
97 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 97 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
98 ] | 98 ] |
99 | 99 |
100 if (is_chromeos) { | 100 if (use_cros_fe) { |
101 sources += [ | 101 sources += [ |
102 "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_100_percent.pak
", | 102 "$root_gen_dir/ui/chromeos/resources/ui_chromeos_resources_100_percent.pak
", |
103 "$root_gen_dir/ui/chromeos/strings/ui_chromeos_strings_en-US.pak", | 103 "$root_gen_dir/ui/chromeos/strings/ui_chromeos_strings_en-US.pak", |
104 ] | 104 ] |
105 } | 105 } |
106 | 106 |
107 output = "$root_out_dir/ui_test.pak" | 107 output = "$root_out_dir/ui_test.pak" |
108 | 108 |
109 deps = [ | 109 deps = [ |
110 "//ui/resources", | 110 "//ui/resources", |
111 "//ui/strings", | 111 "//ui/strings", |
112 ] | 112 ] |
113 | 113 |
114 if (!is_ios) { | 114 if (!is_ios) { |
115 deps += [ "//third_party/WebKit/public:resources_grit" ] | 115 deps += [ "//third_party/WebKit/public:resources_grit" ] |
116 } | 116 } |
117 | 117 |
118 if (!is_mac) { | 118 if (!is_mac) { |
119 deps += [ ":copy_ui_resources_100_percent" ] | 119 deps += [ ":copy_ui_resources_100_percent" ] |
120 } | 120 } |
121 | 121 |
122 if (is_chromeos) { | 122 if (use_cros_fe) { |
123 deps += [ | 123 deps += [ |
124 "//ui/chromeos/resources", | 124 "//ui/chromeos/resources", |
125 "//ui/chromeos/strings", | 125 "//ui/chromeos/strings", |
126 ] | 126 ] |
127 } | 127 } |
128 | 128 |
129 if (toolkit_views) { | 129 if (toolkit_views) { |
130 deps += [ "//ui/views/resources" ] | 130 deps += [ "//ui/views/resources" ] |
131 sources += [ | 131 sources += [ |
132 "$root_gen_dir/blink/public/resources/blink_resources.pak", | 132 "$root_gen_dir/blink/public/resources/blink_resources.pak", |
(...skipping 16 matching lines...) Expand all Loading... |
149 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 149 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
150 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 150 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
151 ] | 151 ] |
152 | 152 |
153 output = "$root_out_dir/ui/en.lproj/locale.pak" | 153 output = "$root_out_dir/ui/en.lproj/locale.pak" |
154 | 154 |
155 deps = [ | 155 deps = [ |
156 "//ui/strings", | 156 "//ui/strings", |
157 ] | 157 ] |
158 } | 158 } |
OLD | NEW |