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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 "//third_party/codesighs:msmap2tsv", | 571 "//third_party/codesighs:msmap2tsv", |
572 "//third_party/pdfium/samples:pdfium_diff", | 572 "//third_party/pdfium/samples:pdfium_diff", |
573 ] | 573 ] |
574 deps -= [ | 574 deps -= [ |
575 "//crypto:crypto_unittests", # TODO(GYP) | 575 "//crypto:crypto_unittests", # TODO(GYP) |
576 "//net:net_unittests", # TODO(GYP) | 576 "//net:net_unittests", # TODO(GYP) |
577 ] | 577 ] |
578 } else if (!is_android && !is_ios) { | 578 } else if (!is_android && !is_ios) { |
579 deps += [ "//breakpad:symupload($host_toolchain)" ] | 579 deps += [ "//breakpad:symupload($host_toolchain)" ] |
580 } | 580 } |
| 581 |
581 if (is_chromecast) { | 582 if (is_chromecast) { |
582 deps += [ "//chromecast:cast_shell" ] | 583 deps += [ "//chromecast:cast_shell" ] |
583 } | 584 } |
584 | 585 |
585 if (is_mac) { # TODO(GYP) || is_ios | 586 if (is_mac) { # TODO(GYP) || is_ios |
586 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ] | 587 deps += [ "//media/cast:cast_h264_vt_encoder_unittests" ] |
587 } | 588 } |
588 | 589 |
| 590 if (is_mac || is_win) { |
| 591 deps += [ |
| 592 "//third_party/crashpad/crashpad/handler:crashpad_handler", |
| 593 "//third_party/crashpad/crashpad/tools:crashpad_database_util", |
| 594 ] |
| 595 } |
| 596 |
589 if (use_openh264) { | 597 if (use_openh264) { |
590 deps += [ | 598 deps += [ |
591 "//third_party/openh264:common", | 599 "//third_party/openh264:common", |
592 "//third_party/openh264:encoder", | 600 "//third_party/openh264:encoder", |
593 "//third_party/openh264:processing", | 601 "//third_party/openh264:processing", |
594 ] | 602 ] |
595 } | 603 } |
596 } | 604 } |
597 | 605 |
598 # This group contains all the targets needed to run mojo's apptest_runner. | 606 # This group contains all the targets needed to run mojo's apptest_runner. |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
928 assert(target_name != "") # Mark as used. | 936 assert(target_name != "") # Mark as used. |
929 sources = invoker.actual_sources | 937 sources = invoker.actual_sources |
930 assert( | 938 assert( |
931 sources == invoker.actual_sources, | 939 sources == invoker.actual_sources, |
932 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") | 940 "Do not use a platform name in your output directory (found \"$root_build_
dir\"). http://crbug.com/548283") |
933 } | 941 } |
934 | 942 |
935 assert_valid_out_dir("_unused") { | 943 assert_valid_out_dir("_unused") { |
936 actual_sources = [ "$root_build_dir/foo" ] | 944 actual_sources = [ "$root_build_dir/foo" ] |
937 } | 945 } |
OLD | NEW |