| 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
| 7 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 visibility = [ ":*" ] | 151 visibility = [ ":*" ] |
| 152 sources = [ | 152 sources = [ |
| 153 "resources/fonts/android_fallback_fonts.xml", | 153 "resources/fonts/android_fallback_fonts.xml", |
| 154 "resources/fonts/android_main_fonts.xml", | 154 "resources/fonts/android_main_fonts.xml", |
| 155 ] | 155 ] |
| 156 outputs = [ | 156 outputs = [ |
| 157 "$root_out_dir/{{source_file_part}}", | 157 "$root_out_dir/{{source_file_part}}", |
| 158 ] | 158 ] |
| 159 } | 159 } |
| 160 } | 160 } |
| 161 if (is_mac) { |
| 162 bundle_data("test_runner_bundle_data") { |
| 163 sources = [ |
| 164 "resources/fonts/AHEM____.TTF", |
| 165 "resources/fonts/ChromiumAATTest.ttf", |
| 166 ] |
| 167 |
| 168 outputs = [ |
| 169 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 170 ] |
| 171 } |
| 172 } |
| 161 | 173 |
| 162 group("resources") { | 174 group("resources") { |
| 163 deps = [] | 175 deps = [] |
| 164 | 176 |
| 165 if (is_mac) { | 177 if (is_mac) { |
| 166 # TODO(GYP) Mac bundle resources. | 178 deps += [ ":test_runner_bundle_data" ] |
| 167 #'all_dependent_settings': { | |
| 168 # 'mac_bundle_resources': [ | |
| 169 # 'resources/fonts/AHEM____.TTF', | |
| 170 # 'resources/fonts/ChromiumAATTest.ttf', | |
| 171 # '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png', | |
| 172 # '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png', | |
| 173 # ], | |
| 174 #}, | |
| 175 } else { | 179 } else { |
| 176 deps += [ ":copy_ahem" ] | 180 deps += [ ":copy_ahem" ] |
| 177 } | 181 } |
| 178 | 182 |
| 179 if (use_x11) { | 183 if (use_x11) { |
| 180 deps += [ ":copy_x11_fonts" ] | 184 deps += [ ":copy_x11_fonts" ] |
| 181 } | 185 } |
| 182 if (is_android) { | 186 if (is_android) { |
| 183 deps += [ ":copy_android_fonts" ] | 187 deps += [ ":copy_android_fonts" ] |
| 184 } | 188 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 195 if (is_mac) { | 199 if (is_mac) { |
| 196 libs = [ "AppKit.framework" ] | 200 libs = [ "AppKit.framework" ] |
| 197 } | 201 } |
| 198 | 202 |
| 199 deps = [ | 203 deps = [ |
| 200 "//build/config/sanitizers:deps", | 204 "//build/config/sanitizers:deps", |
| 201 "//build/win:default_exe_manifest", | 205 "//build/win:default_exe_manifest", |
| 202 ] | 206 ] |
| 203 } | 207 } |
| 204 } | 208 } |
| OLD | NEW |