| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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 # This is the root build file for GN. GN will start processing by loading this | 5 # This is the root build file for GN. GN will start processing by loading this |
| 6 # file, and recursively load all dependencies until all dependencies are either | 6 # file, and recursively load all dependencies until all dependencies are either |
| 7 # resolved or known not to exist (which will cause the build to fail). So if | 7 # resolved or known not to exist (which will cause the build to fail). So if |
| 8 # you add a new build file, there must be some path of dependencies from this | 8 # you add a new build file, there must be some path of dependencies from this |
| 9 # file to your new one or GN won't know about it. | 9 # file to your new one or GN won't know about it. |
| 10 | 10 |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 "//services/ui/ws:tests", | 597 "//services/ui/ws:tests", |
| 598 "//ui/views/mus:views_mus_interactive_ui_tests", | 598 "//ui/views/mus:views_mus_interactive_ui_tests", |
| 599 "//ui/views/mus:views_mus_unittests", | 599 "//ui/views/mus:views_mus_unittests", |
| 600 ] | 600 ] |
| 601 | 601 |
| 602 # crbug.com/676055: media_service_unittests fails to link under Windows | 602 # crbug.com/676055: media_service_unittests fails to link under Windows |
| 603 # component builds, due to duplicate symbol definitions. | 603 # component builds, due to duplicate symbol definitions. |
| 604 if (is_win && is_component_build) { | 604 if (is_win && is_component_build) { |
| 605 deps -= [ "//media/mojo/services:media_service_unittests" ] | 605 deps -= [ "//media/mojo/services:media_service_unittests" ] |
| 606 } | 606 } |
| 607 | |
| 608 if (use_ozone && is_chromeos) { | |
| 609 deps += [ "//services/ui/display:display_service_unittests" ] | |
| 610 } | |
| 611 } | 607 } |
| 612 | 608 |
| 613 if (is_linux && !is_chromeos && !is_chromecast) { | 609 if (is_linux && !is_chromeos && !is_chromecast) { |
| 614 # TODO(GYP): Figure out if any of these should be in gn_all | 610 # TODO(GYP): Figure out if any of these should be in gn_all |
| 615 # and figure out how cross-platform they are | 611 # and figure out how cross-platform they are |
| 616 deps += [ | 612 deps += [ |
| 617 "//chrome/installer/util:strings", | 613 "//chrome/installer/util:strings", |
| 618 "//chrome/tools/convert_dict", | 614 "//chrome/tools/convert_dict", |
| 619 "//components/constrained_window:unit_tests", | 615 "//components/constrained_window:unit_tests", |
| 620 "//components/filesystem:filesystem_service_unittests", | 616 "//components/filesystem:filesystem_service_unittests", |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1063 assert(target_name != "") # Mark as used. | 1059 assert(target_name != "") # Mark as used. |
| 1064 sources = invoker.actual_sources | 1060 sources = invoker.actual_sources |
| 1065 assert( | 1061 assert( |
| 1066 sources == invoker.actual_sources, | 1062 sources == invoker.actual_sources, |
| 1067 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1063 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
| 1068 } | 1064 } |
| 1069 | 1065 |
| 1070 assert_valid_out_dir("_unused") { | 1066 assert_valid_out_dir("_unused") { |
| 1071 actual_sources = [ "$root_build_dir/foo" ] | 1067 actual_sources = [ "$root_build_dir/foo" ] |
| 1072 } | 1068 } |
| OLD | NEW |