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

Side by Side Diff: media/base/android/BUILD.gn

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 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 | « media/base/BUILD.gn ('k') | mojo/embedder/BUILD.gn » ('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/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
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
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 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | mojo/embedder/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698