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

Side by Side Diff: BUILD.gn

Issue 1812263004: Convert leveldb_apptests to unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to ToT Created 4 years, 9 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
« no previous file with comments | « no previous file | components/leveldb/BUILD.gn » ('j') | testing/buildbot/chromium.linux.json » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 } 581 }
582 582
583 # This group contains all the targets needed to run mojo's apptest_runner. 583 # This group contains all the targets needed to run mojo's apptest_runner.
584 group("mojo_apptests") { 584 group("mojo_apptests") {
585 testonly = true 585 testonly = true
586 586
587 deps = [] 587 deps = []
588 588
589 if (is_win || is_linux) { 589 if (is_win || is_linux) {
590 deps += [ 590 deps += [
591 "//components/leveldb:apptests",
592 "//components/resource_provider:apptests", 591 "//components/resource_provider:apptests",
593 "//components/resource_provider:resource_provider_unittests", 592 "//components/resource_provider:resource_provider_unittests",
594 "//mash/wm:tests", 593 "//mash/wm:tests",
595 "//media/mojo/services:tests", 594 "//media/mojo/services:tests",
596 "//ui/views/mus:tests", 595 "//ui/views/mus:tests",
597 ] 596 ]
598 } 597 }
599 } 598 }
600 599
601 group("gn_only") { 600 group("gn_only") {
(...skipping 29 matching lines...) Expand all
631 if (is_linux && !is_chromeos && !is_chromecast) { 630 if (is_linux && !is_chromeos && !is_chromecast) {
632 # TODO(GYP): Figure out if any of these should be in gn_all 631 # TODO(GYP): Figure out if any of these should be in gn_all
633 # and figure out how cross-platform they are 632 # and figure out how cross-platform they are
634 deps += [ 633 deps += [
635 ":gn_mojo_targets", 634 ":gn_mojo_targets",
636 "//chrome/browser/resources:extension_resource_demo", 635 "//chrome/browser/resources:extension_resource_demo",
637 "//chrome/installer/util:strings", 636 "//chrome/installer/util:strings",
638 "//chrome/tools/convert_dict", 637 "//chrome/tools/convert_dict",
639 "//components/constrained_window:unit_tests", 638 "//components/constrained_window:unit_tests",
640 "//components/filesystem:unittests", 639 "//components/filesystem:unittests",
640 "//components/leveldb:unittests",
641 "//components/metrics:serialization", 641 "//components/metrics:serialization",
642 "//components/password_manager/content/renderer:browser_tests", 642 "//components/password_manager/content/renderer:browser_tests",
643 "//components/rappor:unit_tests", 643 "//components/rappor:unit_tests",
644 "//components/sessions:unit_tests", 644 "//components/sessions:unit_tests",
645 "//media/blink:media_blink_unittests", 645 "//media/blink:media_blink_unittests",
646 "//media/cast:udp_proxy", 646 "//media/cast:udp_proxy",
647 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest", 647 "//native_client/src/trusted/debug_stub:gdb_rsp_unittest",
648 "//storage/browser:dump_file_system", 648 "//storage/browser:dump_file_system",
649 "//testing/libfuzzer/fuzzers", 649 "//testing/libfuzzer/fuzzers",
650 "//testing/libfuzzer/tests:libfuzzer_tests", 650 "//testing/libfuzzer/tests:libfuzzer_tests",
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 assert(target_name != "") # Mark as used. 897 assert(target_name != "") # Mark as used.
898 sources = invoker.actual_sources 898 sources = invoker.actual_sources
899 assert( 899 assert(
900 sources == invoker.actual_sources, 900 sources == invoker.actual_sources,
901 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283") 901 "Do not use a platform name in your output directory (found \"$root_build_ dir\"). http://crbug.com/548283")
902 } 902 }
903 903
904 assert_valid_out_dir("_unused") { 904 assert_valid_out_dir("_unused") {
905 actual_sources = [ "$root_build_dir/foo" ] 905 actual_sources = [ "$root_build_dir/foo" ]
906 } 906 }
OLDNEW
« no previous file with comments | « no previous file | components/leveldb/BUILD.gn » ('j') | testing/buildbot/chromium.linux.json » ('J')

Powered by Google App Engine
This is Rietveld 408576698