tor-browser

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

Makefile.in (1271B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 webidl_base := $(topsrcdir)/dom/webidl
      6 
      7 ifdef COMPILE_ENVIRONMENT
      8 
      9 # Generated by moz.build
     10 include webidlsrcs.mk
     11 
     12 # These come from webidlsrcs.mk.
     13 # TODO Write directly into backend.mk (bug 1281618)
     14 CPPSRCS += $(globalgen_sources) $(unified_binding_cpp_files)
     15 
     16 include $(topsrcdir)/config/rules.mk
     17 
     18 # Most of the logic for dependencies lives inside Python so it can be
     19 # used by multiple build backends. We simply have rules to generate
     20 # and include the .pp file.
     21 #
     22 # The generated .pp file contains all the important dependencies such as
     23 # changes to .webidl or .py files should result in code generation being
     24 # performed. But we do pull in file-lists.jon to catch file additions.
     25 codegen_dependencies := \
     26  file-lists.json \
     27  $(nonstatic_webidl_files) \
     28  $(GLOBAL_DEPS) \
     29  $(NULL)
     30 
     31 export:: webidl.stub
     32 
     33 # codegen.pp is created as a side-effect of the webidl action
     34 -include codegen.pp
     35 
     36 webidl.stub: $(codegen_dependencies)
     37 $(call py_action,webidl $(relativesrcdir),$(srcdir))
     38 @$(TOUCH) $@
     39 
     40 .PHONY: compiletests
     41 compiletests:
     42 $(call SUBMAKE,libs,test)
     43 
     44 endif