build/mobile/robocop/moz.build

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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.

     1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     2 # vim: set filetype=python:
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     7 DEFINES['ANDROID_PACKAGE_NAME'] = CONFIG['ANDROID_PACKAGE_NAME']
     9 main = add_android_eclipse_project('Robocop', OBJDIR + '/AndroidManifest.xml')
    10 main.package_name = 'org.mozilla.roboexample.test'
    11 main.res = SRCDIR + '/res'
    12 main.recursive_make_targets += [
    13     OBJDIR + '/AndroidManifest.xml',
    14     '../../../mobile/android/base/tests/TestConstants.java']
    15 main.extra_jars += [SRCDIR + '/robotium-solo-4.3.1.jar']
    16 main.assets = TOPSRCDIR + '/mobile/android/base/tests/assets'
    17 main.referenced_projects += ['Fennec']
    19 main.add_classpathentry('harness', SRCDIR,
    20     dstdir='harness/org/mozilla/gecko')
    21 main.add_classpathentry('src', TOPSRCDIR + '/mobile/android/base/tests',
    22     dstdir='src/org/mozilla/gecko/tests')
    23 main.add_classpathentry('generated', TOPOBJDIR + '/mobile/android/base/tests',
    24     dstdir='generated/org/mozilla/gecko/tests')

mercurial