aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Disable include scanning for assembler-without-preprocessor source.Gravatar Googler2015-09-28
| | | | | | | | The scanner only looks for C preprocessor directives, but most assemblers allow '.include' assembly directives, and those aren't found by the scanner. So skip the include scanner for assembly files that don't want C preprocessing, because correctly declared inclusions are to be preferred anyway. -- MOS_MIGRATED_REVID=103944189
* Quick and dirty fix for #456.Gravatar John Sullivan2015-09-28
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/458 MOS_MIGRATED_REVID=103943941
* Find the test setup script based on its basename and not its precise exec path.Gravatar Lukacs Berki2015-09-28
| | | | | | | This is necessary so that the existence of a script //tools/test:test-setup.sh is not hardcoded into Bazel, which is in turn necessary so that the Bazel tools (//tools/...) are not required to be in the main repository. -- MOS_MIGRATED_REVID=103943618
* Split the PackageManager type hierarchy; no longer inherit LoadedPackageProv.Gravatar Ulf Adams2015-09-28
| | | | | | | | | | | | | This limits the exposure of LoadedPackageProvider, such that there will be no regressions in the use of getLoadedTarget. Unfortunately, fully removing LoadedPackageProvider is more work than I'm willing to take on right now, and this is the cleanest intermediate solution I could come up with. This unblocks my other work (removing SkyframeExecutor.errorEventHandler). Someone else will have to shave this yak. -- MOS_MIGRATED_REVID=103943375
* Port LabelValidatorTest.java to JUnit4.Gravatar Han-Wen Nienhuys2015-09-28
| | | | | -- MOS_MIGRATED_REVID=103943187
* Also ship the linker for LTO backend actions.Gravatar Han-Wen Nienhuys2015-09-28
| | | | | -- MOS_MIGRATED_REVID=103942611
* Make rules construction more flexible.Gravatar Miguel Alcon Pinto2015-09-28
| | | | | -- MOS_MIGRATED_REVID=103942367
* Add PetitParser to usersGravatar Kristina Chodorow2015-09-25
| | | | | | | Also moved the corporate users up. -- MOS_MIGRATED_REVID=103940710
* Fix broken links to lib/Globals.html.Gravatar Googler2015-09-25
| | | | | -- MOS_MIGRATED_REVID=103940678
* Use JUnit4 for skylark tests.Gravatar Han-Wen Nienhuys2015-09-25
| | | | | | | -- Change-Id: I3cf7a8127da60d93005594d73abbdb8f7bda7cf2 Reviewed-on: https://bazel-review.googlesource.com/#/c/2041 MOS_MIGRATED_REVID=103940423
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Mention chroot in --batch description.Gravatar Han-Wen Nienhuys2015-09-25
| | | | | | | Fixes #134. -- MOS_MIGRATED_REVID=103935102
* Use Label.parseAbsolute() to determine whether command line options that can ↵Gravatar Lukacs Berki2015-09-25
| | | | | | | | | take absolute paths and labels are labels. This makes them work with labels not in the main repository (i.e. @repo//pkg:target). The alternative would have been to simply add .startsWith("@"), but why try to parse labels in a lame and limited way if we can do the right thing. -- MOS_MIGRATED_REVID=103934380
* Improved error reporting in RuleContext:Gravatar Florian Weikert2015-09-25
| | | | | | | | - Unified duplicate code from RuleContext and RuleContext.Builder in a new class, RuleContext.ErrorReporter - Added the BUILD file location to error/warning messages if the offending rule was created by a macro -- MOS_MIGRATED_REVID=103934375
* Do not hardcode the path to genrule-setup.sh in the implementation of genrule.Gravatar Lukacs Berki2015-09-25
| | | | | | | I don't know why it was implemented like that in the first place. -- MOS_MIGRATED_REVID=103934038
* Implemented copy constructor for Skylark dictionaries: new_dict = dict(old_dict)Gravatar Florian Weikert2015-09-25
| | | | | -- MOS_MIGRATED_REVID=103932279
* [sass] Fixing typo in README.mdGravatar Derek Perez2015-09-25
| | | | | | -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/482 MOS_MIGRATED_REVID=103931458
* Skylark rules can no longer overwrite built-in attributes.Gravatar Florian Weikert2015-09-25
| | | | | -- MOS_MIGRATED_REVID=103931317
* Minor usability fixes for the incremental deployment stub application:Gravatar Lukacs Berki2015-09-25
| | | | | | | | - Pass a File around for cacheDir instead of its String name. It was needlessly converted to String, which made the stub application fail if cacheDir was null (odd, but seems to happen) - Enhance a log message so that it contains more than zero information -- MOS_MIGRATED_REVID=103928940
* Tweak the installation order of split APKs so that there is less logcat spam ↵Gravatar Lukacs Berki2015-09-25
| | | | | | | during "mobile install --split_apks". -- MOS_MIGRATED_REVID=103927507
* Removed new_file_suffix().Gravatar Florian Weikert2015-09-25
| | | | | -- MOS_MIGRATED_REVID=103926575
* Add a serialization proxy to RepositoryName instead of PackageIdentifier so ↵Gravatar Lukacs Berki2015-09-25
| | | | | | | | | that naked RepositoryName objects can also be serialized properly. Also store the initial offset a target pattern was parsed with. -- MOS_MIGRATED_REVID=103921930
* Clarify contract of EvaluationResult -- the same key can never be present in ↵Gravatar Janak Ramakrishnan2015-09-25
| | | | | | | both an "error" and "success" state. -- MOS_MIGRATED_REVID=103897656
* Prefetch and assert done on direct deps. Also print a more informative error ↵Gravatar Janak Ramakrishnan2015-09-25
| | | | | | | message if a previously known direct dep isn't done. -- MOS_MIGRATED_REVID=103880990
* Change Attribute.skipConstraintsCheck() (and similar methods)Gravatar Greg Estren2015-09-25
| | | | | | | | | | | | | to Attribute.skipPrereqValidatorCheck. This is to disambiguate the concept of "constraints" and keep the word consciously focused on Bazel's *new* constraint system. The changed methods refer to checks done by PrerequisiteValidator, which is basically an adhoc version of the "old" system (e.g. checking visibility) -- MOS_MIGRATED_REVID=103872412
* Make sure runtime shuts down on exception in uncaught exception handlerGravatar Michajlo Matijkiw2015-09-25
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=103869828
* [Docker] Correctly append ./ prefix to dotted files in archivesGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | Previously, dotted files were though of having the './' prefix. -- MOS_MIGRATED_REVID=103864015
* Fix TZ entry in test-encyclopedia.Gravatar Han-Wen Nienhuys2015-09-25
| | | | | | | Partially addresses issue #422. -- MOS_MIGRATED_REVID=103859649
* Added comment about why there are so many "throws InterruptedException" ↵Gravatar Florian Weikert2015-09-25
| | | | | | | declarations. -- MOS_MIGRATED_REVID=103858156
* Remove another use of errorEventHandler.Gravatar Ulf Adams2015-09-25
| | | | | -- MOS_MIGRATED_REVID=103850879
* Disable generateSubModules, since it causes issues with private headers.Gravatar Googler2015-09-25
| | | | | -- MOS_MIGRATED_REVID=103847305
* Use byte[] and Input/OutputStream directly for HTTP downloads.Gravatar Han-Wen Nienhuys2015-09-25
| | | | | | | | | | | | | nio.channels.ReadableByteChannel is unbuffered, so this causes HTTP downloads to read and write in 1 byte increments. To boot, InputStream#read and OutputStream#write are simpler. Fixes #478. -- Change-Id: Ic4854e03f5d48e47fb8cc58bbbdc459b831b16f3 Reviewed-on: https://bazel-review.googlesource.com/#/c/2040 MOS_MIGRATED_REVID=103844552
* Remove the experimental check-deps implementation.Gravatar Ulf Adams2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103839895
* Remove more uses of errorEventHandler (previously of Reporter).Gravatar Ulf Adams2015-09-24
| | | | | | | Removes mutable global state. -- MOS_MIGRATED_REVID=103837106
* Rollback of commit 402d112bc25449f1e690bbbace600bbcda834d24.Gravatar Googler2015-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | *** Reason for rollback *** Rollforward with fix *** Original change description *** Automated [] rollback of []. *** Reason for rollback *** Breaks tests. *** Original change description *** Remove gen jar implicit output. This allows us to only create a jar for libraries that use annotation processing. It also increases our flexibility by reducing the visibility of these gen jars to an undocumented output group. -- MOS_MIGRATED_REVID=103833283
* Removes the automatic values from the bundlemerge.jar and plmerge.jar and reliesGravatar Anastasios Kakalis2015-09-24
| | | | | | | on the environment_plist.sh to populate the right values in the Info.plist. -- MOS_MIGRATED_REVID=103831542
* Remove all direct uses of SkyframeExecutor.reporter.Gravatar Ulf Adams2015-09-24
| | | | | | | | | Instead, pass an appropriate EventHandler instance in. This is in preparation for creating a per-command EventHandler, in preparation for allowing multiple commands to run in parallel. This is removal of shared global state. -- MOS_MIGRATED_REVID=103828963
* Add rust_docs ruleGravatar David Chen2015-09-24
| | | | | | | | | | | | Additional updates to Rust rules: * Consolidate BUILD files for Rust distribution. * Prevent rust_binary from depending directly on cc_library. * Update Rust version to 1.3.0 RELNOTES: [rust] Add rust_docs rule for generating rustdoc. -- MOS_MIGRATED_REVID=103827592
* Add a main_dex_proguard_specs attribute to android_binary that lets users ↵Gravatar Lukacs Berki2015-09-24
| | | | | | | | | | | specify which classes should go into the main dex. This mode uses Proguard to determine the dependencies of these classes, which means that no error-prone manual listing required like in multidex="manual" mode. RELNOTES: android_binary now has a main_dex_proguard_specs attribute to specify which classes should be in the main dex. -- MOS_MIGRATED_REVID=103824119
* Move mock workspace configuration to AnalysisMock.Gravatar Dmitry Lomov2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103823555
* Make intra-package wildcards work for remote repositories and clean up ↵Gravatar Lukacs Berki2015-09-24
| | | | | | | | | target pattern parsing just a tiny little bit. This wounds #389 dealing 4d6 fire damage (recursive wildcards, e.g. /... and friends still don't work) -- MOS_MIGRATED_REVID=103822319
* Rollback of commit 53330510c6ea5cd6257b9981b44e52d15a9e01aa.Gravatar Googler2015-09-24
| | | | | | | | | | | | | | | | | *** Reason for rollback *** Breaks tests. *** Original change description *** Remove gen jar implicit output. This allows us to only create a jar for libraries that use annotation processing. It also increases our flexibility by reducing the visibility of these gen jars to an undocumented output group. -- MOS_MIGRATED_REVID=103800137
* Make TargetFormatter available for tests.Gravatar Janak Ramakrishnan2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103798663
* Improve performance of Sky query.Gravatar Miguel Alcon Pinto2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103793399
* Propagates cc_library linkopts attribute to dependent objc_libraries.Gravatar Googler2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103792157
* Remove gen jar implicit output.Gravatar Googler2015-09-24
| | | | | | | | | This allows us to only create a jar for libraries that use annotation processing. It also increases our flexibility by reducing the visibility of these gen jars to an undocumented output group. -- MOS_MIGRATED_REVID=103789186
* Fix attribute capitalizationGravatar Kristina Chodorow2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103785076
* Merge BazelIosTest and ExperimentalIosTest, deleting the former.Gravatar Chris Parsons2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103781890
* Remove both of equals/hashCode from classes in lib/packages where either ↵Gravatar Nathan Harmata2015-09-24
| | | | | | | | | only one of them was implemented (potentially incorrectly) or the class really intends to have reference equality. RELNOTES: -- MOS_MIGRATED_REVID=103778746
* Better syncing of Google vs. external constraint enforcement.Gravatar Greg Estren2015-09-24
| | | | | -- MOS_MIGRATED_REVID=103768073