tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

moz.build (896B)


      1 # -*- Mode: python; 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/.
      6 
      7 # Note: build rlz in its own moz.build, so it doesn't pickup any of
      8 # Chromium IPC's headers used in the moz.build of the parent file.
      9 
     10 FINAL_LIBRARY = 'xul'
     11 
     12 if CONFIG['TARGET_OS'] in ['WINNT', 'OSX']:
     13     UNIFIED_SOURCES += [
     14         'lib/crc8.cc',
     15         'lib/machine_id.cc',
     16         'lib/string_utils.cc',
     17     ]
     18 
     19 if CONFIG['TARGET_OS'] == 'WINNT':
     20     UNIFIED_SOURCES += [
     21         'win/lib/machine_id_win.cc',
     22     ]
     23 
     24 if CONFIG['TARGET_OS'] == 'OSX':
     25     UNIFIED_SOURCES += [
     26         'mac/lib/machine_id_mac.cc',
     27     ]
     28     OS_LIBS += [
     29         '-framework IOKit',
     30     ]
     31 
     32 LOCAL_INCLUDES += [
     33     '..',
     34 ]