-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.include
71 lines (63 loc) · 1.4 KB
/
Makefile.include
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
public_source_dirs := \
animation \
app \
autogenerated \
cast \
codegen \
color \
config \
console \
control \
date \
debug \
dom \
ds \
element \
error \
fx \
graphics \
material \
math \
mvc \
ng \
object \
options \
resource \
sourcegen \
storage \
style \
themes \
ui \
worker
template_source_dir := templates
python = python
java = java -jar
closure_library = ../../library
closure_library_bin = $(closure_library)/closure/bin/build
depswriter = $(closure_library_bin)/depswriter.py
builder = $(closure_library_bin)/closurebuilder.py
soy_compiler = ../../templates/SoyToJsSrcCompiler.jar
soy_message_extractor = ../../templates/SoyMsgExtractor.jar
gss_compiler = ../../stylesheets/closure-stylesheets.jar
js_compiler = ../../compiler/compiler.jar
js_linter = ../../compiler/linter.jar
build_js_compiler_option = \
--charset=UTF-8 \
--closure_entry_point=$(ns) \
--define='goog.LOCALE="$(locale)"' \
--define='goog.DEBUG=$(debug)' \
--manage_closure_dependencies \
--process_closure_primitives \
--use_types_for_optimization \
--warning_level=VERBOSE
lint_cmd = $(java) $(js_linter)
public_deps_file := deps.js
private_deps_file := demodeps.js
lintfile = .linted
library_relative_path = ../../../
apps_dir = apps
this_dir = $(shell basename `pwd`)
sed_tokenizer = [^ ]*
sed_jsifier = &/*.js &/*/*.js
sed_unglob = 's+ [^ ]*\*[^ ]*++g'
sed_deps_subst = --root_with_prefix=&\\ $(library_relative_path)$(apps_dir)/$(this_dir)/&