Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: ash/BUILD.gn

Issue 552983004: Pull buildtools to get GN 295140 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 gypi_values = exec_script( 8 gypi_values = exec_script(
9 "//build/gypi_to_gn.py", 9 "//build/gypi_to_gn.py",
10 [ rebase_path("ash.gyp") ], 10 [ rebase_path("ash.gyp") ],
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 if (!is_chromeos) { 284 if (!is_chromeos) {
285 sources -= [ 285 sources -= [
286 # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906 286 # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
287 "focus_cycler_unittest.cc", 287 "focus_cycler_unittest.cc",
288 # All tests for multiple displays: not supported on Windows Ash. 288 # All tests for multiple displays: not supported on Windows Ash.
289 "wm/drag_window_resizer_unittest.cc", 289 "wm/drag_window_resizer_unittest.cc",
290 # Can't resize on Windows Ash. http://crbug.com/165962 290 # Can't resize on Windows Ash. http://crbug.com/165962
291 "magnifier/magnification_controller_unittest.cc", 291 "magnifier/magnification_controller_unittest.cc",
292 "wm/workspace/workspace_window_resizer_unittest.cc", 292 "wm/workspace/workspace_window_resizer_unittest.cc",
293 "sticky_keys/sticky_keys_overlay_unittest.cc", 293 "sticky_keys/sticky_keys_overlay_unittest.cc",
294 "sticky_keys/sticky_keys_unittest.cc",
295 "system/tray/media_security/multi_profile_media_tray_item_unittest.cc", 294 "system/tray/media_security/multi_profile_media_tray_item_unittest.cc",
296 "autoclick/autoclick_unittest.cc", 295 "autoclick/autoclick_unittest.cc",
297 ] 296 ]
298 sources += [ 297 sources += [
299 #'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', TODO (GYP) 298 #'<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.rc', TODO (GYP)
300 ] 299 ]
301 } 300 }
302 301
303 if (is_win) { 302 if (is_win) {
304 cflags = [ "/wd4267" ] 303 cflags = [ "/wd4267" ]
305 } 304 }
306 305
307 if (!use_x11) { 306 if (!use_x11) {
308 sources -= [ 307 sources -= [
309 "accelerators/magnifier_key_scroller_unittest.cc", 308 "accelerators/magnifier_key_scroller_unittest.cc",
310 "accelerators/spoken_feedback_toggler_unittest.cc", 309 "accelerators/spoken_feedback_toggler_unittest.cc",
311 "touch/touch_transformer_controller_unittest.cc",
312 ] 310 ]
313 } 311 }
314 if (is_chromeos) { 312 if (is_chromeos) {
315 sources += [ "first_run/first_run_helper_unittest.cc" ] 313 sources += [ "first_run/first_run_helper_unittest.cc" ]
316 deps += [ 314 deps += [
317 "//device/bluetooth", 315 "//device/bluetooth",
318 "//ui/display", 316 "//ui/display",
319 "//ui/display:test_util", 317 "//ui/display:test_util",
320 "//ui/display/types", 318 "//ui/display/types",
321 #'../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', TODO(GYP ) 319 #'../chromeos/chromeos.gyp:chromeos_test_support_without_gmock', TODO(GYP )
322 #'../chromeos/chromeos.gyp:power_manager_proto', TODO(GYP) 320 #'../chromeos/chromeos.gyp:power_manager_proto', TODO(GYP)
323 ] 321 ]
324 } else { 322 } else {
325 sources -= [ 323 sources -= [
326 "display/resolution_notification_controller_unittest.cc", 324 "display/resolution_notification_controller_unittest.cc",
327 "touch/touch_transformer_controller_unittest.cc",
328 "touch/touchscreen_util_unittest.cc", 325 "touch/touchscreen_util_unittest.cc",
329 ] 326 ]
330 } 327 }
331 328
329 if (!use_x11 || !is_chromeos) {
330 sources -= [ "touch/touch_transformer_controller_unittest.cc", ]
331 }
332
332 # TODO(GYP) is this necessary? 333 # TODO(GYP) is this necessary?
333 #['OS=="linux" and component=="shared_library" and use_allocator!="none"', { 334 #['OS=="linux" and component=="shared_library" and use_allocator!="none"', {
334 # ldflags = "-rdynamic" 335 # ldflags = "-rdynamic"
335 336
336 if (use_ozone) { 337 if (!is_chromeos || use_ozone) {
337 sources -= [ 338 sources -= [
338 "sticky_keys/sticky_keys_unittest.cc", # crbug.com/354035 339 "sticky_keys/sticky_keys_unittest.cc", # crbug.com/354035
339 ] 340 ]
340 } 341 }
341 } 342 }
342 343
343 executable("ash_shell") { 344 executable("ash_shell") {
344 testonly = true 345 testonly = true
345 sources = [ 346 sources = [
346 "shell/shell_main.cc", 347 "shell/shell_main.cc",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 "//content/test:test_support", 381 "//content/test:test_support",
381 "//skia", 382 "//skia",
382 "//testing/gtest", 383 "//testing/gtest",
383 "//ui/accessibility", 384 "//ui/accessibility",
384 ] 385 ]
385 386
386 if (is_chromeos) { 387 if (is_chromeos) {
387 deps += [ "//ui/display" ] 388 deps += [ "//ui/display" ]
388 } 389 }
389 } 390 }
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/chrome_repack_locales.gni » ('j') | ui/base/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698