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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 653 |
654 if (is_mac) { | 654 if (is_mac) { |
655 deps += [ | 655 deps += [ |
656 "//breakpad:crash_inspector", | 656 "//breakpad:crash_inspector", |
657 "//breakpad:dump_syms", | 657 "//breakpad:dump_syms", |
658 | 658 |
659 # XPC service is in developement and guarded against the | 659 # XPC service is in developement and guarded against the |
660 # enable_xpc_notifications, in the meantime however we still | 660 # enable_xpc_notifications, in the meantime however we still |
661 # need compile coverage in the bots. | 661 # need compile coverage in the bots. |
662 "//chrome/browser/ui/cocoa/notifications:alert_notification_xpc_service", | 662 "//chrome/browser/ui/cocoa/notifications:alert_notification_xpc_service", |
663 "//third_party/apple_sample_code", | |
664 "//third_party/molokocacao", | 663 "//third_party/molokocacao", |
665 ] | 664 ] |
666 deps -= [ | 665 deps -= [ |
667 # Mojo in GN contains some things which are never compiled in GYP on Mac, | 666 # Mojo in GN contains some things which are never compiled in GYP on Mac, |
668 # so compilation fails on Mac. They need porting. | 667 # so compilation fails on Mac. They need porting. |
669 "//mojo", | 668 "//mojo", |
670 ] | 669 ] |
671 } | 670 } |
672 | 671 |
673 if (is_win) { | 672 if (is_win) { |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 assert(target_name != "") # Mark as used. | 1092 assert(target_name != "") # Mark as used. |
1094 sources = invoker.actual_sources | 1093 sources = invoker.actual_sources |
1095 assert( | 1094 assert( |
1096 sources == invoker.actual_sources, | 1095 sources == invoker.actual_sources, |
1097 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 1096 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
1098 } | 1097 } |
1099 | 1098 |
1100 assert_valid_out_dir("_unused") { | 1099 assert_valid_out_dir("_unused") { |
1101 actual_sources = [ "$root_build_dir/foo" ] | 1100 actual_sources = [ "$root_build_dir/foo" ] |
1102 } | 1101 } |
OLD | NEW |