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

Unified Diff: webrtc/media/BUILD.gn

Issue 2228733004: Skip unit test if GYP_DEFINES="rtc_use_h264=1" is not set. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: add #define to gyp and gn Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/BUILD.gn
diff --git a/webrtc/media/BUILD.gn b/webrtc/media/BUILD.gn
index 9689cd2f1233a394bbdec38e32382220f5bb9f89..8f5a8c7405b0cdd8b8fa8daa47018bfe5ab0a4c7 100644
--- a/webrtc/media/BUILD.gn
+++ b/webrtc/media/BUILD.gn
@@ -288,6 +288,7 @@ if (rtc_include_tests) {
test("rtc_media_unittests") {
testonly = true
+ defines = []
deps = []
sources = [
"base/codec_unittest.cc",
@@ -319,6 +320,9 @@ if (rtc_include_tests) {
]
public_configs = [ "..:common_inherited_config" ]
+ if (rtc_use_h264) {
+ defines += [ "WEBRTC_USE_H264" ]
+ }
if (is_win) {
cflags = [
"/wd4245", # conversion from int to size_t, signed/unsigned mismatch.
« no previous file with comments | « no previous file | webrtc/media/engine/webrtcvideoengine2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698