aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Clarify the zip example from the actions documentation.Gravatar Googler2015-05-11
| | | | | -- MOS_MIGRATED_REVID=93305006
* Get the code cache directory for stub application from the Context instead ↵Gravatar Lukacs Berki2015-05-11
| | | | | | | | | | | of hard-coding it and move the incremental deployment directory from /sdcard/incrementaldeployment to /data/local/tmp/incrementaldeployment. The first is necessary because if the app is not run under the default user profile (e.g. Android For Work), the default location is not writable, thus, sadness, the second is necessary because /sdcard is not accessible from the non-default profile. This also makes it possible to eventually install .so files there, because the +x bit can be set under /data/local/tmp (unlike under /sdcard). -- MOS_MIGRATED_REVID=93287264
* RELNOTES: Fix linking order for Bazel-generated XCode projects.Gravatar Googler2015-05-11
| | | | | -- MOS_MIGRATED_REVID=93170106
* Add a --javac_extdir flag to enable configuring the javac -extdirs flagGravatar Liam Miller-Cushon2015-05-11
| | | | | | | | | | | | | | | The -extdirs flag sets a search path to the directory containing the JDK's extension classes, and should always be set explicitly when cross-compiling. If it is unset, the ext directory of the host JDK will be used instead. javac requires that -extdirs be a list of directories. The blaze --javac_extdir flag takes the label of a filegroup with the 'path' attribute set, and passes the directory path through to JavaBuilder. RELNOTES: N/A -- MOS_MIGRATED_REVID=93147656
* Allow .ld extension for linker scripts.Gravatar Onath Claridge2015-05-11
| | | | | | | -- Change-Id: I523f31cf2179521847f644c426235bdf76e9d497 Reviewed-on: https://bazel-review.googlesource.com/#/c/1262/ MOS_MIGRATED_REVID=93146490
* Revert commit 49e14 (github) to fix issue in generated Xcode projectsGravatar David Santiago2015-05-11
| | | | | | | | | | | | | The commit this reverts caused generated Xcode projects to fail to find their files, as apparently the project.pbxproj file format does not expand $() variables in the mainGroup element. This commit simply restores the original xcodeproj generation logic, so files are found by Xcode. -- Change-Id: Id3cc57498384cc212ef41c30e9c5a4e5d3065e42 Reviewed-on: https://bazel-review.googlesource.com/#/c/1120 MOS_MIGRATED_REVID=93140923
* Tell git to ignore files generated for/by IntelliJ Idea IDE.Gravatar Thiago Farina2015-05-08
| | | | | | | | | | | bazel.iml is generated by scripts/setup-intellij.sh and .idea is generated by IntelliJ Idea IDE after you open bazel project on it. `git status` stops showing these when ran. -- Change-Id: I2adc4a32ffb20d174b45be2b53deb098b6ef7fd9 MOS_MIGRATED_REVID=93139152
* Build language: Add str.format function.Gravatar Laurent Le Brun2015-05-08
| | | | | | | | | 'x{key}x'.format(key = 2) == 'x2x' It is a very simplified version of the Python format. -- MOS_MIGRATED_REVID=93130656
* Build language: Support 'not in' operator.Gravatar Laurent Le Brun2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93129861
* Rewrite of ZipCombiner to improve performance and maintainabilityGravatar Googler2015-05-08
| | | | | | | | | | | Poorly performing features of the API have been deprecated in favor of better alternatives: - use addZip(File) over addZip(InputStream) or addZip(String, InputStream) - use addFile(ZipFileEntry) over addFile(String, Date, InputStream, DirectoryEntryInfo) New zip package for high performance ZIP file manipulation. Can directly work with compressed ZIP entry data and has support for Zip64 (forces Zip32 by default). -- MOS_MIGRATED_REVID=93128639
* Fix info-keys help output.Gravatar Thiago Farina2015-05-08
| | | | | | | | | | | | | | Tested on Linux with the following command line: $ bazel help info-keys | sort | uniq -c And compared the output before and after. Fixes #175 -- Change-Id: Ia879796abf6f5b6b5742bfc9574d64fe53a650a3 MOS_MIGRATED_REVID=93127869
* Remove extra copy of info-keys from helpGravatar Kristina Chodorow2015-05-08
| | | | | | | Fixes #175. -- MOS_MIGRATED_REVID=93127118
* Small fixes for C++ docsGravatar Kristina Chodorow2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93125695
* Remove declaration of **environ from blaze.cc.Gravatar Thiago Farina2015-05-08
| | | | | | | | | | | | The one we need is already in option_processor.cc. Tested on Linux with the following command line: $ ./bootstrap_test.sh all -- Change-Id: I5cdd781d0c2e20242773db1ccb7e9eccd2980a78 MOS_MIGRATED_REVID=93122461
* Fix the remaining 'seperated' typos.Gravatar Thiago Farina2015-05-08
| | | | | | | | | | | | | I forgot to look at the header file when doing https://github.com/google/bazel/commit/a0592a13c8801f395a17641579f16a3c3bc4587e. Now I ran the following command line to make sure I didn't miss any: $ git grep seperated -- Change-Id: Id834f87667135e91bd0c3024e0a99e52954a7038 MOS_MIGRATED_REVID=93120398
* Skylark: type of None is NoneType (instead of None), for consistency with ↵Gravatar Laurent Le Brun2015-05-08
| | | | | | | Python. -- MOS_MIGRATED_REVID=93120393
* Make cc_* rules be able to depend on linker script in their deps attribute.Gravatar Lukacs Berki2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93110537
* Description redacted.Gravatar Keefer Taylor2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93066384
* Return all mappings in one Map from Runfiles#getRunfilesInputs(...)Gravatar Michajlo Matijkiw2015-05-08
| | | | | | | | | We wind up combining them anyway in the manifest file and it seems that this is consistent with how we read them back. Return them all at once to avoid tedious duplication in handling of them. -- MOS_MIGRATED_REVID=93058482
* Add plugin support to experimental_ios_testGravatar Daniel Wagner-Hall2015-05-08
| | | | | -- MOS_MIGRATED_REVID=93051778
* If effective user id != user id, force us to act as the effective user idGravatar Daniel Wagner-Hall2015-05-08
| | | | | | | /bin/bash clobbers euid with uid, which is undesirable when process-wrapper is a setuid binary being used for isolation. -- MOS_MIGRATED_REVID=93051178
* Switch to stat64/lstat64Gravatar Kristina Chodorow2015-05-08
| | | | | | | Better fix for #174. -- MOS_MIGRATED_REVID=93045666
* Fix JNI on 32-bit systemsGravatar Kristina Chodorow2015-05-08
| | | | | | | | | | | | | | The stat struct's size field is off_t, which varies in size between 32- and 64-bit systems. The size field in FileStatus.java is a long (which in Java is always 64 bits) so the size is getting initialized incorrectly. I can't think of a good way to add this to our integration tests, but I've tested in manually on a VM. Fixes #174. -- MOS_MIGRATED_REVID=93038537
* Skylark: int() function accepts bools and ints too.Gravatar Laurent Le Brun2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93026026
* Expose PythonSourcesProvider to Skylark.Gravatar Laurent Le Brun2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93025992
* Fix 'seperated' typo in ProcessArg() parameter.Gravatar Thiago Farina2015-05-07
| | | | | | | | s/seperated/separated. -- Change-Id: I303e4ff20b241c2c58fe00ad0a5e340b5bff54d9 MOS_MIGRATED_REVID=93025985
* Allow Bazel to have C/C++ include files with any extension.Gravatar Lukacs Berki2015-05-07
| | | | | | | Fixes #164. -- MOS_MIGRATED_REVID=93025634
* Add a mechanism for configuration fragments to add arbitrary rules to the ↵Gravatar Lukacs Berki2015-05-07
| | | | | | | defaults package. -- MOS_MIGRATED_REVID=93023029
* Cleanup: Remove GetJvm() function declaration.Gravatar Thiago Farina2015-05-07
| | | | | | | | There is no implementation and thus nobody is calling/using it. -- Change-Id: I2cf184e3d80eb0ef2b04ea4617697e8426cc7a58 MOS_MIGRATED_REVID=93018104
* Remove comment about a limitation that does not exist anymore.Gravatar Thiago Farina2015-05-07
| | | | | | | | | Since we are now in C++11, this comment about C++03 and ARRAYSIZE() macro (which we don't even have) does not apply and thus we can just remove it. -- Change-Id: Id0c0c59eab5b90ff5f70d5078caa2c8e618d787a MOS_MIGRATED_REVID=93017596
* Set the default options for Bazel test using a rc fileGravatar Damien Martin-Guillerez2015-05-07
| | | | | | | | | This helps introduce new default options as we increase the number of integration tests in Bazel. -- Change-Id: I3cec89054c603c1b5ba0134227b6e9d5fc8029f1 MOS_MIGRATED_REVID=93016923
* Update command that builds storyboards to pass correct optionsGravatar David Santiago2015-05-07
| | | | | | | | | | | | The command used to compile storyboards for iOS targets was leaving off the --target-device options, which would result in an empty compiled storyboard. This commit updates the command constructed so that it does pass those options and builds non-empty storyboards. -- Change-Id: Ief6aed6f61099fa19ec7846d2321b40f8fce1ab2 MOS_MIGRATED_REVID=93016471
* Fix link params collection for java_import.Gravatar Ulf Adams2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93014182
* Group java tests into test suitesGravatar Damien Martin-Guillerez2015-05-07
| | | | | -- MOS_MIGRATED_REVID=93012735
* Description redacted.Gravatar Googler2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92949679
* Enforce creation of the start timestamp in unittest.bashGravatar Damien Martin-Guillerez2015-05-07
| | | | | | | | | | If the set_up method fails then the start timestamp file is not created and the start timestamp argument to in the timestamp computation function will be undefined leading to an unwanted error if set -u is activated. -- Change-Id: I188e9302bbdb1049dc317765eaa653bafc5a51de MOS_MIGRATED_REVID=92946436
* Clean up some overly permissive permissions in FileStateValue.Gravatar Janak Ramakrishnan2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92944321
* Fix filegroup paths to work with external repositoriesGravatar Liam Miller-Cushon2015-05-07
| | | | | | | | getPackageFragment() only returns the relative path within a repository, getPathFragment() is needed to return the external path. -- MOS_MIGRATED_REVID=92941601
* Skylark documentation: Mention implicit attributes.Gravatar Laurent Le Brun2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92937527
* Normalize path fragment before saving it in package identifier.Gravatar Janak Ramakrishnan2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92934993
* Expose information from JavaRuntimeClasspathProvider to SkylarkGravatar Laurent Le Brun2015-05-07
| | | | | | | It's undocumented, but it can be used for experimentation. -- MOS_MIGRATED_REVID=92928896
* Combine pathTo{Digest,Bytes} in SingleBuildFileCacheGravatar Michajlo Matijkiw2015-05-07
| | | | | | | | | | | | Instead of updating the file size cache as a side effect of updating the digest cache we combine them into one cache to make it harder for them to fall out of sync (mainly by way of programmer error). This should also have a smaller memory footprint. Also fixes a bug around cached exceptions. -- MOS_MIGRATED_REVID=92928216
* Track BUILD file changes on new_ repositoriesGravatar Kristina Chodorow2015-05-07
| | | | | | | | I noticed, while writing http://bazel.io/docs/cpp.html#including-external-libraries-an-example, that the BUILD file didn't get reparsed when it changed. This fixes that. -- MOS_MIGRATED_REVID=92921670
* Description redacted.Gravatar Ulf Adams2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92920724
* Skylark cookbook example: Execute a binaryGravatar Laurent Le Brun2015-05-07
| | | | | -- MOS_MIGRATED_REVID=92915630
* Defer injection of top-level context until we are just about to do the ↵Gravatar Eric Fellheimer2015-05-06
| | | | | | | | | execution phase. Commands which do not perform execution would otherwise over-invalidate nodes. -- MOS_MIGRATED_REVID=92864280
* Simplify link params collection a little bit.Gravatar Ulf Adams2015-05-05
| | | | | -- MOS_MIGRATED_REVID=92843582
* Cleanup: Use the standard types from stdint.h.Gravatar Thiago Farina2015-05-05
| | | | | | | | | Now that our toolchain supports stdint.h, we don't need to provide our custom types ourselves through numbers.h. -- Change-Id: I01de083e735e5cd64bcca723b19c55b9429632b7 MOS_MIGRATED_REVID=92840495
* Unconditionally disallow path fragments with up-level referencesGravatar Janak2015-05-05
| | | | | | | | | | when resolving source artifacts. Fixes #152. -- Change-Id: I16e711b77374ecdf07a014935fca39acadaa2081 MOS_MIGRATED_REVID=92838655
* Split off more targets: collect, vfs and options.Gravatar Han-Wen Nienhuys2015-05-05
| | | | | | -- Change-Id: Ib8b9d2e14481aadd5548fb20cd38695e6f489217 MOS_MIGRATED_REVID=92835475