File tree 7 files changed +20
-14
lines changed
src/main/java/com/google/devtools/build
7 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 9
9
path: /reference/be/make-variables
10
10
- title: Functions
11
11
path: /reference/be/functions
12
- - title: Language-specific rules
12
+ - title: Core rules
13
+ section:
14
+ #foreach ($ruleFamily in $genericRuleFamilies)
15
+ #if ($ruleFamily.size() > 0)
16
+ - title: ${ruleFamily.name}
17
+ path: /reference/be/${ruleFamily.id}
18
+ #end
19
+ #end
20
+ - title: Language Specific rules
13
21
section:
14
22
#foreach ($ruleFamily in $langSpecificRuleFamilies)
15
23
#if ($ruleFamily.size() > 0)
53
61
- title: Scala
54
62
path: https://github.com/bazelbuild/rules_scala
55
63
status: external
56
- - title: Language-agnostic rules
57
- section:
58
- #foreach ($ruleFamily in $genericRuleFamilies)
59
- #if ($ruleFamily.size() > 0)
60
- - title: ${ruleFamily.name}
61
- path: /reference/be/${ruleFamily.id}
62
- #end
63
- #end
Original file line number Diff line number Diff line change 19
19
20
20
${ruleFamily.summary}
21
21
22
+ <h2>Context</h2>
23
+ This set of rules exist to help model specific hardware platforms you are
24
+ building for and the tools you may use to compile code for those platforms.
25
+ The user should be familiar with the concepts explained
26
+ <a href="//extending/platforms">here</a>.
27
+
22
28
#if (!$singlePage)
23
29
<h2>Rules</h2>
24
30
<ul>
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ public Metadata getMetadata() {
71
71
}
72
72
}
73
73
}
74
- /*<!-- #BLAZE_RULE (NAME = toolchain_type, FAMILY = Platform )[GENERIC_RULE] -->
74
+ /*<!-- #BLAZE_RULE (NAME = toolchain_type, FAMILY = Platforms and Toolchains )[GENERIC_RULE] -->
75
75
76
76
<p>
77
77
This rule defines a new type of toolchain -- a simple target that represents a class of tools that
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public RuleDefinition.Metadata getMetadata() {
77
77
.build ();
78
78
}
79
79
}
80
- /*<!-- #BLAZE_RULE (NAME = constraint_setting, FAMILY = Platform )[GENERIC_RULE] -->
80
+ /*<!-- #BLAZE_RULE (NAME = constraint_setting, FAMILY = Platforms and Toolchains )[GENERIC_RULE] -->
81
81
82
82
<p>This rule is used to introduce a new constraint type for which a platform may specify a value.
83
83
For instance, you might define a <code>constraint_setting</code> named "glibc_version" to represent
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public Metadata getMetadata() {
75
75
.build ();
76
76
}
77
77
}
78
- /*<!-- #BLAZE_RULE (NAME = constraint_value, FAMILY = Platform )[GENERIC_RULE] -->
78
+ /*<!-- #BLAZE_RULE (NAME = constraint_value, FAMILY = Platforms and Toolchains )[GENERIC_RULE] -->
79
79
80
80
This rule introduces a new value for a given constraint type.
81
81
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ public Metadata getMetadata() {
135
135
.build ();
136
136
}
137
137
}
138
- /*<!-- #BLAZE_RULE (NAME = platform, FAMILY = Platform )[GENERIC_RULE] -->
138
+ /*<!-- #BLAZE_RULE (NAME = platform, FAMILY = Platforms and Toolchains )[GENERIC_RULE] -->
139
139
140
140
<p>This rule defines a new platform -- a named collection of constraint choices
141
141
(such as cpu architecture or compiler version) describing an environment in
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public RuleDefinition.Metadata getMetadata() {
107
107
.build ();
108
108
}
109
109
}
110
- /*<!-- #BLAZE_RULE (NAME = toolchain, FAMILY = Platform )[GENERIC_RULE] -->
110
+ /*<!-- #BLAZE_RULE (NAME = toolchain, FAMILY = Platforms and Toolchains )[GENERIC_RULE] -->
111
111
112
112
<p>This rule declares a specific toolchain's type and constraints so that it can be selected
113
113
during toolchain resolution. See the
You can’t perform that action at this time.
0 commit comments