aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main
Commit message (Collapse)AuthorAge
* 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
* Rollback of not-actually-thread-safe code introduced in a previous change. ↵Gravatar Nathan Harmata2015-09-03
| | | | | | | IdentityHashMap#get can't be safely called concurrently with #put. -- MOS_MIGRATED_REVID=102189513
* Fix ios debug symbol generation on Bazel.Gravatar Rumou Duan2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102175026
* Modifications and improvements to AutoProfiler to reflect how it will be ↵Gravatar Nathan Harmata2015-09-02
| | | | | | | | | | used in the codebase: -Add integration with Profiler. -Add support for merely getting the elapsed time. -- MOS_MIGRATED_REVID=102165325
* Fix compile warningGravatar Kristina Chodorow2015-09-02
| | | | | | | | Gets rid of the annoying warning about not being able to find javax.inject.Named. -- MOS_MIGRATED_REVID=102156732
* Allow .dylib libraries in srcsGravatar Kristina Chodorow2015-09-02
| | | | | | | Fixes some of #407. -- MOS_MIGRATED_REVID=102148776
* Update xctest_app documentation to reflect that ios_application rules are a ↵Gravatar Chris Parsons2015-09-02
| | | | | | | valid target. -- MOS_MIGRATED_REVID=102146021
* sandbox: Better parsing of runfiles manifest files, fixes #413.Gravatar Philipp Wollermann2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102145100
* Show a column with the location of a skylark function in HTML profiling ↵Gravatar Googler2015-09-02
| | | | | | | statistics. -- MOS_MIGRATED_REVID=102143715
* sandbox: When spawn.getInputs() contains a directory, recurse into it and ↵Gravatar Philipp Wollermann2015-09-02
| | | | | | | mount the individual files. -- MOS_MIGRATED_REVID=102142064
* Fix includes documentationGravatar Kristina Chodorow2015-09-02
| | | | | | | | As pointed out on bazel-discuss, includes actually prepends -iquote, not -I, to the includes. -- MOS_MIGRATED_REVID=102139493
* When a Skylark macro creates a native rule, it also sets the following rule ↵Gravatar Florian Weikert2015-09-02
| | | | | | | attributes: generator_{function, name, location} -- MOS_MIGRATED_REVID=102139196
* Fix incorrect rendering of first histogram on click in tableGravatar Googler2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102138513
* Update error messages for missing fields. Make them more standard.Gravatar Laurent Le Brun2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102137469
* Fix broken tests.Gravatar Marian Lobur2015-09-02
| | | | | -- MOS_MIGRATED_REVID=102134151