aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
Commit message (Collapse)AuthorAge
* New-style android exampleGravatar Steven Dee2015-08-04
| | | | | | | | | | | | | - Make the jni target depend on another cc_library. - Disable legacy native support in hello_world. - Make MainActivity load hello_world rather than jni. -- Change-Id: I497ba680eec4e16ee14628294d2c1260db69ad82 Reviewed-on: https://bazel-review.googlesource.com/#/c/1740/ MOS_MIGRATED_REVID=99709707
* Restore Rust examples and add Rust rule tests that were inadvertently excluded.Gravatar David Chen2015-07-30
| | | | | -- MOS_MIGRATED_REVID=99464781
* Introduce trivial rust testsGravatar Francois-Rene Rideau2015-07-29
| | | | | -- MOS_MIGRATED_REVID=99378104
* Update README.md for examples/android to clarify meaning of attribute values.Gravatar John Field2015-07-27
| | | | | -- MOS_MIGRATED_REVID=99179050
* Fixed Android example README.md to make the lists work.Gravatar Alex Humesky2015-07-23
| | | | | -- MOS_MIGRATED_REVID=98856262
* Delete unnecessary example PrenotCalculatorInstruments.Gravatar Michael Thvedt2015-07-21
| | | | | -- MOS_MIGRATED_REVID=98640520
* Make --android_crosstool_top default to the android_ndk_repository specified ↵Gravatar Lukacs Berki2015-07-20
| | | | | | | | | | | | | in the WORKSPACE file. The error reporting if an android_ndk_repository rule is present is not very user-friendly (it just uses the non-Android toolchain, resulting in compile errors) but given that --android_crosstool_top is an interim solution until we get reasonable multi-platform support, I suppose it's fine. As a side effect, instead of prefixing fat APK output directories with "fat-apk-", we prefix Android output directories with "android-". This makes it possible to build Android apps with zero command line options. Rejoice! -- MOS_MIGRATED_REVID=98624120
* Add an example Android app and a README.md file that details how to compile it.Gravatar Lukacs Berki2015-07-20
| | | | | -- MOS_MIGRATED_REVID=98621744
* Fix tests with python3 as default python.Gravatar Peter Foley2015-07-06
| | | | | | | | | | | If the system python interpreter is set to python3, some tests fail because python3 requires parenthesies for the print statement. Fix this by adding the required parenthesies, which are a no-op for python2. -- Reviewed-on: https://github.com/google/bazel/pull/282 MOS_MIGRATED_REVID=97571926
* Fix typo.Gravatar Nathan Harmata2015-06-23
| | | | | -- MOS_MIGRATED_REVID=96572029
* Move the Error Prone plugin into BazelGravatar Liam Miller-Cushon2015-06-19
| | | | | -- MOS_MIGRATED_REVID=96365813
* Add initial Rust rules to Bazel.Gravatar David Chen2015-06-18
| | | | | | | | | | | | | Todo: * Implement rust_bench_test for running benchmarks * Enable rust_test to depend solely on a rust_library (since many projects intermix #[test] methods in lib source). * Improve error checking and handling and prevent rust_binary from directly depending on cc_library. * Implement rust_doc for generating rustdoc. -- MOS_MIGRATED_REVID=96297772
* Simplify genproto.bzl.Gravatar Han-Wen Nienhuys2015-06-02
| | | | | | | | | | | | | | | | Generate a srcjar artifact, and use native.java_library to emit the actual jar file. Post-review modifications: - Formatted genproto.bzl - Use //external:jar instead of relying on PATH - Make proto library a java_import instead of a filegroup in test setup. -- Change-Id: I005f801f09439bbca43e483ad4a47da4588fea94 Reviewed-on: https://bazel-review.googlesource.com/1362 MOS_MIGRATED_REVID=94914935
* Look for resources under Maven's standard directory layoutGravatar Kristina Chodorow2015-04-24
| | | | | | | Doesn't completely fix but improves #97 for a lot of people. -- MOS_MIGRATED_REVID=91909946
* Added py_test rule to BazelGravatar Damien Martin-Guillerez2015-04-17
| | | | | | | | | | | | | | py_test rule enable to use a test written in Python. A py_test is basically a py_binary that returns a non null on failure. Extraneous support is need to have nice output (see //src/test/shell/unittest.bash for the kind of support neeeded). Actually the py_test code was already there but it was just missing the necessary glue code. Also added an integration test for py_* rules in Bazel. -- MOS_MIGRATED_REVID=91407748
* Remove constructor delegation from exampleGravatar Kristina Chodorow2015-04-13
| | | | | | | This requires gcc 4.7+ to work, Travis runs gcc 4.6. -- MOS_MIGRATED_REVID=90818739
* Add Google auto to bazelGravatar Francois-Rene Rideau2015-04-08
| | | | | | | | Add the Google auto generators for Java, for the sake of using AutoValue. Include dependencies apache commons collections and apache velocity. -- MOS_MIGRATED_REVID=90482044
* Update getting started instructions with .bazelrc strategyGravatar Kristina Chodorow2015-04-06
| | | | | -- MOS_MIGRATED_REVID=90418845
* Make Python rules in Bazel actually work.Gravatar Lukacs Berki2015-03-30
| | | | | | | In particular: add a BazelPythonSemantics implementation and the respective RuleConfiguredTarget factories, rule class definitions and hook them up with BazelRuleClassProvider. Add implicit dependencies (2to3 is just a stub script for now that always fails) and a tiny exampe. -- MOS_MIGRATED_REVID=89691827
* Remove unused codeGravatar Daniel Wagner-Hall2015-03-25
| | | | | -- MOS_MIGRATED_REVID=89513306
* Remove experimental Go support until we have a solution which fits the 'go' ↵Gravatar Han-Wen Nienhuys2015-03-25
| | | | | | | tool conventions better. -- MOS_MIGRATED_REVID=89510837
* Open-source Bazel integration testsGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | | | It is a first batch of integration tests for Bazel. They tests some basic behaviors and nominal cases of Bazel rules (especially they tests the behavior of the examples provided in //examples). -- MOS_MIGRATED_REVID=89440074
* Move all examples into Bazel workspaceGravatar Damien Martin-Guillerez2015-03-24
Those examples will be used for Bazel integration tests and their sources should be available directly to the Bazel workspace itself. -- MOS_MIGRATED_REVID=89380736