| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 "web_widget_test_client.cc", | 100 "web_widget_test_client.cc", |
| 101 "web_widget_test_client.h", | 101 "web_widget_test_client.h", |
| 102 "web_widget_test_proxy.cc", | 102 "web_widget_test_proxy.cc", |
| 103 "web_widget_test_proxy.h", | 103 "web_widget_test_proxy.h", |
| 104 ] | 104 ] |
| 105 | 105 |
| 106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 107 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 107 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 108 | 108 |
| 109 deps = [ | 109 deps = [ |
| 110 ":resources", |
| 110 "//base:base", | 111 "//base:base", |
| 111 "//base:i18n", | 112 "//base:i18n", |
| 112 "//cc", | 113 "//cc", |
| 113 "//cc/blink", | 114 "//cc/blink", |
| 114 "//gin", | 115 "//gin", |
| 115 "//gpu", | 116 "//gpu", |
| 116 "//gpu/command_buffer/client:gles2_interface", | 117 "//gpu/command_buffer/client:gles2_interface", |
| 117 "//media/midi:mojo_cpp_sources", | 118 "//media/midi:mojo_cpp_sources", |
| 118 "//net", | 119 "//net", |
| 119 "//skia", | 120 "//skia", |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "resources/fonts/ChromiumAATTest.ttf", | 183 "resources/fonts/ChromiumAATTest.ttf", |
| 183 ] | 184 ] |
| 184 | 185 |
| 185 outputs = [ | 186 outputs = [ |
| 186 "{{bundle_resources_dir}}/{{source_file_part}}", | 187 "{{bundle_resources_dir}}/{{source_file_part}}", |
| 187 ] | 188 ] |
| 188 } | 189 } |
| 189 } | 190 } |
| 190 | 191 |
| 191 group("resources") { | 192 group("resources") { |
| 193 deps = [] |
| 192 data_deps = [] | 194 data_deps = [] |
| 193 | 195 |
| 194 if (is_mac) { | 196 if (is_mac) { |
| 197 deps += [ ":test_runner_bundle_data" ] |
| 195 data_deps += [ ":test_runner_bundle_data" ] | 198 data_deps += [ ":test_runner_bundle_data" ] |
| 196 } else { | 199 } else { |
| 200 deps += [ ":copy_ahem" ] |
| 197 data_deps += [ ":copy_ahem" ] | 201 data_deps += [ ":copy_ahem" ] |
| 198 } | 202 } |
| 199 | 203 |
| 200 if (use_x11) { | 204 if (use_x11) { |
| 205 deps += [ ":copy_x11_fonts" ] |
| 201 data_deps += [ ":copy_x11_fonts" ] | 206 data_deps += [ ":copy_x11_fonts" ] |
| 202 } | 207 } |
| 203 if (is_android) { | 208 if (is_android) { |
| 209 deps += [ ":copy_android_fonts" ] |
| 204 data_deps += [ ":copy_android_fonts" ] | 210 data_deps += [ ":copy_android_fonts" ] |
| 205 } | 211 } |
| 206 } | 212 } |
| 207 | 213 |
| 208 if (is_win) { | 214 if (is_win) { |
| 209 executable("layout_test_helper") { | 215 executable("layout_test_helper") { |
| 210 sources = [ | 216 sources = [ |
| 211 "helper/layout_test_helper_win.cc", | 217 "helper/layout_test_helper_win.cc", |
| 212 ] | 218 ] |
| 213 | 219 |
| 214 deps = [ | 220 deps = [ |
| 215 "//build/config/sanitizers:deps", | 221 "//build/config/sanitizers:deps", |
| 216 "//build/win:default_exe_manifest", | 222 "//build/win:default_exe_manifest", |
| 217 ] | 223 ] |
| 218 } | 224 } |
| 219 } | 225 } |
| OLD | NEW |