aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google
Commit message (Collapse)AuthorAge
* RELNOTES[NEW]: Added --relative_locations flag to the query command to make ↵Gravatar Damien Martin-Guillerez2015-03-13
| | | | | | | | | the locations of build files relative to the workspace root with protobuf and XML outputs Protobuf and XML outputs of query are non-deterministic. This flag is a first step to make genquery deterministic accross machine. -- MOS_MIGRATED_REVID=88428100
* Remove dead blaze flag --show_builder_stats.Gravatar Laszlo Csomor2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88428013
* Defaulted cpu to the host cpuGravatar Damien Martin-Guillerez2015-03-13
| | | | | | | | This should remove the needs for the --cpu=darwin flag under darwin. Bazel build are now using the host cpu too. This commit also fix the host cpu detection. The host cpu detection was too late and and some corner case was not really working with configurable attributes. It is now done as the default value for the --host_cpu flag. -- MOS_MIGRATED_REVID=88427551
* Document Bazel's genrule.Gravatar Laszlo Csomor2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88426689
* BazelTestSuiteRule is documented. The "suites" attribute is removed from ↵Gravatar Googler2015-03-13
| | | | | | | | | | BazelTestSuiteRule. - "suites" is deprecated - it has the exact same functionality as "tests" -- MOS_MIGRATED_REVID=88426066
* Implements an attribute textual_hdrs for cc_library rules.Gravatar Manuel Klimek2015-03-13
| | | | | | | | | | | We currently use .inc as file extension for textual includes, as per the style guide. This is not feasible for third_party libraries, including libc and lib(std)c++. RELNOTES: Add textual_hdrs attribute to cc_library rules. -- MOS_MIGRATED_REVID=88422306
* Save ~13% execution time in []RuleClassProvider.create() by only formatting ↵Gravatar Googler2015-03-13
| | | | | | | | | strings if the result will be used. This is about 120-130ms. -- MOS_MIGRATED_REVID=88397372
* Inform EvaluationProgressReceiver of nodes that are built in error.Gravatar Janak Ramakrishnan2015-03-13
| | | | | | | | | This allows the pending action counter to be decremented correctly when in --keep_going mode. As part of this, there's a small refactor in ParallelEvaluator that also fixes a potential bug, that nodes in error were signaling their parents with the graph version as opposed to their actual version. Because errors never compare equal (ErrorInfo doesn't override equality), this isn't an issue in practice. But it could be in the future. -- MOS_MIGRATED_REVID=88395500
* Delete unused class.Gravatar Nathan Harmata2015-03-13
| | | | | -- MOS_MIGRATED_REVID=88380387
* Make the semantics of runfiles trees saner by always using the entry that ↵Gravatar Lukacs Berki2015-03-13
| | | | | | | | | comes last in the iteration order for a particular path. Before, if there were three entries for the same path with the middle one being different, the first one would be overridden by the middle one, and the last one would be omitted because it is .equals() to the first. -- MOS_MIGRATED_REVID=88377253
* Fix classpath with named workspace for java binaryGravatar Damien Martin-Guillerez2015-03-13
| | | | | | | | The classpath construction used a prefix substitution that was not including the name of the workspace for java binaries. -- MOS_MIGRATED_REVID=88375741
* Move bundle_id storage from BundleMergeControlBytes to Bundling to fix a ↵Gravatar Googler2015-03-13
| | | | | | | | | case of nested bundles. RELNOTES: objc: Fixes a case where nested bundle would pick up parent bundle_id value -- MOS_MIGRATED_REVID=88372062
* Return the set of files found when discovering inputs. Skyframe will ↵Gravatar Janak Ramakrishnan2015-03-11
| | | | | | | | | probably want to store these and may declare dependencies in advance so all metadata is present in the graph. Long-term, we may be able to use the returned set to make input-discovering actions immutable, which would be nice. -- MOS_MIGRATED_REVID=88348068
* structured_resources allows directories in .app.Gravatar Peter Schmitt2015-03-11
| | | | | | | RELNOTES: objc_* rules can use structured_resources -- MOS_MIGRATED_REVID=88337360
* Populate a new local repository with the files, not dirGravatar Kristina Chodorow2015-03-11
| | | | | | | | | | | | Before, new_local_repository would create a symlink with the basename of the directory being linked to. For example, on my machine the JDK is in a directory named "jdk8", so the BUILD file had to prefix all of the files with "jdk8/". By symlinking the _contents_ of "path" instead of the basename of "path", the same BUILD file can be used no matter what the directory containing the JDK is called. -- MOS_MIGRATED_REVID=88333728
* Glob documentation is updated.Gravatar Googler2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88325408
* BazelFilegroupRule is documented.Gravatar Googler2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88322388
* Do not require a WORKSPACE file to load the external pkgGravatar Kristina Chodorow2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88277570
* Record statistics about dirty output files detected in the output tree.Gravatar Miguel Alcon Pinto2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88257621
* Compiling protos should generate coverage files(.gcno) if in coverage mode.Gravatar Googler2015-03-11
| | | | | -- MOS_MIGRATED_REVID=88236380
* Document Bazel's java_{binary,library,plugin,import} rules.Gravatar Laszlo Csomor2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88226575
* Misc Skylark cleanups and small featuresGravatar Francois-Rene Rideau2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88224368
* Allow ios_test to override the GCOV environment variableGravatar Daniel Wagner-Hall2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88218457
* Make the BE docgen's code a bit nicer.Gravatar Laszlo Csomor2015-03-10
| | | | | | | | | Remove unused section (Generating rules) and simplify the code that reads basic rule definitions (name, type, family) in for example: <!-- #BLAZE_RULE (NAME = cc_binary, TYPE = BINARY, FAMILY = C / C++) --> -- MOS_MIGRATED_REVID=88200584
* A minor documentation change in OutputGroupProvider.Gravatar Lukacs Berki2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88198589
* Force log flush at the end of a command execution.Gravatar Miguel Alcon Pinto2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88160544
* Increase exception specificity in getPackageGravatar Mark Schaller2015-03-10
| | | | | | | | | | | | The package resolver calls getValueOrThrow in its getPackage method. This call can throw an exception, and a year ago, the exception could be multiple different subtypes of NoSuchThingException. Subsequently, we made it so that only NoSuchPackageException could be thrown, but the exception type specified in this call site remained the more general supertype. -- MOS_MIGRATED_REVID=88154358
* Skylark: Show ordering when pretty-printing sets.Gravatar Laurent Le Brun2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88149329
* RELNOTES: Expose getWorkspaceName as ctx.workspace_name in Skylark.Gravatar Han-Wen Nienhuys2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88137421
* Exempt Bazel WORKSPACE rules from constraint checking.Gravatar Greg Estren2015-03-10
| | | | | | | RELNOTES: -- MOS_MIGRATED_REVID=88129488
* Revert the recent changes that made some skyframe-internal data structures ↵Gravatar Nathan Harmata2015-03-10
| | | | | | | serializable; alternative graph implementations no longer need these. -- MOS_MIGRATED_REVID=88003503
* Introduce KeyedLocker, a nice concurrency abstraction for managing lots of ↵Gravatar Nathan Harmata2015-03-10
| | | | | | | mutexes, and RefCountedMultisetKeyedLocker, an efficient implementation of this abstraction. -- MOS_MIGRATED_REVID=88000985
* Stop repeating the repository name as pkg name for local reposGravatar Kristina Chodorow2015-03-10
| | | | | | | Ahh, much better. -- MOS_MIGRATED_REVID=87983553
* Remove unneeded codeGravatar Kristina Chodorow2015-03-10
| | | | | -- MOS_MIGRATED_REVID=87976189
* Fix the example usage for CompileOrderExpander.Gravatar Michael Staib2015-03-10
| | | | | -- MOS_MIGRATED_REVID=87972774
* Remove obsolete comment about labels-crossing-subpackage check happening in ↵Gravatar Nathan Harmata2015-03-10
| | | | | | | legacy package loading. It now happens in skyframe package loading. -- MOS_MIGRATED_REVID=87972524
* Add the method InMemoryNodeEntry#getGroupedDirectDeps so callers can access ↵Gravatar Nathan Harmata2015-03-10
| | | | | | | the ordered list of grouped deps. -- MOS_MIGRATED_REVID=87969259
* Convert binding exception to something that's actually caught in PackageFunctionGravatar Kristina Chodorow2015-03-10
| | | | | -- MOS_MIGRATED_REVID=87967267
* Some constraint enforcement tweaks:Gravatar Greg Estren2015-03-10
| | | | | | | | | | | 1) Exclude host dependencies from constraint checking. 2) Check output files with the environment specs of their generating rules. 3) Provide a more generalized way to opt certain rule classes out of constraint checking (this fixes accidental checking on config_setting rules, which didn't really make sense). -- MOS_MIGRATED_REVID=87963638
* Allow BUILD files directly under the build rootGravatar Kristina Chodorow2015-03-10
| | | | | | | | | This makes the empty package name legal (//:foo). If the empty package is used, this symlinks everything under the build root to the exec root. This includes directories. -- MOS_MIGRATED_REVID=87960882
* Skylark: Expose non_empty flag for list/dict attributes.Gravatar Laurent Le Brun2015-03-10
| | | | | -- MOS_MIGRATED_REVID=87956686
* Remove the unused and weird "omit a random symlink from the runfiles being ↵Gravatar Lukacs Berki2015-03-10
| | | | | | | merged" functionality from Runfiles.Builder. -- MOS_MIGRATED_REVID=87954443
* The info command keys now contain the correct product nameGravatar Laurent Le Brun2015-03-10
| | | | | | | | e.g. $ bazel info bazel-bin -- MOS_MIGRATED_REVID=87943280
* Restore Skylark "support" for inheritanceGravatar Francois-Rene Rideau2015-03-06
| | | | | | | | | | Classes of the same EvalUtils.getSkylarkType are once again the same for the type inferencer. Also, for debugging purposes, only print SkylarkClassObject as struct, not all classes that implement ClassObject yet are considered disjoint by the type engine. -- MOS_MIGRATED_REVID=87933890
* RELNOTES[NEW]: The "args" attribute of *_binary and *_test rules now support ↵Gravatar Damien Martin-Guillerez2015-03-06
| | | | | | | | | expanding $(location //some/deps) *_binary and *_test rules were supporting make variables substitution but not location expansion like genrule() does. Now the $(location //some/label) where //some/label is the label of a dependency of the rule will be replaced at runtime by the actual location of that dependency. In the same manner $(locations //some/label) will be replaced by the space separated list of files of the //some/label dependency. A longer usage explanation is provided in the build encyclopedia. -- MOS_MIGRATED_REVID=87927345
* Add --target_environment flag. This declares the environment (or set of ↵Gravatar Greg Estren2015-03-06
| | | | | | | | | | | | | | | | | | environments) the build is being done for. In other words: blaze build //foo:all --target_environment=//buildenv/target:gce declares that this build targets GCE, so all top-level targets must also support GCE. This essentially allows constraint enforcement to apply to top-level targets, too. So users can protect against accidentally building targets in configurations they're not meant to work with. -- MOS_MIGRATED_REVID=87862252
* Fix Bazel compileGravatar Kristina Chodorow2015-03-06
| | | | | -- MOS_MIGRATED_REVID=87858855
* RELNOTES: Added ios_memleaks flag which when enabled will check the test ↵Gravatar Googler2015-03-05
| | | | | | | application for memory leaks. -- MOS_MIGRATED_REVID=87839695
* List of file extensions supported in BaselineCoverageAction is moved to ↵Gravatar Googler2015-03-05
| | | | | | | Constants. -- MOS_MIGRATED_REVID=87823207
* Some cleanup changes.Gravatar Ulf Adams2015-03-05
| | | | | -- MOS_MIGRATED_REVID=87821306