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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 } | 277 } |
278 } | 278 } |
279 | 279 |
280 if (is_linux) { # TODO(GYP): || is_android || is_bsd? | 280 if (is_linux) { # TODO(GYP): || is_android || is_bsd? |
281 deps += [ | 281 deps += [ |
282 "//breakpad:core-2-minidump", | 282 "//breakpad:core-2-minidump", |
283 "//breakpad:minidump-2-core", | 283 "//breakpad:minidump-2-core", |
284 ] | 284 ] |
285 } | 285 } |
286 | 286 |
| 287 if (is_chromeos) { |
| 288 deps += [ |
| 289 "//chromeos:chromeos_unittests", |
| 290 "//ui/chromeos:ui_chromeos_unittests", |
| 291 ] |
| 292 } |
| 293 |
287 if (is_chromeos || is_mac || is_win) { | 294 if (is_chromeos || is_mac || is_win) { |
288 deps += [ | 295 deps += [ |
289 "//rlz:rlz_id", | 296 "//rlz:rlz_id", |
290 "//rlz:rlz_lib", | 297 "//rlz:rlz_lib", |
291 "//rlz:rlz_unittests", | 298 "//rlz:rlz_unittests", |
292 ] | 299 ] |
293 } | 300 } |
294 | 301 |
295 if (is_linux) { | 302 if (is_linux) { |
296 # The following are definitely linux-only. | 303 # The following are definitely linux-only. |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 "//sandbox/win:sbox_validation_tests", | 547 "//sandbox/win:sbox_validation_tests", |
541 "//testing/gtest:gtest_main", | 548 "//testing/gtest:gtest_main", |
542 "//third_party/codesighs:msmap2tsv", | 549 "//third_party/codesighs:msmap2tsv", |
543 "//third_party/pdfium/samples:pdfium_diff", | 550 "//third_party/pdfium/samples:pdfium_diff", |
544 "//ui/metro_viewer", | 551 "//ui/metro_viewer", |
545 ] | 552 ] |
546 deps -= [ | 553 deps -= [ |
547 "//crypto:crypto_unittests", # TODO(GYP) | 554 "//crypto:crypto_unittests", # TODO(GYP) |
548 "//net:net_unittests", # TODO(GYP) | 555 "//net:net_unittests", # TODO(GYP) |
549 ] | 556 ] |
550 } else { | 557 } else if (!is_android) { |
551 if (!is_android) { | 558 deps += [ "//breakpad:symupload" ] |
552 # TODO(GYP): Make this work on android also. | |
553 deps += [ "//breakpad:symupload" ] | |
554 } | |
555 } | 559 } |
556 } | 560 } |
557 | 561 |
558 group("gn_only") { | 562 group("gn_only") { |
559 testonly = true | 563 testonly = true |
560 | 564 |
561 deps = [] | 565 deps = [] |
562 | 566 |
563 if (!is_android && !is_ios) { | 567 if (!is_android && !is_ios) { |
564 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] | 568 deps += [ "//components/proximity_auth:proximity_auth_unittests" ] |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 | 778 |
775 # Note: | 779 # Note: |
776 # (*) Fails but failures match GYP build at time of testing. | 780 # (*) Fails but failures match GYP build at time of testing. |
777 ] | 781 ] |
778 | 782 |
779 if (enable_nacl) { | 783 if (enable_nacl) { |
780 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 | 784 deps += [ "//components/nacl:nacl_loader_unittests" ] # PASSES 3/28/2015 |
781 } | 785 } |
782 } | 786 } |
783 } | 787 } |
OLD | NEW |