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

Unified Diff: third_party/openh264/openh264_args.gypi

Issue 1446453004: Adding third_party/openh264 build files for encoding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use_openh264 = conditional on chrome branding again Created 5 years, 1 month 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
Index: third_party/openh264/openh264_args.gypi
diff --git a/third_party/openh264/openh264_args.gypi b/third_party/openh264/openh264_args.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..d15e9d941a797eccb70a1534f444c7f54b3be75b
--- /dev/null
+++ b/third_party/openh264/openh264_args.gypi
@@ -0,0 +1,20 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'conditions': [
+ # Enable this to build OpenH264.
+ # CHECK THE OPENH264 LICENSE BEFORE BUILDING. Chrome builds this by
+ # default, but non-Chrome builds need this to default to 0 due to license
+ # and patent reasons, see http://www.openh264.org/. In both cases the
+ # default value can be overwritten.
+ ['branding == "Chrome"', {
+ 'use_openh264%': 1,
+ }, {
+ 'use_openh264%': 0,
+ }],
+ ],
+ },
+}

Powered by Google App Engine
This is Rietveld 408576698