aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAge
* Add profiler support for compiled Skylark.Gravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107416625
* Add tests for nodes that are not used in the graph, but then are used in a ↵Gravatar Janak Ramakrishnan2015-11-10
| | | | | | | later evaluation. -- MOS_MIGRATED_REVID=107406133
* Create AppleConfiguration and AppleCommandLineOptions, and move a few items ↵Gravatar Chris Parsons2015-11-10
| | | | | | | | | | | of configuration over to the apple package. This moves a small number of configuration items over. Future changes will mostly likely follow to move yet more items. The split here is necessary as it is not only objc-related rules which require information about apple platforms and configuration -- cc rules will need this information as well to pass appropriate args to clang. -- MOS_MIGRATED_REVID=107396114
* Compile function call expressions.Gravatar Florian Weikert2015-11-10
| | | | | | | Mostly reuses the interpreters argument checking and helper functions. -- MOS_MIGRATED_REVID=107395974
* Change ProtoSourcesProvider to only export direct sources. Add a method, ↵Gravatar Michael Thvedt2015-11-10
| | | | | | | getCheckDepsProtoSources(), to get any indirect sources from alias library cases. -- MOS_MIGRATED_REVID=107395192
* Compile list and dict comprehensions to byte code.Gravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107394025
* Compile binary operations to byte code.Gravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107391382
* Compile for loops with break/continue to byte codeGravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107389651
* BUILD file tweaks.Gravatar Han-Wen Nienhuys2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107389541
* Compile dictionary literals to byte code.Gravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107388016
* Compile conditional statement and expressions.Gravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107385205
* Add list.index methodGravatar Laurent Le Brun2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107379557
* Description redacted.Gravatar Googler2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107379349
* Compile dot and not expressions to byte code.Gravatar Florian Weikert2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107378197
* Remove an unused class, ErrorConfiguredTarget.Gravatar Ulf Adams2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107378107
* Remove unused jquery/d3 references.Gravatar Han-Wen Nienhuys2015-11-10
| | | | | -- MOS_MIGRATED_REVID=107377319
* Compile assignments to byte code and throw errors.Gravatar Florian Weikert2015-11-10
| | | | | | | | Add EvalExceptions for cases in which the interpreter would throw them during evaluation of the function definition. -- MOS_MIGRATED_REVID=107376021
* Aspect terminology update.Gravatar Dmitry Lomov2015-11-10
| | | | | | | | Aspect => ConfiguredAspect AspectWithParameters => Aspect -- MOS_MIGRATED_REVID=107375211
* Added missing depedency to //src/main/java/com/google/devtools/build/lib:syntax.Gravatar Florian Weikert2015-11-06
| | | | | | | This should fix the build on Bazel CI. -- MOS_MIGRATED_REVID=107268744
* Add xcrunwrapper to deal with DEVELOPER_DIR and SDKROOT.Gravatar Dave MacLachlan2015-11-06
| | | | | | | | | Replace uses of $SDKROOT and $DEVELOPER_DIR values in compile paths with __DEVELOPER_DIR__ and __SDKROOT__ to that xcrunwrapper can deal with them appropriately. RELNOTES:none -- MOS_MIGRATED_REVID=107259512
* Fixes up bash stack walking on Mac OS. There are cases where BASH_SOURCE is ↵Gravatar Dave MacLachlan2015-11-06
| | | | | | | | | a sparse array with holes. This appears to be due to the sub shell launching of the tests. By using FUNCNAME as our count of stack frames, and "ignoring" the holes, we get much better stack output on the Mac. Previously we were just erroring out. RELNOTES:none -- MOS_MIGRATED_REVID=107255705
* Add experimental support for putting full paths into compile actions. This ↵Gravatar Dave MacLachlan2015-11-06
| | | | | | | | | is currently limited to compile actions started by the objc_* rules. Adding this because Xcode needs full paths to files embedded in the debug information if you want to debug while running in the simulator. RELNOTES:none -- MOS_MIGRATED_REVID=107253500
* Use the analysis package roots to set up the exec root.Gravatar Ulf Adams2015-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | With the new Skyframe-based loading phase runner as well as with --experimental_interleave_loading_and_analysis, we no longer run a full loading phase to load all dependencies; instead, we load packages during configuration creation and analysis. In that case, the loading phase result's package roots are empty. This change should be safe - the analysis package roots can be a subset of the loading package roots (we may not need to load stuff if there are select expressions with unused branches for the current set of options), but it should cover everything that is needed for the execution phase. If there is a bug in the new code path, it manifests as odd file not found errors during action execution, where the files seem to be there (but are not mapped into the exec root due to missing symlinks). The old code path uses TransitiveTargetValue.getTransitiveSuccessfulPackages(), the new one uses ConfiguredTargetValue.getTransitivePackages() and AspectValue.getTransitivePackages(). I audited the new code paths, and they look ok. -- MOS_MIGRATED_REVID=107252220
* Transform Blaze query to be able to work in streamed mode.Gravatar Miguel Alcon Pinto2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107249788
* Propagate ASwB aspect across robolectric implicit deps.Gravatar Googler2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107247614
* bazel: support linking accumulated libraries into C++ binariesGravatar Googler2015-11-06
| | | | | | | | | | | | | This CL permits a cc_binary to have a set of dependencies that are all gathered together when the cc_binary is linked, producing a set of LibraryToLink objects to link into the cc_binary. Each such dependency will an instance of a class that extends BuildLibraryToLink to a CcLinkParams. All instances of the same class will be gathered together. At link time the BuildLibraryToLink method buildLibraries will be called to build the LibraryToLink objects. -- MOS_MIGRATED_REVID=107242331
* Remove legacy code path for jars in srcsGravatar Liam Miller-Cushon2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107239677
* Provide the ability to declare host config fragments forGravatar Greg Estren2015-11-06
| | | | | | | | | | | | | | | | | | native rules (which already exists for Skylark rules). Don't actually distinguish between host and target fragments on the consuming end yet, though. That'll be a subsequent fine-tuning in constructing dynamic host / target configurations. So this cl may overapproximate actual needs, but that puts us in a better state than underapproximating, which just breaks builds. Also add one instance: Jvm.class, which gets used by java_library to find the java executable for compilation (in BaseJavaCompilationHelper). -- MOS_MIGRATED_REVID=107237470
* Clean up JavaCommon constructorsGravatar Googler2015-11-06
| | | | | | | BUG: 14473160 -- MOS_MIGRATED_REVID=107235668
* Compile list literals to byte code.Gravatar Klaas Boesche2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107231604
* Record Skyframe timing metrics even if Profiling is disabled.Gravatar Eric Fellheimer2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107228414
* Compile int and string literals to byte codeGravatar Klaas Boesche2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107227795
* Compile identifiers to byte codeGravatar Klaas Boesche2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107225693
* Compile return statements to byte codeGravatar Klaas Boesche2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107225692
* Add initial Skylark byte code generation code.Gravatar Klaas Boesche2015-11-06
| | | | | | | | Does not yet contain any implementation for expressions and statements but sets up various needed mechanisms and helper classes. -- MOS_MIGRATED_REVID=107222845
* Refactor the loading phase runner creation and remove the test duplication.Gravatar Ulf Adams2015-11-06
| | | | | | | | | The loading phase runner is now always created by the SkyframeExecutor, and the duplicate test is dropped in favor of subclassing and overriding one method. -- MOS_MIGRATED_REVID=107188756
* Add Byte Buddy dependency for Skylark compilation.Gravatar Klaas Boesche2015-11-06
| | | | | | | Split up asm and update it. -- MOS_MIGRATED_REVID=107187126
* Add a TODO for a known dynamic configuration problem: hostGravatar Greg Estren2015-11-06
| | | | | | | | | | | | | | configurations get trimmed to the same fragments as target configurations. This isn't correct, because null fragments in the target configuration (which in practice don't exist) shouldn't necessarily be excluded from the host config. In the worst case then can crash fragment loaders, which expect the fragment options to exist even if the fragment ends up being null. -- MOS_MIGRATED_REVID=107173093
* Add BazelConfiguration to GenRuleRule's declared fragments to supportGravatar Greg Estren2015-11-06
| | | | | | | | | | commandHelper.buildCommandLine (which calls BuildConfiguration.getShExecutable(), which gets set in this fragment). This issue really exposes itself through dynamic configurations. -- MOS_MIGRATED_REVID=107162857
* Remove BuildViewTestCase.assertContainsSublist, and use ↵Gravatar Carmi Grushko2015-11-06
| | | | | | | MoreAsserts.assertContainsSublist instead. -- MOS_MIGRATED_REVID=107158614
* Fix up issue where plutil isn't always being found by xcrun due to a variety ↵Gravatar Dave MacLachlan2015-11-06
| | | | | | | of factors including your PATH, the xcrun database and possibly the phase of the moon. -- MOS_MIGRATED_REVID=107153778
* Fix some wrong "return false" statements in our tests.Gravatar Philipp Wollermann2015-11-06
| | | | | -- MOS_MIGRATED_REVID=107150114
* Force sandboxing to be enabled on the sandboxing tests (fixes the failing ↵Gravatar Philipp Wollermann2015-11-06
| | | | | | | "test_sandbox_undeclared_deps_skylark" test). -- MOS_MIGRATED_REVID=107148478
* Propagate environment variables set with --test_env command line flag to the ↵Gravatar Googler2015-11-05
| | | | | | | | | test runner for ExperimentalIosTest. This is the first of two CLs. This CL allows templating and reading of the %(test_env)s variable. After this CL is released, another CL will introduce a the variable into ios_test.sh.bazel_template. -- MOS_MIGRATED_REVID=107141559
* Disable the Bazel/Skylark sandboxing test and fix erroneous 'return' stmt.Gravatar Googler2015-11-05
| | | | | -- MOS_MIGRATED_REVID=107140482
* Intern rdep removal operations to save memory on incremental builds.Gravatar Janak Ramakrishnan2015-11-05
| | | | | -- MOS_MIGRATED_REVID=107135644
* Improve error message for select objects ('+' operator for incompatible types)Gravatar Laurent Le Brun2015-11-05
| | | | | -- MOS_MIGRATED_REVID=107131704
* Fix up generated project reference for frameworks.Gravatar Dave MacLachlan2015-11-05
| | | | | | | RELNOTES:none -- MOS_MIGRATED_REVID=107100206
* Add missing header sources to Swift compilation stepsGravatar Dmitry Shevchenko2015-11-05
| | | | | | | | * Adds pass-through of dependent headers * Adds pass-through of search paths specified in "includes" attribute -- MOS_MIGRATED_REVID=107098761
* --Gravatar Carmi Grushko2015-11-05
| | | | MOS_MIGRATED_REVID=107071491