browser/themes/windows/Makefile.in

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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/.
     5 ICON_FILES := icon.png
     6 ICON_DEST = $(FINAL_TARGET)/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
     7 INSTALL_TARGETS += ICON
     9 # By default, the pre-processor used for jar.mn will use "%" as a marker for ".css" files and "#"
    10 # otherwise. This falls apart when a file using one marker needs to include a file with the other
    11 # marker since the pre-processor instructions in the included file will not be processed. The
    12 # following SVG files need to include a file which uses "%" as the marker so we invoke the pre-
    13 # processor ourselves here with the marker specified. The resulting SVG files will get packaged by
    14 # the processing of the jar file in this directory.
    15 tab-selected-svg: $(srcdir)/../shared/tab-selected.svg
    16 	$(call py_action,preprocessor, \
    17 	  --marker % -D TAB_SIDE=start \
    18 	  $(ACDEFINES) \
    19 	  $(srcdir)/../shared/tab-selected.svg -o tab-selected-start.svg)
    20 	$(call py_action,preprocessor, \
    21 	  --marker % -D TAB_SIDE=end \
    22 	  $(ACDEFINES) \
    23 	  $(srcdir)/../shared/tab-selected.svg -o tab-selected-end.svg)
    24 # Same as above for aero.
    25 	$(call py_action,preprocessor, \
    26 	  --marker % -D TAB_SIDE=start -D WINDOWS_AERO \
    27 	  $(ACDEFINES) \
    28 	  $(srcdir)/../shared/tab-selected.svg -o tab-selected-start-aero.svg)
    29 	$(call py_action,preprocessor, \
    30 	  --marker % -D TAB_SIDE=end -D WINDOWS_AERO \
    31 	  $(ACDEFINES) \
    32 	  $(srcdir)/../shared/tab-selected.svg -o tab-selected-end-aero.svg)
    34 .PHONY: tab-selected-svg
    36 export:: tab-selected-svg

mercurial