Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # This file will be picked up by gyp to initialize some global settings. |
michael@0 | 2 | { |
michael@0 | 3 | 'variables': { |
michael@0 | 4 | # make sure we can override this with --include |
michael@0 | 5 | 'build_with_chromium%': 1, |
michael@0 | 6 | 'clang_use_chrome_plugins%': 0, |
michael@0 | 7 | 'enable_protobuf%': 1, |
michael@0 | 8 | 'enabled_libjingle_device_manager%': 1, |
michael@0 | 9 | 'include_internal_audio_device%': 1, |
michael@0 | 10 | 'include_internal_video_capture%': 1, |
michael@0 | 11 | 'include_internal_video_render%': 1, |
michael@0 | 12 | 'include_pulse_audio%': 1, |
michael@0 | 13 | 'use_openssl%': 1, |
michael@0 | 14 | }, |
michael@0 | 15 | 'target_defaults': { |
michael@0 | 16 | 'conditions': [ |
michael@0 | 17 | ['OS=="linux" and clang==1', { |
michael@0 | 18 | 'cflags': [ |
michael@0 | 19 | # Suppress the warning caused by |
michael@0 | 20 | # LateBindingSymbolTable::TableInfo from |
michael@0 | 21 | # latebindingsymboltable.cc.def. |
michael@0 | 22 | '-Wno-address-of-array-temporary', |
michael@0 | 23 | ], |
michael@0 | 24 | 'cflags_mozilla': [ |
michael@0 | 25 | '-Wno-address-of-array-temporary', |
michael@0 | 26 | ], |
michael@0 | 27 | }], |
michael@0 | 28 | ], |
michael@0 | 29 | }, # target_defaults |
michael@0 | 30 | } |