File tree Expand file tree Collapse file tree 5 files changed +5
-25
lines changed
configurations/auto_configured_builds Expand file tree Collapse file tree 5 files changed +5
-25
lines changed Original file line number Diff line number Diff line change 11# A project file that automatically sets build flags for all targets in the
22# project and warns if the user sets any other flags.
3- load(
4- "@bazel_tools//src/main/protobuf/project:project_proto.scl",
5- "buildable_unit_pb2",
6- "project_pb2",
7- )
3+ load("//:project_proto.scl", "buildable_unit_pb2", "project_pb2")
84
95project = project_pb2.Project.create(
106 # "WARN" means bazel emits a warning if the user sets flags to different
Original file line number Diff line number Diff line change 55# For example:
66# --compilation_mode=dbg conflicts with --compilation_mode=opt
77# --compilation_mode=dbg does not conflict with --//some:unrelated_flag=1
8- load(
9- "@bazel_tools//src/main/protobuf/project:project_proto.scl",
10- "buildable_unit_pb2",
11- "project_pb2",
12- )
8+ load("//:project_proto.scl", "buildable_unit_pb2", "project_pb2")
139
1410project = project_pb2.Project.create(
1511 # "COMPATIBLE" means bazel errors if the user sets flags that conflict with
Original file line number Diff line number Diff line change 44# form.
55#
66# See the "compatible" example for a more permissive variant.
7- load(
8- "@bazel_tools//src/main/protobuf/project:project_proto.scl",
9- "buildable_unit_pb2",
10- "project_pb2",
11- )
7+ load("//:project_proto.scl", "buildable_unit_pb2", "project_pb2")
128
139project = project_pb2.Project.create(
1410 # "STRICT" means bazel errors if the user sets any flags that aren't
Original file line number Diff line number Diff line change 11# A project file that automatically sets build flags where diferent targets use
22# different flags.
3- load(
4- "@bazel_tools//src/main/protobuf/project:project_proto.scl",
5- "buildable_unit_pb2",
6- "project_pb2",
7- )
3+ load("//:project_proto.scl", "buildable_unit_pb2", "project_pb2")
84
95project = project_pb2.Project.create(
106 buildable_units = [
Original file line number Diff line number Diff line change 11# A project file that automatically sets build flags for all targets in the
22# project and warns if the user sets any other flags.
3- load(
4- "@bazel_tools//src/main/protobuf/project:project_proto.scl",
5- "buildable_unit_pb2",
6- "project_pb2",
7- )
3+ load("//:project_proto.scl", "buildable_unit_pb2", "project_pb2")
84
95project = project_pb2.Project.create(
106 # "WARN" means bazel emits a warning if the user sets flags to different
You can’t perform that action at this time.
0 commit comments