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

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: Renamed datadeps to data_deps to reflect recent change. Created 5 years, 6 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 | « content/shell/android/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/test:pipeline_integration_tests", 559 "//media/test:pipeline_integration_tests",
560 "//skia", # Direct dependency required to inherit config. 560 "//skia", # Direct dependency required to inherit config.
561 "//testing/gmock", 561 "//testing/gmock",
562 "//testing/gtest", 562 "//testing/gtest",
563 "//third_party/widevine/cdm:version_h", 563 "//third_party/widevine/cdm:version_h",
564 "//ui/gfx:test_support", 564 "//ui/gfx:test_support",
565 "//url", 565 "//url",
566 ] 566 ]
567 567
568 if (is_android) { 568 if (is_android) {
569 isolate_file = "media_unittests.isolate"
569 deps += [ 570 deps += [
570 "//media/base/android", 571 "//media/base/android",
571 # TODO(GYP) 572 # TODO(GYP)
572 #"//testing/android/native_test:native_test_native_code" 573 #"//testing/android/native_test:native_test_native_code"
573 ] 574 ]
574 } 575 }
575 576
576 if (media_use_ffmpeg) { 577 if (media_use_ffmpeg) {
577 sources += [ 578 sources += [
578 "ffmpeg/ffmpeg_common_unittest.cc", 579 "ffmpeg/ffmpeg_common_unittest.cc",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 "//media/base:test_support", 652 "//media/base:test_support",
652 "//media/test:pipeline_integration_perftests", 653 "//media/test:pipeline_integration_perftests",
653 "//testing/gmock", 654 "//testing/gmock",
654 "//testing/gtest", 655 "//testing/gtest",
655 "//testing/perf", 656 "//testing/perf",
656 "//third_party/widevine/cdm:version_h", 657 "//third_party/widevine/cdm:version_h",
657 "//ui/gfx:test_support", 658 "//ui/gfx:test_support",
658 ] 659 ]
659 if (is_android) { 660 if (is_android) {
660 deps += [ "//ui/gl" ] 661 deps += [ "//ui/gl" ]
662 isolate_file = "media_perftests.isolate"
661 } 663 }
662 if (media_use_ffmpeg) { 664 if (media_use_ffmpeg) {
663 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config. 665 deps += [ "//third_party/ffmpeg" ] # Direct dependency required to inherit config.
664 } 666 }
665 } 667 }
666 668
667 # For running the subset of media_unittests that might require audio hardware 669 # For running the subset of media_unittests that might require audio hardware
668 # separately on GPU bots. media_unittests includes these too. 670 # separately on GPU bots. media_unittests includes these too.
669 test("audio_unittests") { 671 test("audio_unittests") {
670 sources = [ 672 sources = [
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 "//media/base:test_support", 738 "//media/base:test_support",
737 "//media/test:pipeline_integration_tests", 739 "//media/test:pipeline_integration_tests",
738 "//testing/gmock", 740 "//testing/gmock",
739 "//testing/gtest", 741 "//testing/gtest",
740 "//third_party/ffmpeg", 742 "//third_party/ffmpeg",
741 "//ui/gfx/geometry", 743 "//ui/gfx/geometry",
742 "//ui/gfx:test_support", 744 "//ui/gfx:test_support",
743 ] 745 ]
744 } 746 }
745 } 747 }
OLDNEW
« no previous file with comments | « content/shell/android/BUILD.gn ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698