├── .gitattributes ├── .gitignore ├── CcToolchainConfigInfo ├── BUILD ├── WORKSPACE ├── explore_cc_toolchain.bzl ├── library.cpp ├── library.h └── main.cpp ├── PyInfoProvider ├── .bazelrc ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE ├── a │ └── sub │ │ └── package │ │ ├── BUILD │ │ └── example_module │ │ └── __init__.py ├── app.py ├── app_test.py ├── gen_py_lib.bzl └── inspect_native_pyinfo.bzl ├── README.md ├── alot_of_files ├── .gitignore ├── BUILD ├── BUILD.template ├── README.md ├── WORKSPACE ├── create_files.zsh ├── source_file.cpp.template └── source_file.h.template ├── aspects ├── .bazelrc ├── .bazelversion ├── .clang-tidy ├── BUILD ├── README.md ├── WORKSPACE ├── legacy_cc_provider.bzl ├── main │ ├── BUILD │ └── main.cpp ├── module1 │ ├── BUILD │ ├── source1.cpp │ └── source1.hpp ├── module2 │ ├── BUILD │ ├── source2.cpp │ └── source2.hpp ├── module3 │ ├── BUILD │ ├── source3.cpp │ └── source3.hpp ├── module4 │ ├── BUILD │ ├── source4.cpp │ └── source4.hpp ├── module5 │ ├── BUILD │ ├── source5.cpp │ └── source5.hpp ├── module_with_strip_includes │ ├── BUILD │ ├── include_dir │ │ └── source6.hpp │ └── source6.cpp ├── static_analysis │ ├── BUILD │ ├── clang_tidy.bzl │ └── command_wrapper.sh └── third_party │ ├── BUILD │ ├── BUILD.clang │ └── dependencies.bzl ├── bazel_cquery_tag_filter ├── .gitignore ├── BUILD ├── README.md ├── WORKSPACE ├── bisect.bat ├── output.txt ├── package_a │ └── BUILD ├── package_b │ └── BUILD ├── reproduce ├── run_tests └── run_tests.bat ├── bazelversion ├── .bazeliskrc ├── .bazelversion ├── BUILD ├── README.md └── WORKSPACE ├── cascaded_workspaces ├── BUILD ├── WORKSPACE ├── module │ ├── BUILD │ └── hello-world.cc ├── other_lib │ ├── BUILD │ ├── src.cpp │ └── src.h ├── other_module │ ├── BUILD │ └── src.cpp └── sub_workspace │ ├── BUILD │ ├── WORKSPACE │ ├── include │ └── hello-greet.h │ ├── src │ └── hello-greet.cc │ └── sub_sub │ └── module │ ├── BUILD │ └── hello-world.cc ├── cc_proto ├── BUILD ├── README.md ├── WORKSPACE ├── a_binary │ ├── BUILD │ └── main.cpp ├── a_library │ ├── BUILD │ ├── lib.cpp │ └── lib.h ├── action_graph_0_24_1 ├── action_graph_0_25_0s └── some │ └── sub │ └── package │ └── path │ └── proto_pkg │ ├── BUILD │ └── proto_msg.proto ├── cc_sandwich_playground ├── BUILD ├── README.md ├── WORKSPACE ├── cc_api_rules.bzl ├── generator_and_builder.bzl ├── lib.cpp └── main.cpp ├── config_test ├── .bazelrc ├── BUILD ├── README.md ├── WORKSPACE └── sources │ ├── BUILD │ ├── include │ └── main.h │ ├── src │ ├── main_0.c │ ├── main_1.c │ └── main_2.c │ └── test │ └── main_test.cpp ├── configuration ├── BUILD ├── WORKSPACE └── myapp │ ├── BUILD │ ├── calcite.sh │ ├── feldspar.sh │ └── pyroxene.sh ├── crosstool ├── BUILD ├── WORKSPACE ├── main │ ├── BUILD │ └── helloworld.cc ├── third-party │ ├── emscripten-clang.BUILD │ └── emscripten-toolchain.BUILD └── toolchain │ ├── .gitattributes │ ├── BUILD │ ├── CROSSTOOL │ ├── emcc.sh │ └── emscripten_cache │ ├── binaryen_tag_version_38.txt │ ├── dlmalloc.bc │ ├── gl.bc │ ├── libc.bc │ ├── libcxxabi.bc │ └── wasm-libc.bc ├── dynamic_static_linking ├── BUILD ├── WORKSPACE ├── library.cpp ├── library.h └── main.cpp ├── environments ├── .bazelrc ├── BUILD ├── README.md ├── WORKSPACE ├── action_environment.bzl └── environment_spy.sh ├── error_masking_with_includes ├── README.md ├── WORKSPACE ├── includes_and_strip_prefix │ ├── BUILD │ ├── include │ │ └── lib │ │ │ └── library_includes.h │ └── src │ │ └── library_includes.cpp ├── only_includes │ ├── BUILD │ ├── include │ │ └── lib │ │ │ └── library_includes.h │ └── src │ │ └── library_includes.cpp └── only_strip_prefix │ ├── BUILD │ ├── include │ └── lib │ │ └── library_includes.h │ └── src │ └── library_includes.cpp ├── find_all_tests ├── BUILD ├── README.md ├── WORKSPACE ├── l1 │ ├── BUILD │ ├── library1.cpp │ ├── library1.h │ └── test.cpp ├── l2 │ ├── BUILD │ ├── library2.cpp │ ├── library2.h │ ├── test.cpp │ └── tests │ │ ├── BUILD │ │ └── test.cpp ├── l3 │ ├── BUILD │ ├── library3.cpp │ ├── library3.h │ └── test.cpp └── main.cpp ├── generate_arbitrary_number_of_files ├── BUILD ├── WORKSPACE ├── genccs.bzl ├── py_binary │ ├── BUILD │ └── py_gen.py └── src │ └── main.cc ├── generated_sources ├── BUILD ├── WORKSPACE ├── generated │ └── BUILD ├── rule.bzl └── source.c ├── genrule ├── BUILD ├── WORKSPACE ├── generator.py └── out.cpp ├── genrule_outs ├── .bazelrc ├── .bazelversion ├── BUILD ├── WORKSPACE ├── custom_rule.bzl └── foo.cpp ├── implicit_outputs ├── BUILD ├── WORKSPACE └── implicit_outputs.bzl ├── include_handling ├── WORKSPACE ├── library_includer │ ├── BUILD │ ├── include │ │ └── lib │ │ │ └── library_includer.h │ └── src │ │ └── library_includer.cpp ├── no_public_headers │ ├── BUILD │ └── src │ │ ├── implementation.cpp │ │ └── implementation.h ├── private_headers │ ├── BUILD │ ├── include │ │ └── lib │ │ │ └── library_private.h │ └── src │ │ ├── library_private.cpp │ │ ├── private_header.cpp │ │ ├── private_header.h │ │ └── sub │ │ ├── sub.cpp │ │ └── sub.h ├── strip_prefix_library │ ├── BUILD │ ├── include │ │ └── lib │ │ │ └── library_prefix.h │ └── src │ │ └── library_prefix.cpp └── using_includes │ ├── BUILD │ ├── include │ └── lib │ │ └── library_includes.h │ └── src │ └── library_includes.cpp ├── packaging ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE ├── generate_files.bzl └── my_library │ ├── BUILD │ ├── include │ └── my_library │ │ └── library.h │ └── src │ └── library.cpp ├── py_runtime ├── .bazelrc ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE ├── a_dependency_library.py └── show_python_version.py ├── python-tutorial ├── WORKSPACE ├── py_binary │ ├── BUILD │ └── py_binary_a.py └── py_library │ ├── BUILD │ └── lib_module.py ├── python_with_cxx ├── BUILD ├── WORKSPACE ├── a_python_library.py ├── a_python_main.py ├── cpp_code.cpp └── cpp_code.h ├── repository_rules ├── .bazelversion ├── BUILD ├── WORKSPACE ├── deb.bzl └── depend_on_tinyxml.cpp ├── run_action ├── .bazelversion ├── BUILD ├── WORKSPACE └── rule.bzl ├── run_with_files ├── .bazelrc ├── BUILD ├── BUILD.ext_file ├── WORKSPACE ├── binary.py ├── ext_file │ └── ext_file ├── generated │ └── BUILD ├── input │ ├── BUILD │ └── file └── workspace_name_var.bzl ├── runfiles ├── .bazelrc ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE ├── app.py └── runfile.bzl ├── runfiles_mapper ├── BUILD ├── WORKSPACE ├── runfile.txt └── runfiles_mapper.bzl ├── sh_binary_args ├── BUILD ├── WORKSPACE ├── other_script.bash └── shell_binary.bash ├── standalone_so ├── .bazelversion ├── .gitignore ├── BUILD ├── WORKSPACE ├── content.cpp ├── content.h └── so_headers.bzl ├── test_rules ├── BUILD ├── WORKSPACE ├── another_important_py_lib │ ├── BUILD │ └── py_lib.py ├── launchfile.test ├── py_runner.py ├── schema_a.scm ├── schema_b.scm ├── sh_runner.sh ├── some_important_py_lib │ ├── BUILD │ └── py_lib.py └── test_rule.bzl ├── toolchain_testing_playground ├── .bazelrc ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE ├── action_configs.bzl ├── cpp_tests │ ├── BUILD │ ├── define_test.cpp │ ├── include_test.cpp │ ├── lib.cpp │ ├── main.cpp │ ├── other.cpp │ └── sub_package │ │ ├── BUILD │ │ └── include │ │ └── header.h ├── gcc_config.bzl └── third_party │ ├── BUILD │ ├── BUILD.gcc │ ├── libc6dev_files.bzl │ ├── libgcc8_dev.bzl │ ├── libstdcpp8_files.bzl │ └── linuxlibcdev_files.bzl ├── toolchains_generic ├── .bazelrc ├── BUILD ├── README.md ├── WORKSPACE ├── local_tool │ ├── BUILD │ ├── WORKSPACE │ └── tool.cpp ├── tool_rule.bzl └── toolchain_config.bzl ├── transition_user_defined_build_settings ├── BUILD ├── WORKSPACE ├── ice_cream_machine.bzl ├── select_flavor.bzl ├── setting.bzl └── tools │ └── whitelists │ └── function_transition_whitelist │ └── BUILD ├── transitions ├── .bazelrc ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE ├── binary.bzl ├── cc_api_rules.bzl ├── cc_transition │ ├── BUILD │ ├── code.c │ ├── code.h │ ├── main.c │ ├── test.cpp │ └── transition_rule.bzl ├── code.c ├── consumer.bzl ├── include │ └── header.h ├── main.c ├── output_dir_names │ ├── BUILD │ ├── cc_api_rules.bzl │ ├── code.c │ ├── code.h │ ├── main.c │ ├── main │ │ ├── BUILD │ │ └── main.c │ ├── run.bat │ ├── test.cpp │ └── transition_rule.bzl ├── tools │ └── whitelists │ │ └── function_transition_whitelist │ │ └── BUILD └── with_a_generator │ ├── BUILD │ ├── generator.bzl │ └── generator.sh ├── use_java_fragments ├── .bazelrc ├── .bazelversion ├── BUILD ├── README.md ├── WORKSPACE └── rule_with_java.bzl ├── variable_output_with_user_configs ├── .bazelversion ├── BUILD ├── WORKSPACE └── custom_rule.bzl └── workspace_status ├── .bazelrc ├── .bazelversion ├── BUILD ├── WORKSPACE ├── status └── workspace_status.sh └── version.bzl /.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/.gitignore -------------------------------------------------------------------------------- /CcToolchainConfigInfo/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/CcToolchainConfigInfo/BUILD -------------------------------------------------------------------------------- /CcToolchainConfigInfo/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CcToolchainConfigInfo/explore_cc_toolchain.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/CcToolchainConfigInfo/explore_cc_toolchain.bzl -------------------------------------------------------------------------------- /CcToolchainConfigInfo/library.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/CcToolchainConfigInfo/library.cpp -------------------------------------------------------------------------------- /CcToolchainConfigInfo/library.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/CcToolchainConfigInfo/library.h -------------------------------------------------------------------------------- /CcToolchainConfigInfo/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/CcToolchainConfigInfo/main.cpp -------------------------------------------------------------------------------- /PyInfoProvider/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/.bazelrc -------------------------------------------------------------------------------- /PyInfoProvider/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.25.2 2 | -------------------------------------------------------------------------------- /PyInfoProvider/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/BUILD -------------------------------------------------------------------------------- /PyInfoProvider/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/README.md -------------------------------------------------------------------------------- /PyInfoProvider/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /PyInfoProvider/a/sub/package/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/a/sub/package/BUILD -------------------------------------------------------------------------------- /PyInfoProvider/a/sub/package/example_module/__init__.py: -------------------------------------------------------------------------------- 1 | CONSTANT_IN_LIB = 84 2 | -------------------------------------------------------------------------------- /PyInfoProvider/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/app.py -------------------------------------------------------------------------------- /PyInfoProvider/app_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/app_test.py -------------------------------------------------------------------------------- /PyInfoProvider/gen_py_lib.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/gen_py_lib.bzl -------------------------------------------------------------------------------- /PyInfoProvider/inspect_native_pyinfo.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/PyInfoProvider/inspect_native_pyinfo.bzl -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # bazel-learning -------------------------------------------------------------------------------- /alot_of_files/.gitignore: -------------------------------------------------------------------------------- 1 | target_* 2 | -------------------------------------------------------------------------------- /alot_of_files/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alot_of_files/BUILD.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/alot_of_files/BUILD.template -------------------------------------------------------------------------------- /alot_of_files/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/alot_of_files/README.md -------------------------------------------------------------------------------- /alot_of_files/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /alot_of_files/create_files.zsh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/alot_of_files/create_files.zsh -------------------------------------------------------------------------------- /alot_of_files/source_file.cpp.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/alot_of_files/source_file.cpp.template -------------------------------------------------------------------------------- /alot_of_files/source_file.h.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/alot_of_files/source_file.h.template -------------------------------------------------------------------------------- /aspects/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/.bazelrc -------------------------------------------------------------------------------- /aspects/.bazelversion: -------------------------------------------------------------------------------- 1 | 1.0.0 2 | -------------------------------------------------------------------------------- /aspects/.clang-tidy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/.clang-tidy -------------------------------------------------------------------------------- /aspects/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/BUILD -------------------------------------------------------------------------------- /aspects/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/README.md -------------------------------------------------------------------------------- /aspects/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/WORKSPACE -------------------------------------------------------------------------------- /aspects/legacy_cc_provider.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/legacy_cc_provider.bzl -------------------------------------------------------------------------------- /aspects/main/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/main/BUILD -------------------------------------------------------------------------------- /aspects/main/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/main/main.cpp -------------------------------------------------------------------------------- /aspects/module1/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module1/BUILD -------------------------------------------------------------------------------- /aspects/module1/source1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module1/source1.cpp -------------------------------------------------------------------------------- /aspects/module1/source1.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module1/source1.hpp -------------------------------------------------------------------------------- /aspects/module2/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module2/BUILD -------------------------------------------------------------------------------- /aspects/module2/source2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module2/source2.cpp -------------------------------------------------------------------------------- /aspects/module2/source2.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module2/source2.hpp -------------------------------------------------------------------------------- /aspects/module3/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module3/BUILD -------------------------------------------------------------------------------- /aspects/module3/source3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module3/source3.cpp -------------------------------------------------------------------------------- /aspects/module3/source3.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module3/source3.hpp -------------------------------------------------------------------------------- /aspects/module4/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module4/BUILD -------------------------------------------------------------------------------- /aspects/module4/source4.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module4/source4.cpp -------------------------------------------------------------------------------- /aspects/module4/source4.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module4/source4.hpp -------------------------------------------------------------------------------- /aspects/module5/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module5/BUILD -------------------------------------------------------------------------------- /aspects/module5/source5.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module5/source5.cpp -------------------------------------------------------------------------------- /aspects/module5/source5.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module5/source5.hpp -------------------------------------------------------------------------------- /aspects/module_with_strip_includes/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module_with_strip_includes/BUILD -------------------------------------------------------------------------------- /aspects/module_with_strip_includes/include_dir/source6.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module_with_strip_includes/include_dir/source6.hpp -------------------------------------------------------------------------------- /aspects/module_with_strip_includes/source6.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/module_with_strip_includes/source6.cpp -------------------------------------------------------------------------------- /aspects/static_analysis/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/static_analysis/BUILD -------------------------------------------------------------------------------- /aspects/static_analysis/clang_tidy.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/static_analysis/clang_tidy.bzl -------------------------------------------------------------------------------- /aspects/static_analysis/command_wrapper.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/static_analysis/command_wrapper.sh -------------------------------------------------------------------------------- /aspects/third_party/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /aspects/third_party/BUILD.clang: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/third_party/BUILD.clang -------------------------------------------------------------------------------- /aspects/third_party/dependencies.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/aspects/third_party/dependencies.bzl -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/.gitignore -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/README.md -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/bisect.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/bisect.bat -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/output.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/output.txt -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/package_a/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/package_a/BUILD -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/package_b/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/package_b/BUILD -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/reproduce: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/reproduce -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/run_tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/run_tests -------------------------------------------------------------------------------- /bazel_cquery_tag_filter/run_tests.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazel_cquery_tag_filter/run_tests.bat -------------------------------------------------------------------------------- /bazelversion/.bazeliskrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazelversion/.bazeliskrc -------------------------------------------------------------------------------- /bazelversion/.bazelversion: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bazelversion/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bazelversion/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/bazelversion/README.md -------------------------------------------------------------------------------- /bazelversion/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cascaded_workspaces/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cascaded_workspaces/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/WORKSPACE -------------------------------------------------------------------------------- /cascaded_workspaces/module/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/module/BUILD -------------------------------------------------------------------------------- /cascaded_workspaces/module/hello-world.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/module/hello-world.cc -------------------------------------------------------------------------------- /cascaded_workspaces/other_lib/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/other_lib/BUILD -------------------------------------------------------------------------------- /cascaded_workspaces/other_lib/src.cpp: -------------------------------------------------------------------------------- 1 | #include "src.h" 2 | Src::Src() {} 3 | -------------------------------------------------------------------------------- /cascaded_workspaces/other_lib/src.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/other_lib/src.h -------------------------------------------------------------------------------- /cascaded_workspaces/other_module/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/other_module/BUILD -------------------------------------------------------------------------------- /cascaded_workspaces/other_module/src.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/other_module/src.cpp -------------------------------------------------------------------------------- /cascaded_workspaces/sub_workspace/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/sub_workspace/BUILD -------------------------------------------------------------------------------- /cascaded_workspaces/sub_workspace/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/sub_workspace/WORKSPACE -------------------------------------------------------------------------------- /cascaded_workspaces/sub_workspace/include/hello-greet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/sub_workspace/include/hello-greet.h -------------------------------------------------------------------------------- /cascaded_workspaces/sub_workspace/src/hello-greet.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/sub_workspace/src/hello-greet.cc -------------------------------------------------------------------------------- /cascaded_workspaces/sub_workspace/sub_sub/module/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/sub_workspace/sub_sub/module/BUILD -------------------------------------------------------------------------------- /cascaded_workspaces/sub_workspace/sub_sub/module/hello-world.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cascaded_workspaces/sub_workspace/sub_sub/module/hello-world.cc -------------------------------------------------------------------------------- /cc_proto/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cc_proto/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/README.md -------------------------------------------------------------------------------- /cc_proto/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/WORKSPACE -------------------------------------------------------------------------------- /cc_proto/a_binary/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/a_binary/BUILD -------------------------------------------------------------------------------- /cc_proto/a_binary/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/a_binary/main.cpp -------------------------------------------------------------------------------- /cc_proto/a_library/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/a_library/BUILD -------------------------------------------------------------------------------- /cc_proto/a_library/lib.cpp: -------------------------------------------------------------------------------- 1 | #include "lib.h" 2 | 3 | Lib::Lib() = default; 4 | -------------------------------------------------------------------------------- /cc_proto/a_library/lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/a_library/lib.h -------------------------------------------------------------------------------- /cc_proto/action_graph_0_24_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/action_graph_0_24_1 -------------------------------------------------------------------------------- /cc_proto/action_graph_0_25_0s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/action_graph_0_25_0s -------------------------------------------------------------------------------- /cc_proto/some/sub/package/path/proto_pkg/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/some/sub/package/path/proto_pkg/BUILD -------------------------------------------------------------------------------- /cc_proto/some/sub/package/path/proto_pkg/proto_msg.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_proto/some/sub/package/path/proto_pkg/proto_msg.proto -------------------------------------------------------------------------------- /cc_sandwich_playground/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_sandwich_playground/BUILD -------------------------------------------------------------------------------- /cc_sandwich_playground/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_sandwich_playground/README.md -------------------------------------------------------------------------------- /cc_sandwich_playground/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cc_sandwich_playground/cc_api_rules.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_sandwich_playground/cc_api_rules.bzl -------------------------------------------------------------------------------- /cc_sandwich_playground/generator_and_builder.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_sandwich_playground/generator_and_builder.bzl -------------------------------------------------------------------------------- /cc_sandwich_playground/lib.cpp: -------------------------------------------------------------------------------- 1 | #include "gen.h" 2 | 3 | -------------------------------------------------------------------------------- /cc_sandwich_playground/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/cc_sandwich_playground/main.cpp -------------------------------------------------------------------------------- /config_test/.bazelrc: -------------------------------------------------------------------------------- 1 | test --test_output=all 2 | -------------------------------------------------------------------------------- /config_test/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config_test/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/config_test/README.md -------------------------------------------------------------------------------- /config_test/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/config_test/WORKSPACE -------------------------------------------------------------------------------- /config_test/sources/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/config_test/sources/BUILD -------------------------------------------------------------------------------- /config_test/sources/include/main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/config_test/sources/include/main.h -------------------------------------------------------------------------------- /config_test/sources/src/main_0.c: -------------------------------------------------------------------------------- 1 | int Foo() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /config_test/sources/src/main_1.c: -------------------------------------------------------------------------------- 1 | int Foo() 2 | { 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /config_test/sources/src/main_2.c: -------------------------------------------------------------------------------- 1 | int Foo() 2 | { 3 | return 2; 4 | } 5 | -------------------------------------------------------------------------------- /config_test/sources/test/main_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/config_test/sources/test/main_test.cpp -------------------------------------------------------------------------------- /configuration/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configuration/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configuration/myapp/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/configuration/myapp/BUILD -------------------------------------------------------------------------------- /configuration/myapp/calcite.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "calcite!" 4 | 5 | -------------------------------------------------------------------------------- /configuration/myapp/feldspar.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "feldspar!" 4 | -------------------------------------------------------------------------------- /configuration/myapp/pyroxene.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "pyroxene!" 4 | -------------------------------------------------------------------------------- /crosstool/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crosstool/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/WORKSPACE -------------------------------------------------------------------------------- /crosstool/main/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/main/BUILD -------------------------------------------------------------------------------- /crosstool/main/helloworld.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/main/helloworld.cc -------------------------------------------------------------------------------- /crosstool/third-party/emscripten-clang.BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/third-party/emscripten-clang.BUILD -------------------------------------------------------------------------------- /crosstool/third-party/emscripten-toolchain.BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/third-party/emscripten-toolchain.BUILD -------------------------------------------------------------------------------- /crosstool/toolchain/.gitattributes: -------------------------------------------------------------------------------- 1 | emscripten_cache/* binary 2 | -------------------------------------------------------------------------------- /crosstool/toolchain/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/BUILD -------------------------------------------------------------------------------- /crosstool/toolchain/CROSSTOOL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/CROSSTOOL -------------------------------------------------------------------------------- /crosstool/toolchain/emcc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/emcc.sh -------------------------------------------------------------------------------- /crosstool/toolchain/emscripten_cache/binaryen_tag_version_38.txt: -------------------------------------------------------------------------------- 1 | version_38 -------------------------------------------------------------------------------- /crosstool/toolchain/emscripten_cache/dlmalloc.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/emscripten_cache/dlmalloc.bc -------------------------------------------------------------------------------- /crosstool/toolchain/emscripten_cache/gl.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/emscripten_cache/gl.bc -------------------------------------------------------------------------------- /crosstool/toolchain/emscripten_cache/libc.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/emscripten_cache/libc.bc -------------------------------------------------------------------------------- /crosstool/toolchain/emscripten_cache/libcxxabi.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/emscripten_cache/libcxxabi.bc -------------------------------------------------------------------------------- /crosstool/toolchain/emscripten_cache/wasm-libc.bc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/crosstool/toolchain/emscripten_cache/wasm-libc.bc -------------------------------------------------------------------------------- /dynamic_static_linking/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/dynamic_static_linking/BUILD -------------------------------------------------------------------------------- /dynamic_static_linking/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dynamic_static_linking/library.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/dynamic_static_linking/library.cpp -------------------------------------------------------------------------------- /dynamic_static_linking/library.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/dynamic_static_linking/library.h -------------------------------------------------------------------------------- /dynamic_static_linking/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/dynamic_static_linking/main.cpp -------------------------------------------------------------------------------- /environments/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/environments/.bazelrc -------------------------------------------------------------------------------- /environments/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/environments/BUILD -------------------------------------------------------------------------------- /environments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/environments/README.md -------------------------------------------------------------------------------- /environments/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /environments/action_environment.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/environments/action_environment.bzl -------------------------------------------------------------------------------- /environments/environment_spy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/environments/environment_spy.sh -------------------------------------------------------------------------------- /error_masking_with_includes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/README.md -------------------------------------------------------------------------------- /error_masking_with_includes/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /error_masking_with_includes/includes_and_strip_prefix/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/includes_and_strip_prefix/BUILD -------------------------------------------------------------------------------- /error_masking_with_includes/includes_and_strip_prefix/include/lib/library_includes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/includes_and_strip_prefix/include/lib/library_includes.h -------------------------------------------------------------------------------- /error_masking_with_includes/includes_and_strip_prefix/src/library_includes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/includes_and_strip_prefix/src/library_includes.cpp -------------------------------------------------------------------------------- /error_masking_with_includes/only_includes/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/only_includes/BUILD -------------------------------------------------------------------------------- /error_masking_with_includes/only_includes/include/lib/library_includes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/only_includes/include/lib/library_includes.h -------------------------------------------------------------------------------- /error_masking_with_includes/only_includes/src/library_includes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/only_includes/src/library_includes.cpp -------------------------------------------------------------------------------- /error_masking_with_includes/only_strip_prefix/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/only_strip_prefix/BUILD -------------------------------------------------------------------------------- /error_masking_with_includes/only_strip_prefix/include/lib/library_includes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/only_strip_prefix/include/lib/library_includes.h -------------------------------------------------------------------------------- /error_masking_with_includes/only_strip_prefix/src/library_includes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/error_masking_with_includes/only_strip_prefix/src/library_includes.cpp -------------------------------------------------------------------------------- /find_all_tests/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/BUILD -------------------------------------------------------------------------------- /find_all_tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/README.md -------------------------------------------------------------------------------- /find_all_tests/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/WORKSPACE -------------------------------------------------------------------------------- /find_all_tests/l1/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l1/BUILD -------------------------------------------------------------------------------- /find_all_tests/l1/library1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l1/library1.cpp -------------------------------------------------------------------------------- /find_all_tests/l1/library1.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l1/library1.h -------------------------------------------------------------------------------- /find_all_tests/l1/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l1/test.cpp -------------------------------------------------------------------------------- /find_all_tests/l2/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l2/BUILD -------------------------------------------------------------------------------- /find_all_tests/l2/library2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l2/library2.cpp -------------------------------------------------------------------------------- /find_all_tests/l2/library2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l2/library2.h -------------------------------------------------------------------------------- /find_all_tests/l2/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l2/test.cpp -------------------------------------------------------------------------------- /find_all_tests/l2/tests/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l2/tests/BUILD -------------------------------------------------------------------------------- /find_all_tests/l2/tests/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l2/tests/test.cpp -------------------------------------------------------------------------------- /find_all_tests/l3/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l3/BUILD -------------------------------------------------------------------------------- /find_all_tests/l3/library3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l3/library3.cpp -------------------------------------------------------------------------------- /find_all_tests/l3/library3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l3/library3.h -------------------------------------------------------------------------------- /find_all_tests/l3/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/l3/test.cpp -------------------------------------------------------------------------------- /find_all_tests/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/find_all_tests/main.cpp -------------------------------------------------------------------------------- /generate_arbitrary_number_of_files/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generate_arbitrary_number_of_files/BUILD -------------------------------------------------------------------------------- /generate_arbitrary_number_of_files/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /generate_arbitrary_number_of_files/genccs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generate_arbitrary_number_of_files/genccs.bzl -------------------------------------------------------------------------------- /generate_arbitrary_number_of_files/py_binary/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generate_arbitrary_number_of_files/py_binary/BUILD -------------------------------------------------------------------------------- /generate_arbitrary_number_of_files/py_binary/py_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generate_arbitrary_number_of_files/py_binary/py_gen.py -------------------------------------------------------------------------------- /generate_arbitrary_number_of_files/src/main.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generate_arbitrary_number_of_files/src/main.cc -------------------------------------------------------------------------------- /generated_sources/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generated_sources/BUILD -------------------------------------------------------------------------------- /generated_sources/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generated_sources/WORKSPACE -------------------------------------------------------------------------------- /generated_sources/generated/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generated_sources/generated/BUILD -------------------------------------------------------------------------------- /generated_sources/rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generated_sources/rule.bzl -------------------------------------------------------------------------------- /generated_sources/source.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/generated_sources/source.c -------------------------------------------------------------------------------- /genrule/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/genrule/BUILD -------------------------------------------------------------------------------- /genrule/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /genrule/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/genrule/generator.py -------------------------------------------------------------------------------- /genrule/out.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/genrule/out.cpp -------------------------------------------------------------------------------- /genrule_outs/.bazelrc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /genrule_outs/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.29.1 2 | -------------------------------------------------------------------------------- /genrule_outs/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/genrule_outs/BUILD -------------------------------------------------------------------------------- /genrule_outs/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/genrule_outs/WORKSPACE -------------------------------------------------------------------------------- /genrule_outs/custom_rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/genrule_outs/custom_rule.bzl -------------------------------------------------------------------------------- /genrule_outs/foo.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /implicit_outputs/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/implicit_outputs/BUILD -------------------------------------------------------------------------------- /implicit_outputs/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /implicit_outputs/implicit_outputs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/implicit_outputs/implicit_outputs.bzl -------------------------------------------------------------------------------- /include_handling/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /include_handling/library_includer/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/library_includer/BUILD -------------------------------------------------------------------------------- /include_handling/library_includer/include/lib/library_includer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/library_includer/include/lib/library_includer.h -------------------------------------------------------------------------------- /include_handling/library_includer/src/library_includer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/library_includer/src/library_includer.cpp -------------------------------------------------------------------------------- /include_handling/no_public_headers/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/no_public_headers/BUILD -------------------------------------------------------------------------------- /include_handling/no_public_headers/src/implementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/no_public_headers/src/implementation.cpp -------------------------------------------------------------------------------- /include_handling/no_public_headers/src/implementation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/no_public_headers/src/implementation.h -------------------------------------------------------------------------------- /include_handling/private_headers/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/private_headers/BUILD -------------------------------------------------------------------------------- /include_handling/private_headers/include/lib/library_private.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/private_headers/include/lib/library_private.h -------------------------------------------------------------------------------- /include_handling/private_headers/src/library_private.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/private_headers/src/library_private.cpp -------------------------------------------------------------------------------- /include_handling/private_headers/src/private_header.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/private_headers/src/private_header.cpp -------------------------------------------------------------------------------- /include_handling/private_headers/src/private_header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/private_headers/src/private_header.h -------------------------------------------------------------------------------- /include_handling/private_headers/src/sub/sub.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /include_handling/private_headers/src/sub/sub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/private_headers/src/sub/sub.h -------------------------------------------------------------------------------- /include_handling/strip_prefix_library/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/strip_prefix_library/BUILD -------------------------------------------------------------------------------- /include_handling/strip_prefix_library/include/lib/library_prefix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/strip_prefix_library/include/lib/library_prefix.h -------------------------------------------------------------------------------- /include_handling/strip_prefix_library/src/library_prefix.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/strip_prefix_library/src/library_prefix.cpp -------------------------------------------------------------------------------- /include_handling/using_includes/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/using_includes/BUILD -------------------------------------------------------------------------------- /include_handling/using_includes/include/lib/library_includes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/using_includes/include/lib/library_includes.h -------------------------------------------------------------------------------- /include_handling/using_includes/src/library_includes.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/include_handling/using_includes/src/library_includes.cpp -------------------------------------------------------------------------------- /packaging/.bazelversion: -------------------------------------------------------------------------------- 1 | 3.4.0 2 | -------------------------------------------------------------------------------- /packaging/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/packaging/BUILD -------------------------------------------------------------------------------- /packaging/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packaging/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/packaging/WORKSPACE -------------------------------------------------------------------------------- /packaging/generate_files.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/packaging/generate_files.bzl -------------------------------------------------------------------------------- /packaging/my_library/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/packaging/my_library/BUILD -------------------------------------------------------------------------------- /packaging/my_library/include/my_library/library.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/packaging/my_library/include/my_library/library.h -------------------------------------------------------------------------------- /packaging/my_library/src/library.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/packaging/my_library/src/library.cpp -------------------------------------------------------------------------------- /py_runtime/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/py_runtime/.bazelrc -------------------------------------------------------------------------------- /py_runtime/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.25.2 2 | -------------------------------------------------------------------------------- /py_runtime/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/py_runtime/BUILD -------------------------------------------------------------------------------- /py_runtime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/py_runtime/README.md -------------------------------------------------------------------------------- /py_runtime/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/py_runtime/WORKSPACE -------------------------------------------------------------------------------- /py_runtime/a_dependency_library.py: -------------------------------------------------------------------------------- 1 | CONSTANT_VALUE = 42 2 | -------------------------------------------------------------------------------- /py_runtime/show_python_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/py_runtime/show_python_version.py -------------------------------------------------------------------------------- /python-tutorial/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python-tutorial/py_binary/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python-tutorial/py_binary/BUILD -------------------------------------------------------------------------------- /python-tutorial/py_binary/py_binary_a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python-tutorial/py_binary/py_binary_a.py -------------------------------------------------------------------------------- /python-tutorial/py_library/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python-tutorial/py_library/BUILD -------------------------------------------------------------------------------- /python-tutorial/py_library/lib_module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python-tutorial/py_library/lib_module.py -------------------------------------------------------------------------------- /python_with_cxx/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python_with_cxx/BUILD -------------------------------------------------------------------------------- /python_with_cxx/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python_with_cxx/a_python_library.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python_with_cxx/a_python_main.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /python_with_cxx/cpp_code.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python_with_cxx/cpp_code.cpp -------------------------------------------------------------------------------- /python_with_cxx/cpp_code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/python_with_cxx/cpp_code.h -------------------------------------------------------------------------------- /repository_rules/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.25.2 2 | -------------------------------------------------------------------------------- /repository_rules/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/repository_rules/BUILD -------------------------------------------------------------------------------- /repository_rules/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/repository_rules/WORKSPACE -------------------------------------------------------------------------------- /repository_rules/deb.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/repository_rules/deb.bzl -------------------------------------------------------------------------------- /repository_rules/depend_on_tinyxml.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/repository_rules/depend_on_tinyxml.cpp -------------------------------------------------------------------------------- /run_action/.bazelversion: -------------------------------------------------------------------------------- 1 | 5.1.1 2 | -------------------------------------------------------------------------------- /run_action/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_action/BUILD -------------------------------------------------------------------------------- /run_action/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /run_action/rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_action/rule.bzl -------------------------------------------------------------------------------- /run_with_files/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/.bazelrc -------------------------------------------------------------------------------- /run_with_files/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/BUILD -------------------------------------------------------------------------------- /run_with_files/BUILD.ext_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/BUILD.ext_file -------------------------------------------------------------------------------- /run_with_files/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/WORKSPACE -------------------------------------------------------------------------------- /run_with_files/binary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/binary.py -------------------------------------------------------------------------------- /run_with_files/ext_file/ext_file: -------------------------------------------------------------------------------- 1 | content of file 2 | -------------------------------------------------------------------------------- /run_with_files/generated/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/generated/BUILD -------------------------------------------------------------------------------- /run_with_files/input/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/input/BUILD -------------------------------------------------------------------------------- /run_with_files/input/file: -------------------------------------------------------------------------------- 1 | content of file 2 | -------------------------------------------------------------------------------- /run_with_files/workspace_name_var.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/run_with_files/workspace_name_var.bzl -------------------------------------------------------------------------------- /runfiles/.bazelrc: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /runfiles/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.26.0 2 | -------------------------------------------------------------------------------- /runfiles/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles/BUILD -------------------------------------------------------------------------------- /runfiles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles/README.md -------------------------------------------------------------------------------- /runfiles/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runfiles/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles/app.py -------------------------------------------------------------------------------- /runfiles/runfile.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles/runfile.bzl -------------------------------------------------------------------------------- /runfiles_mapper/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles_mapper/BUILD -------------------------------------------------------------------------------- /runfiles_mapper/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles_mapper/WORKSPACE -------------------------------------------------------------------------------- /runfiles_mapper/runfile.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /runfiles_mapper/runfiles_mapper.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/runfiles_mapper/runfiles_mapper.bzl -------------------------------------------------------------------------------- /sh_binary_args/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/sh_binary_args/BUILD -------------------------------------------------------------------------------- /sh_binary_args/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /sh_binary_args/other_script.bash: -------------------------------------------------------------------------------- 1 | echo "Called other script" 2 | -------------------------------------------------------------------------------- /sh_binary_args/shell_binary.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/sh_binary_args/shell_binary.bash -------------------------------------------------------------------------------- /standalone_so/.bazelversion: -------------------------------------------------------------------------------- 1 | 5.1.1 2 | -------------------------------------------------------------------------------- /standalone_so/.gitignore: -------------------------------------------------------------------------------- 1 | bazel-* 2 | -------------------------------------------------------------------------------- /standalone_so/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/standalone_so/BUILD -------------------------------------------------------------------------------- /standalone_so/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/standalone_so/WORKSPACE -------------------------------------------------------------------------------- /standalone_so/content.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/standalone_so/content.cpp -------------------------------------------------------------------------------- /standalone_so/content.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/standalone_so/content.h -------------------------------------------------------------------------------- /standalone_so/so_headers.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/standalone_so/so_headers.bzl -------------------------------------------------------------------------------- /test_rules/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/BUILD -------------------------------------------------------------------------------- /test_rules/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_rules/another_important_py_lib/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/another_important_py_lib/BUILD -------------------------------------------------------------------------------- /test_rules/another_important_py_lib/py_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/another_important_py_lib/py_lib.py -------------------------------------------------------------------------------- /test_rules/launchfile.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/launchfile.test -------------------------------------------------------------------------------- /test_rules/py_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/py_runner.py -------------------------------------------------------------------------------- /test_rules/schema_a.scm: -------------------------------------------------------------------------------- 1 | schema_a 2 | -------------------------------------------------------------------------------- /test_rules/schema_b.scm: -------------------------------------------------------------------------------- 1 | schema_b 2 | -------------------------------------------------------------------------------- /test_rules/sh_runner.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/sh_runner.sh -------------------------------------------------------------------------------- /test_rules/some_important_py_lib/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/some_important_py_lib/BUILD -------------------------------------------------------------------------------- /test_rules/some_important_py_lib/py_lib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/some_important_py_lib/py_lib.py -------------------------------------------------------------------------------- /test_rules/test_rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/test_rules/test_rule.bzl -------------------------------------------------------------------------------- /toolchain_testing_playground/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/.bazelrc -------------------------------------------------------------------------------- /toolchain_testing_playground/.bazelversion: -------------------------------------------------------------------------------- 1 | 1.1.0 2 | -------------------------------------------------------------------------------- /toolchain_testing_playground/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/BUILD -------------------------------------------------------------------------------- /toolchain_testing_playground/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/README.md -------------------------------------------------------------------------------- /toolchain_testing_playground/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/WORKSPACE -------------------------------------------------------------------------------- /toolchain_testing_playground/action_configs.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/action_configs.bzl -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/cpp_tests/BUILD -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/define_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/cpp_tests/define_test.cpp -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/include_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/cpp_tests/include_test.cpp -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/lib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/cpp_tests/lib.cpp -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/cpp_tests/main.cpp -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/other.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/sub_package/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/cpp_tests/sub_package/BUILD -------------------------------------------------------------------------------- /toolchain_testing_playground/cpp_tests/sub_package/include/header.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toolchain_testing_playground/gcc_config.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/gcc_config.bzl -------------------------------------------------------------------------------- /toolchain_testing_playground/third_party/BUILD: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toolchain_testing_playground/third_party/BUILD.gcc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/third_party/BUILD.gcc -------------------------------------------------------------------------------- /toolchain_testing_playground/third_party/libc6dev_files.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/third_party/libc6dev_files.bzl -------------------------------------------------------------------------------- /toolchain_testing_playground/third_party/libgcc8_dev.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/third_party/libgcc8_dev.bzl -------------------------------------------------------------------------------- /toolchain_testing_playground/third_party/libstdcpp8_files.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/third_party/libstdcpp8_files.bzl -------------------------------------------------------------------------------- /toolchain_testing_playground/third_party/linuxlibcdev_files.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchain_testing_playground/third_party/linuxlibcdev_files.bzl -------------------------------------------------------------------------------- /toolchains_generic/.bazelrc: -------------------------------------------------------------------------------- 1 | build --toolchain_resolution_debug 2 | -------------------------------------------------------------------------------- /toolchains_generic/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/BUILD -------------------------------------------------------------------------------- /toolchains_generic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/README.md -------------------------------------------------------------------------------- /toolchains_generic/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/WORKSPACE -------------------------------------------------------------------------------- /toolchains_generic/local_tool/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/local_tool/BUILD -------------------------------------------------------------------------------- /toolchains_generic/local_tool/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /toolchains_generic/local_tool/tool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/local_tool/tool.cpp -------------------------------------------------------------------------------- /toolchains_generic/tool_rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/tool_rule.bzl -------------------------------------------------------------------------------- /toolchains_generic/toolchain_config.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/toolchains_generic/toolchain_config.bzl -------------------------------------------------------------------------------- /transition_user_defined_build_settings/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transition_user_defined_build_settings/BUILD -------------------------------------------------------------------------------- /transition_user_defined_build_settings/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /transition_user_defined_build_settings/ice_cream_machine.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transition_user_defined_build_settings/ice_cream_machine.bzl -------------------------------------------------------------------------------- /transition_user_defined_build_settings/select_flavor.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transition_user_defined_build_settings/select_flavor.bzl -------------------------------------------------------------------------------- /transition_user_defined_build_settings/setting.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transition_user_defined_build_settings/setting.bzl -------------------------------------------------------------------------------- /transition_user_defined_build_settings/tools/whitelists/function_transition_whitelist/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transition_user_defined_build_settings/tools/whitelists/function_transition_whitelist/BUILD -------------------------------------------------------------------------------- /transitions/.bazelrc: -------------------------------------------------------------------------------- 1 | build --experimental_strict_action_env 2 | -------------------------------------------------------------------------------- /transitions/.bazelversion: -------------------------------------------------------------------------------- 1 | 1.1.0 2 | 3 | -------------------------------------------------------------------------------- /transitions/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/BUILD -------------------------------------------------------------------------------- /transitions/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/README.md -------------------------------------------------------------------------------- /transitions/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/WORKSPACE -------------------------------------------------------------------------------- /transitions/binary.bzl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /transitions/cc_api_rules.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/cc_api_rules.bzl -------------------------------------------------------------------------------- /transitions/cc_transition/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/cc_transition/BUILD -------------------------------------------------------------------------------- /transitions/cc_transition/code.c: -------------------------------------------------------------------------------- 1 | #include "code.h" 2 | 3 | int out = OUTPUT; 4 | -------------------------------------------------------------------------------- /transitions/cc_transition/code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/cc_transition/code.h -------------------------------------------------------------------------------- /transitions/cc_transition/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/cc_transition/main.c -------------------------------------------------------------------------------- /transitions/cc_transition/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/cc_transition/test.cpp -------------------------------------------------------------------------------- /transitions/cc_transition/transition_rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/cc_transition/transition_rule.bzl -------------------------------------------------------------------------------- /transitions/code.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/code.c -------------------------------------------------------------------------------- /transitions/consumer.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/consumer.bzl -------------------------------------------------------------------------------- /transitions/include/header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/include/header.h -------------------------------------------------------------------------------- /transitions/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/main.c -------------------------------------------------------------------------------- /transitions/output_dir_names/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/BUILD -------------------------------------------------------------------------------- /transitions/output_dir_names/cc_api_rules.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/cc_api_rules.bzl -------------------------------------------------------------------------------- /transitions/output_dir_names/code.c: -------------------------------------------------------------------------------- 1 | #include "code.h" 2 | 3 | int out = OUTPUT; 4 | -------------------------------------------------------------------------------- /transitions/output_dir_names/code.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/code.h -------------------------------------------------------------------------------- /transitions/output_dir_names/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/main.c -------------------------------------------------------------------------------- /transitions/output_dir_names/main/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/main/BUILD -------------------------------------------------------------------------------- /transitions/output_dir_names/main/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/main/main.c -------------------------------------------------------------------------------- /transitions/output_dir_names/run.bat: -------------------------------------------------------------------------------- 1 | bazel run :main -s %* 2 | echo %errorlevel% 3 | -------------------------------------------------------------------------------- /transitions/output_dir_names/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/test.cpp -------------------------------------------------------------------------------- /transitions/output_dir_names/transition_rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/output_dir_names/transition_rule.bzl -------------------------------------------------------------------------------- /transitions/tools/whitelists/function_transition_whitelist/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/tools/whitelists/function_transition_whitelist/BUILD -------------------------------------------------------------------------------- /transitions/with_a_generator/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/with_a_generator/BUILD -------------------------------------------------------------------------------- /transitions/with_a_generator/generator.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/with_a_generator/generator.bzl -------------------------------------------------------------------------------- /transitions/with_a_generator/generator.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/transitions/with_a_generator/generator.sh -------------------------------------------------------------------------------- /use_java_fragments/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/use_java_fragments/.bazelrc -------------------------------------------------------------------------------- /use_java_fragments/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.27.0 2 | -------------------------------------------------------------------------------- /use_java_fragments/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/use_java_fragments/BUILD -------------------------------------------------------------------------------- /use_java_fragments/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/use_java_fragments/README.md -------------------------------------------------------------------------------- /use_java_fragments/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /use_java_fragments/rule_with_java.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/use_java_fragments/rule_with_java.bzl -------------------------------------------------------------------------------- /variable_output_with_user_configs/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.29.1 2 | -------------------------------------------------------------------------------- /variable_output_with_user_configs/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/variable_output_with_user_configs/BUILD -------------------------------------------------------------------------------- /variable_output_with_user_configs/WORKSPACE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/variable_output_with_user_configs/WORKSPACE -------------------------------------------------------------------------------- /variable_output_with_user_configs/custom_rule.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/variable_output_with_user_configs/custom_rule.bzl -------------------------------------------------------------------------------- /workspace_status/.bazelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/workspace_status/.bazelrc -------------------------------------------------------------------------------- /workspace_status/.bazelversion: -------------------------------------------------------------------------------- 1 | 0.26.0 2 | -------------------------------------------------------------------------------- /workspace_status/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/workspace_status/BUILD -------------------------------------------------------------------------------- /workspace_status/WORKSPACE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /workspace_status/status/workspace_status.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/workspace_status/status/workspace_status.sh -------------------------------------------------------------------------------- /workspace_status/version.bzl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FaBrand/bazel-learning/HEAD/workspace_status/version.bzl --------------------------------------------------------------------------------