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

Side by Side Diff: media/BUILD.gn

Issue 1120883002: [Android] Generate scripts at build time to run android tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/linux/pkg_config.gni") 8 import("//build/config/linux/pkg_config.gni")
9 import("//build/config/ui.gni") 9 import("//build/config/ui.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 "//media/base:test_support", 559 "//media/base:test_support",
560 "//media/test:pipeline_integration_tests", 560 "//media/test:pipeline_integration_tests",
561 "//skia", # Direct dependency required to inherit config. 561 "//skia", # Direct dependency required to inherit config.
562 "//testing/gmock", 562 "//testing/gmock",
563 "//testing/gtest", 563 "//testing/gtest",
564 "//third_party/widevine/cdm:version_h", 564 "//third_party/widevine/cdm:version_h",
565 "//ui/gfx:test_support", 565 "//ui/gfx:test_support",
566 "//url", 566 "//url",
567 ] 567 ]
568 568
569 isolate_file = "media_unittests.isolate"
570
569 if (is_android) { 571 if (is_android) {
570 deps += [ 572 deps += [
571 "//media/base/android", 573 "//media/base/android",
572 # TODO(GYP) 574 # TODO(GYP)
573 #"//testing/android/native_test:native_test_native_code" 575 #"//testing/android/native_test:native_test_native_code"
574 ] 576 ]
575 } 577 }
576 578
577 if (media_use_ffmpeg) { 579 if (media_use_ffmpeg) {
578 sources += [ 580 sources += [
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 "//media/base:test_support", 653 "//media/base:test_support",
652 "//media/test:pipeline_integration_perftests", 654 "//media/test:pipeline_integration_perftests",
653 "//testing/gmock", 655 "//testing/gmock",
654 "//testing/gtest", 656 "//testing/gtest",
655 "//testing/perf", 657 "//testing/perf",
656 "//third_party/widevine/cdm:version_h", 658 "//third_party/widevine/cdm:version_h",
657 "//ui/gfx:test_support", 659 "//ui/gfx:test_support",
658 ] 660 ]
659 if (is_android) { 661 if (is_android) {
660 deps += [ "//ui/gl" ] 662 deps += [ "//ui/gl" ]
663 isolate_file = "media_perftests.isolate"
661 } 664 }
662 if (media_use_ffmpeg) { 665 if (media_use_ffmpeg) {
663 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config. 666 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config.
664 } 667 }
665 } 668 }
666 669
667 # For running the subset of media_unittests that might require audio hardware 670 # For running the subset of media_unittests that might require audio hardware
668 # separately on GPU bots. media_unittests includes these too. 671 # separately on GPU bots. media_unittests includes these too.
669 test("audio_unittests") { 672 test("audio_unittests") {
670 sources = [ 673 sources = [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 "//media/base:test_support", 739 "//media/base:test_support",
737 "//media/test:pipeline_integration_tests", 740 "//media/test:pipeline_integration_tests",
738 "//testing/gmock", 741 "//testing/gmock",
739 "//testing/gtest", 742 "//testing/gtest",
740 "//third_party/ffmpeg", 743 "//third_party/ffmpeg",
741 "//ui/gfx/geometry", 744 "//ui/gfx/geometry",
742 "//ui/gfx:test_support", 745 "//ui/gfx:test_support",
743 ] 746 ]
744 } 747 }
745 } 748 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698