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

Unified Diff: content/content_browser.gypi

Issue 13431003: make it possible to disable libflac and libspeex in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_browser.gypi
diff --git a/content/content_browser.gypi b/content/content_browser.gypi
index ad13958d82c11348b1735140f4f91b9c0f5e0792..bdd666dd0fc41ff50ea4b1a0214d85adbf8c2bfd 100644
--- a/content/content_browser.gypi
+++ b/content/content_browser.gypi
@@ -3,6 +3,9 @@
# found in the LICENSE file.
{
+ 'enable_libflac%': 1,
+ 'enable_libspeex%': 1,
+
'dependencies': [
'browser/speech/proto/speech_proto.gyp:speech_proto',
'../base/base.gyp:base_static',
@@ -1177,9 +1180,16 @@
'browser/tracing/tracing_ui.cc',
'browser/tracing/tracing_ui.h',
],
- }, { # OS!="android"
+ 'enable_libflac%': 0,
Paweł Hajdan Jr. 2013/04/03 23:53:10 This does not look like valid gyp code for me (it'
+ 'enable_libspeex%': 0,
+ }],
+ ['enable_libflac==1', {
Paweł Hajdan Jr. 2013/04/03 23:53:10 This won't work correctly either - I don't see any
'dependencies': [
'../third_party/flac/flac.gyp:libflac',
+ ],
+ }],
+ ['enable_libspeex==1', {
+ 'dependencies': [
'../third_party/speex/speex.gyp:libspeex',
],
}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698