aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
Commit message (Collapse)AuthorAge
* Make Android rules work againGravatar Lukacs Berki2015-09-08
| | | | | | | They were broken by commit 05e2c5b4e0da2f88e12d95adbc63cc3d46a6fca6. -- MOS_MIGRATED_REVID=102546907
* Extract the test filtering into a new class.Gravatar Ulf Adams2015-09-08
| | | | | | | | This is intended to make it easier to reimplement this in Skyframe, in order to merge loading and analysis phases. -- MOS_MIGRATED_REVID=102536532
* Fix the blaze_util_test to compile and pass.Gravatar Ulf Adams2015-09-08
| | | | | | | | I had to comment out a couple of tests, I don't know why they're not passing right now. -- MOS_MIGRATED_REVID=102535967
* Display TIMEOUT for test that times outGravatar Damien Martin-Guillerez2015-09-08
| | | | | | | | | Previously the timing out information wasn't propagated to the user, leading to a wrong FAILED message whereas the test was timing out. -- MOS_MIGRATED_REVID=102535481
* Description redacted.Gravatar Dmitry Lomov2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102498501
* Random collection of cleanups.Gravatar Ulf Adams2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102497981
* Improved error message when accessing undeclared configuration fragments.Gravatar Florian Weikert2015-09-08
| | | | | | | | Users will get an error when rules access configuration fragments without having declared them as required fragments. The error message now contains more details on the cause of the error and may also include a possible Skylark fix, if applicable. -- MOS_MIGRATED_REVID=102497559
* Minor changes to the label parsing to match the specification more closely.Gravatar Ulf Adams2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102496746
* Remove references to the legacy android_resources rule from the Bazel BUILD ↵Gravatar Lukacs Berki2015-09-08
| | | | | | | | | encyclopedia. Fixes #426. -- MOS_MIGRATED_REVID=102496247
* Skylark: configuration fragments for host configuration can now be accessed ↵Gravatar Florian Weikert2015-09-08
| | | | | | | via ctx.host_fragments. -- MOS_MIGRATED_REVID=102490502
* Skylark macros: The attribute "generator_name" now contains the name of the ↵Gravatar Florian Weikert2015-09-08
| | | | | | | calling rule in the BUILD file. -- MOS_MIGRATED_REVID=102487335
* Remove BUILD.glob and incorporate the necessary filegroups into the ↵Gravatar Lukacs Berki2015-09-08
| | | | | | | | | android_{ndk,sdk}_repository rules themselves. This is to that the Android tests also work on OS X (otherwise, we'd end up creating a file called "BUILD" in its root, which doesn't work, because it already has a directory called "build") -- MOS_MIGRATED_REVID=102484286
* Allow canonicalize-flags to run for any command.Gravatar Ulf Adams2015-09-08
| | | | | -- MOS_MIGRATED_REVID=102483838
* Inline the native deps suffix constant in one location.Gravatar Ulf Adams2015-09-08
| | | | | | | Only one for now, as we need to migrate internally. -- MOS_MIGRATED_REVID=102477370
* Rollback of commit 5a94e59f02833f9142bad9203acd72626b089535.Gravatar Janak Ramakrishnan2015-09-08
| | | | | | | | | *** Reason for rollback *** Breaks serialization of SkyValues. -- MOS_MIGRATED_REVID=102457225
* Refactor Skylark Environment-sGravatar Francois-Rene Rideau2015-09-08
| | | | | | | | | | | | | | | | | Make Environment-s freezable: Introduce a class Mutability as a revokable capability to mutate objects in an Environment. For now, only Environment-s carry this capability. Make sure that every Mutability is revoked in the same function that creates it, so no Environment is left open for modification after being created and exported; exceptions for tests, the shell and initialization contexts. Unify Environment, SkylarkEnvironment and EvaluationContext into Environment. Have a notion of Frame for the bindings + parent + mutability. Replace the updateAndPropagate mechanism by a dynamicFrame. Simplify ValidationEnvironment, that is now always deduced from the Environment. -- MOS_MIGRATED_REVID=102363438
* Rollback of commit 369635536db085dd70124ace2e4ef604680148b4.Gravatar Damien Martin-Guillerez2015-09-04
| | | | | | | | | | | | | | | | *** Reason for rollback *** Totally broke Bazel tests (100% failures!). Found by git bisect after running the update script. *** Original change description *** sandbox: We have to move all generated outputs, not just regular files. Fix for a part of bug #397. -- MOS_MIGRATED_REVID=102354724
* Move generate_workspace to src/toolsGravatar Kristina Chodorow2015-09-04
| | | | | | | | Seems like a better location for it (easier for people to run than src/main/java/com/google/devtools/build etc). -- MOS_MIGRATED_REVID=102354250
* Teach Bazel to accept assembler-without-preprocessor source files.Gravatar Googler2015-09-04
| | | | | | | | | | | Adding the accepted file extensions was a minor issue. The bulk of this change was to weaken the assertion that all cxx compiler actions produce a '.d' file. RELNOTES[NEW]: a cc_binary rule may list '.s' and '.asm' files in the srcs -- MOS_MIGRATED_REVID=102346882
* Remove test warning filtering.Gravatar Eric Fellheimer2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102345574
* sandbox: We have to move all generated outputs, not just regular files.Gravatar Philipp Wollermann2015-09-04
| | | | | | | Fix for a part of bug #397. -- MOS_MIGRATED_REVID=102343972
* Use another cache to store preprocessing results instead of redoing the work.Gravatar Ulf Adams2015-09-04
| | | | | | | This should have no effect. -- MOS_MIGRATED_REVID=102342697
* Skylark: Show list of fields in error message for struct objects.Gravatar Laurent Le Brun2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102341687
* Inject the default runfiles prefix from the rule class provider.Gravatar Ulf Adams2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102341264
* Rollback of commit 47107aad33695a040b0f771f0c09d66874c4d533.Gravatar Ulf Adams2015-09-04
| | | | | | | | | | | | | | *** Reason for rollback *** Breaks a few thousand targets in the depot. It's weird, but I confirmed manually that this rollback fixes the issue. *** Original change description *** Distinguish between user-supplied ios_cpu and the default, and don't propagate the default to the XCode project control. -- MOS_MIGRATED_REVID=102340901
* Remove unused code.Gravatar Marian Lobur2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102339394
* Comment local attribute of genrule and remove TODOGravatar Damien Martin-Guillerez2015-09-04
| | | | | | | | As discussed on the mailing-list, this attribute totally make sense now we have sandboxing. -- MOS_MIGRATED_REVID=102337136
* Description redacted.Gravatar Lukacs Berki2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102334216
* Fix some warnings.Gravatar Ulf Adams2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102332437
* Teach java_import about deps.Gravatar Googler2015-09-04
| | | | | | | | If a jar uses another in its API, using runtime_deps leads to compile time errors for dependent libraries. In these cases, deps can be used instead. -- MOS_MIGRATED_REVID=102331597
* Make android_binary use a constant, hard-coded, checked-in debug key. Gravatar Lukacs Berki2015-09-04
| | | | | | | This is because apkbuilder uses $HOME/.android/debug.keystore by default, which does not exist when running within the sandbox, thus, it always generates a new debug key, and thus, "adb install -r" doesn't work. -- MOS_MIGRATED_REVID=102331570
* Keep function parameters in the AST.Gravatar Laurent Le Brun2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102330569
* sandbox: Use a better data structure for the mounts.Gravatar Philipp Wollermann2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102330179
* 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
* Mark $implicit_tests attribute from test_suite as order independent.Gravatar Laurent Le Brun2015-09-04
| | | | | -- MOS_MIGRATED_REVID=102294171
* 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
* Add a method to EvaluationProgressReceiver for getting information on ↵Gravatar Nathan Harmata2015-09-03
| | | | | | | SkyFunction#compute calls. -- MOS_MIGRATED_REVID=102268773
* Fix Swift merge action to use combined arch binaryGravatar Dmitry Shevchenko2015-09-03
| | | | | | | * This fixes the crash when trying to build multi-arch ios_application with Swift code. -- MOS_MIGRATED_REVID=102264637
* Don't use null as a flag when iterating over dirty direct deps. Whether or ↵Gravatar Janak Ramakrishnan2015-09-03
| | | | | | | | | not the iterator has more elements is a perfectly good signal. Also put the reference hash code into the string representation for use in debugging. -- MOS_MIGRATED_REVID=102264568
* Implement a Python 2 compatible isalpha function for Skylark strings.Gravatar Googler2015-09-03
| | | | | -- MOS_MIGRATED_REVID=102263878
* Remove unused ParserInputSource method and other minor cleanupsGravatar Michajlo Matijkiw2015-09-03
| | | | | | | | | | | | Trying to curb usage of the create method taking a String for efficiency reasons. Noticed this method was unused + a few places where we could easily use chars instead of string. Not a major improvement but removes some temptation. RELNOTES: -- MOS_MIGRATED_REVID=102258319
* Always inject the runfiles prefix into the Runfiles.Builder.Gravatar Ulf Adams2015-09-03
| | | | | | | The other constructor is now private. -- MOS_MIGRATED_REVID=102252544
* Make Bazel work with Android build tools 23.0.0 by adding shell wrappers ↵Gravatar Lukacs Berki2015-09-03
| | | | | | | around binaries in build-tools and making lib/ a data dependency of them. -- MOS_MIGRATED_REVID=102244496
* Alphabetically sort the list of flags for `bazel help --completion`Gravatar Damien Martin-Guillerez2015-09-03
| | | | | | | | This was sorted according to some obscure way due to hashset ordering. Sorting alphabatically avoid the output to totally change due to almost unrelated change. -- MOS_MIGRATED_REVID=102241202
* Link Android native code with libstdc++, statically.Gravatar Ulf Adams2015-09-03
| | | | | | | | | | | | | | | | | | | | | | - Refactor the ndk toolchain generation to properly set the dynamic and static runtime lib filegroups. - Enable the runtime filegroups. - Change the NativeDepsHelper to work as documented - mostly static means statically linking the runtime filegroups; but only for Android to remain backwards compatible with other users of NativeDepsHelper. - This is safe as we don't use runtime filegroups internally for Android... yet. - Clean up the NativeDepsHelper a bit. Fixes #392. Next steps are to make this configurable at the android_binary level. We should also disable whole-archive in this case. -- Change-Id: I95b0ce45d8b3adcf5424544c92ec30102b7fac6b Reviewed-on: https://bazel-review.googlesource.com/1879 MOS_MIGRATED_REVID=102239337
* Code cleanupGravatar Laurent Le Brun2015-09-03
| | | | | -- MOS_MIGRATED_REVID=102239051
* Fix a bug in SyntaxTreeVisitor to handle return statements.Gravatar Laurent Le Brun2015-09-03
| | | | | -- MOS_MIGRATED_REVID=102237430
* Make Python rules work in external repositories.Gravatar Lukacs Berki2015-09-03
| | | | | | | | | This is necessary to make mobile-install work using an android_local_tools_repository. Fixes #415. -- MOS_MIGRATED_REVID=102235910
* Add a new KeyedLocker, StripedKeyedLocker. This new implementation simply ↵Gravatar Eric Fellheimer2015-09-03
| | | | | | | stores a striped set of reentrant locks. -- MOS_MIGRATED_REVID=102198213