Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | EXPORTS.harfbuzz += [ |
michael@0 | 8 | 'hb-blob.h', |
michael@0 | 9 | 'hb-buffer.h', |
michael@0 | 10 | 'hb-common.h', |
michael@0 | 11 | 'hb-deprecated.h', |
michael@0 | 12 | 'hb-face.h', |
michael@0 | 13 | 'hb-font.h', |
michael@0 | 14 | 'hb-ot-layout.h', |
michael@0 | 15 | 'hb-ot-shape.h', |
michael@0 | 16 | 'hb-ot-tag.h', |
michael@0 | 17 | 'hb-ot.h', |
michael@0 | 18 | 'hb-set.h', |
michael@0 | 19 | 'hb-shape-plan.h', |
michael@0 | 20 | 'hb-shape.h', |
michael@0 | 21 | 'hb-unicode.h', |
michael@0 | 22 | 'hb-version.h', |
michael@0 | 23 | 'hb.h', |
michael@0 | 24 | ] |
michael@0 | 25 | |
michael@0 | 26 | SOURCES += [ |
michael@0 | 27 | 'hb-blob.cc', # error: use of undeclared identifier 'snprintf' (FreeBSD) |
michael@0 | 28 | 'hb-common.cc', # error: use of undeclared identifier 'strdup' |
michael@0 | 29 | 'hb-ot-shape-complex-hangul.cc', # error: redefinition of enumerator 'NONE' |
michael@0 | 30 | 'hb-ot-shape-complex-indic.cc', # error: redefinition of enumerator 'INIT' |
michael@0 | 31 | 'hb-ot-shape-complex-sea.cc', # error: redefinition of 'basic_features' |
michael@0 | 32 | 'hb-ot-shape.cc', # error: functions that differ only in their return type cannot be overloaded |
michael@0 | 33 | 'hb-shape-plan.cc', # error: redefinition of 'hb_ot_shaper_face_data_ensure' |
michael@0 | 34 | ] |
michael@0 | 35 | |
michael@0 | 36 | UNIFIED_SOURCES += [ |
michael@0 | 37 | 'hb-buffer.cc', |
michael@0 | 38 | 'hb-face.cc', |
michael@0 | 39 | 'hb-fallback-shape.cc', |
michael@0 | 40 | 'hb-font.cc', |
michael@0 | 41 | 'hb-ot-layout.cc', |
michael@0 | 42 | 'hb-ot-map.cc', |
michael@0 | 43 | 'hb-ot-shape-complex-arabic.cc', |
michael@0 | 44 | 'hb-ot-shape-complex-default.cc', |
michael@0 | 45 | 'hb-ot-shape-complex-hebrew.cc', |
michael@0 | 46 | 'hb-ot-shape-complex-indic-table.cc', |
michael@0 | 47 | 'hb-ot-shape-complex-myanmar.cc', |
michael@0 | 48 | 'hb-ot-shape-complex-thai.cc', |
michael@0 | 49 | 'hb-ot-shape-complex-tibetan.cc', |
michael@0 | 50 | 'hb-ot-shape-fallback.cc', |
michael@0 | 51 | 'hb-ot-shape-normalize.cc', |
michael@0 | 52 | 'hb-ot-tag.cc', |
michael@0 | 53 | 'hb-set.cc', |
michael@0 | 54 | 'hb-shape.cc', |
michael@0 | 55 | 'hb-shaper.cc', |
michael@0 | 56 | 'hb-unicode.cc', |
michael@0 | 57 | 'hb-warning.cc', |
michael@0 | 58 | ] |
michael@0 | 59 | |
michael@0 | 60 | MSVC_ENABLE_PGO = True |
michael@0 | 61 | |
michael@0 | 62 | FINAL_LIBRARY = 'gkmedias' |
michael@0 | 63 | |
michael@0 | 64 | DEFINES['PACKAGE_VERSION'] = '"moz"' |
michael@0 | 65 | DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"' |
michael@0 | 66 | DEFINES['HAVE_OT'] = 1 |
michael@0 | 67 | DEFINES['HB_NO_MT'] = True |
michael@0 | 68 | DEFINES['HB_NO_UNICODE_FUNCS'] = True |