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

Side by Side Diff: Source/build/features.gypi

Issue 358923002: Move ENABLE_MEDIA_CAPTURE to a runtime flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | « no previous file | Source/config.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved. 2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 'variables': { 43 'variables': {
44 # Enables the Oilpan garbage-collection infrastructure. 44 # Enables the Oilpan garbage-collection infrastructure.
45 'enable_oilpan%': 0, 45 'enable_oilpan%': 0,
46 'gc_tracing%': 0 46 'gc_tracing%': 0
47 }, 47 },
48 'conditions': [ 48 'conditions': [
49 ['use_concatenated_impulse_responses==1', { 49 ['use_concatenated_impulse_responses==1', {
50 # Use concatenated HRTF impulse responses 50 # Use concatenated HRTF impulse responses
51 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'], 51 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'],
52 }], 52 }],
53 ['OS=="android"', { 53 ['OS!="android"', {
54 'feature_defines': [
55 'ENABLE_MEDIA_CAPTURE=1'
56 ],
57 }, { # OS!="android"
58 'feature_defines': [ 54 'feature_defines': [
59 'ENABLE_INPUT_MULTIPLE_FIELDS_UI=1', 55 'ENABLE_INPUT_MULTIPLE_FIELDS_UI=1',
60 'ENABLE_MEDIA_CAPTURE=0',
61 'ENABLE_WEB_AUDIO=1' 56 'ENABLE_WEB_AUDIO=1'
62 ], 57 ],
63 }], 58 }],
64 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg. 59 # Mac OS X uses Accelerate.framework FFT by default instead of FFmpeg.
65 ['OS!="mac" and OS!="android"', { 60 ['OS!="mac" and OS!="android"', {
66 'feature_defines': [ 61 'feature_defines': [
67 'WTF_USE_WEBAUDIO_FFMPEG=1', 62 'WTF_USE_WEBAUDIO_FFMPEG=1',
68 ], 63 ],
69 }], 64 }],
70 ['OS=="android" and use_openmax_dl_fft!=0', { 65 ['OS=="android" and use_openmax_dl_fft!=0', {
(...skipping 21 matching lines...) Expand all
92 ], 87 ],
93 }], 88 }],
94 ['gc_tracing==1', { 89 ['gc_tracing==1', {
95 'feature_defines': [ 90 'feature_defines': [
96 'ENABLE_GC_TRACING=1', 91 'ENABLE_GC_TRACING=1',
97 ], 92 ],
98 }], 93 }],
99 ], 94 ],
100 }, 95 },
101 } 96 }
OLDNEW
« no previous file with comments | « no previous file | Source/config.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698