OLD | NEW |
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/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 import("//build/config/arm.gni") | 7 import("//build/config/arm.gni") |
8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 "webaudio_media_codec_info.h", | 45 "webaudio_media_codec_info.h", |
46 ] | 46 ] |
47 configs += [ "//media:media_config" ] | 47 configs += [ "//media:media_config" ] |
48 deps = [ | 48 deps = [ |
49 ":media_jni_headers", | 49 ":media_jni_headers", |
50 "//third_party/widevine/cdm:version_h", | 50 "//third_party/widevine/cdm:version_h", |
51 ] | 51 ] |
52 } | 52 } |
53 | 53 |
54 source_set("unittests") { | 54 source_set("unittests") { |
| 55 testonly = true |
55 sources = [ | 56 sources = [ |
56 "media_codec_bridge_unittest.cc", | 57 "media_codec_bridge_unittest.cc", |
57 "media_drm_bridge_unittest.cc", | 58 "media_drm_bridge_unittest.cc", |
58 "media_source_player_unittest.cc", | 59 "media_source_player_unittest.cc", |
59 ] | 60 ] |
60 deps = [ | 61 deps = [ |
61 ":android", | 62 ":android", |
62 "//media/base:test_support", | 63 "//media/base:test_support", |
63 "//testing/gmock", | 64 "//testing/gmock", |
64 "//testing/gtest", | 65 "//testing/gtest", |
(...skipping 17 matching lines...) Expand all Loading... |
82 jni_package = "media" | 83 jni_package = "media" |
83 } | 84 } |
84 | 85 |
85 generate_jni("video_capture_jni_headers") { | 86 generate_jni("video_capture_jni_headers") { |
86 sources = [ | 87 sources = [ |
87 "java/src/org/chromium/media/VideoCapture.java", | 88 "java/src/org/chromium/media/VideoCapture.java", |
88 "java/src/org/chromium/media/VideoCaptureFactory.java", | 89 "java/src/org/chromium/media/VideoCaptureFactory.java", |
89 ] | 90 ] |
90 jni_package = "media" | 91 jni_package = "media" |
91 } | 92 } |
OLD | NEW |