Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 4 | |
michael@0 | 5 | ifdef MOZ_ANGLE_RENDERER |
michael@0 | 6 | |
michael@0 | 7 | libs:: |
michael@0 | 8 | ifdef MOZ_D3DCOMPILER_DLL_PATH |
michael@0 | 9 | cp -fp "$(MOZ_D3DCOMPILER_DLL_PATH)" "$(DIST)/bin" |
michael@0 | 10 | else |
michael@0 | 11 | ifdef MOZ_D3DCOMPILER_CAB |
michael@0 | 12 | expand '$(MOZ_D3DCOMPILER_CAB)' -F:$(MOZ_D3DCOMPILER_DLL) '$(DIST)/bin' |
michael@0 | 13 | endif |
michael@0 | 14 | endif |
michael@0 | 15 | |
michael@0 | 16 | endif |
michael@0 | 17 | |
michael@0 | 18 | include $(topsrcdir)/config/rules.mk |
michael@0 | 19 | |
michael@0 | 20 | # We have to filter out -pedantic, because of |
michael@0 | 21 | # comma-at-end-of-enumerator list failures. We can try to get this fixed |
michael@0 | 22 | # upstream at some point. |
michael@0 | 23 | CXXFLAGS := $(filter-out -pedantic,$(CXXFLAGS)) |
michael@0 | 24 | CFLAGS := $(filter-out -pedantic,$(CFLAGS)) |