aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
Commit message (Collapse)AuthorAge
...
* Rollforward of [], which was rolled back in []. Cleans up support for ↵Gravatar Michael Thvedt2015-09-14
| | | | | | | objc_proto_library with native proto_library. -- MOS_MIGRATED_REVID=102962083
* Add Jsonnet rules to Bazel.Gravatar David Chen2015-09-14
| | | | | | | RELNOTES: Add Jsonnet rules to Bazel -- MOS_MIGRATED_REVID=102895524
* Add initial D rules to Bazel.Gravatar David Chen2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102513092
* Rollback of commit 17e9d7cd408eee1e4e73a1fe6f76917954475937.Gravatar Carmi Grushko2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102299629
* Turn Bazel proto_library on for objc_proto_library.Gravatar Michael Thvedt2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102294703
* Quick fix for shipping the android tools in the Bazel binaryGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | | | | | | | | This is not really nice, there are several hacks there. This repository will get removed in the future and linked to a remote one instead. I tested it against the tutorial and it works like a charm. mobile-install seems like to work, maybe that's also fixing the last issue reported in #392. Known issue: Java compilation output errors about files being modified in the future. -- MOS_MIGRATED_REVID=102282979
* Require an android_local_tools_repository stanza in the WORKSPACE file so ↵Gravatar Lukacs Berki2015-08-26
| | | | | | | | | | | | | | | that Bazel finds Android tools and update the tools themselves to handle their new location. This paves the way for eventually referencing every tool this way. We have to figure out if android_http_tools_repository is the right way to distribute the Android tools, but now that we don't have a binary distribution yet, it's not an immediate problem. This will break existing users of Android support in Bazel, whom I'll inform over bazel-discuss. Fixes #384. -- MOS_MIGRATED_REVID=101456190
* Android example readme: blaze -> bazelGravatar Damien Martin-Guillerez2015-08-26
| | | | | -- MOS_MIGRATED_REVID=101446590
* Open-source full support for J2ObjC in Bazel, including dead code removal, ↵Gravatar Michael Thvedt2015-08-13
| | | | | | | and add an example. -- MOS_MIGRATED_REVID=100493818
* 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