aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
Commit message (Collapse)AuthorAge
* Add note about requiring an <instrumentation> tag in a test app's ↵Gravatar jingwen2018-08-14
| | | | | | | AndroidManifest.xml RELNOTES: None. PiperOrigin-RevId: 208725953
* Fix "Deprecated API" headerGravatar laurentlb2018-08-14
| | | | | RELNOTES: None. PiperOrigin-RevId: 208661270
* add missing comma in cc_library exampleGravatar steple2018-08-10
| | | | | | Closes #5758. PiperOrigin-RevId: 208203915
* correct the link within code blockGravatar Wayou Liu2018-08-10
| | | | | | Closes #5757. PiperOrigin-RevId: 208203833
* Add minimal documentation for the new aquery command.Gravatar twerth2018-08-09
| | | | | RELNOTES: None PiperOrigin-RevId: 208049281
* Add Angular rules to the building javascript resources page.Gravatar Googler2018-08-09
| | | | PiperOrigin-RevId: 208049079
* Fix typo.Gravatar twerth2018-08-09
| | | | | RELNOTES: None PiperOrigin-RevId: 208048947
* Remove "experimental" from android_instrumentation_test docsGravatar jingwen2018-08-08
| | | | | RELNOTES: None. PiperOrigin-RevId: 207933242
* Document the fact that blaze query doesn't respect the 'manual' flag on ↵Gravatar juliexxia2018-08-08
| | | | | | tests. This could change in the future but has confused several people recently so documenting the state of the world as is for now. PiperOrigin-RevId: 207908818
* docs: update link to Visual C++ Build Tools 2015Gravatar Laszlo Csomor2018-08-02
| | | | | | | | | | Fixes https://github.com/bazelbuild/bazel/issues/5720 Change-Id: I4270c395029691bcc9f4a3931a4401923edf2441 Closes #5739. PiperOrigin-RevId: 207225362
* Change the list of rc files accepted.Gravatar ccalvarin2018-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The old list was, in order: - %workspace%/tools/bazel.rc (unless --nomaster_bazelrc) - %binary_dir%/bazel.bazelrc (unless --nomaster_bazelrc) - system rc, /etc/bazel.bazelrc or in %ProgramData% for Windows (unless --nomaster_bazelrc) - the first of the following gets called the "user" bazelrc - path passed by flag --bazelrc - %workspace%/.bazelrc - $HOME/.bazelrc The new list is hopefully a bit more consistent, as: - system rc (unless --nosystem_rc) - workspace, %workspace%/.bazelrc (unless --noworkspace_rc) - user, $HOME/.bazelrc (unless --nohome_rc) - command-line provided, passed as --bazelrc or nothing if the flag is absent. This list removes two less than useful locations, duplication in the Workspace directory, and the rc next to the bazel binary. This location made sense at Google but is generally nonsensical elsewhere so we are removing it. It also stops the user local rc file from being overriden by passing in a custom file in --bazelrc. In both old and new, --ignore_all_rc_files disables all of the above. For a transition period, any file that you would have loaded but was not read will cause a WARNING to be printed. If you want the old file to still be read without moving its location, you can always import it into one of the new standard locations, or create a symlink. Closes #4502, except for cleanup to remove the warning after a transition period of 1 Bazel version has passed. RELNOTES[INC]: New bazelrc file list. PiperOrigin-RevId: 207189212
* Fixed two broken linksGravatar Googler2018-08-02
| | | | | RELNOTES: None PiperOrigin-RevId: 207134083
* Modify --subcommands to allow pretty printing the arguments of a subcommandGravatar ahumesky2018-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as a list, rather than as a single line (i.e., newline delimited rather than space delimited). Before: SUBCOMMAND: # //src/main/java/com/google/devtools/build/lib:string_util [action 'Building src/main/java/com/google/devtools/build/lib/libstring_util.jar (2 source files) [for host]'] (cd /tmp/devbazel_output_base/execroot/io_bazel && \ exec env - \ LC_CTYPE=en_US.UTF-8 \ external/embedded_jdk/bin/java -XX:+UseParallelOldGC -XX:-CompactStrings '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' '--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' '--patch-module=java.compiler=external/bazel_tools/third_party/java/jdk/langtools/java_compiler.jar' '--patch-module=jdk.compiler=external/bazel_tools/third_party/java/jdk/langtools/jdk_compiler.jar' '--add-opens=java.base/java.nio=ALL-UNNAMED' -jar external/bazel_tools/tools/jdk/JavaBuilder_deploy.jar @bazel-out/host/bin/src/main/java/com/google/devtools/build/lib/libstring_util.jar-2.params) After: SUBCOMMAND: # //src/main/java/com/google/devtools/build/lib:string_util [action 'Building src/main/java/com/google/devtools/build/lib/libstring_util.jar (2 source files) [for host]'] (cd /tmp/devbazel_output_base/execroot/io_bazel && \ exec env - \ LC_CTYPE=en_US.UTF-8 \ external/embedded_jdk/bin/java \ -XX:+UseParallelOldGC \ -XX:-CompactStrings \ '--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' \ '--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED' \ '--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED' \ '--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' \ '--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED' \ '--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED' \ '--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED' \ '--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED' \ '--patch-module=java.compiler=external/bazel_tools/third_party/java/jdk/langtools/java_compiler.jar' \ '--patch-module=jdk.compiler=external/bazel_tools/third_party/java/jdk/langtools/jdk_compiler.jar' \ '--add-opens=java.base/java.nio=ALL-UNNAMED' \ -jar \ external/bazel_tools/tools/jdk/JavaBuilder_deploy.jar \ @bazel-out/host/bin/src/main/java/com/google/devtools/build/lib/libstring_util.jar-2.params) RELNOTES: --subcommands can now take a "pretty_print" value ("--subcommands=pretty_print") to print the arguments of subcommands as a list for easier reading. PiperOrigin-RevId: 206213009
* Update build-ref.htmlGravatar Alex Beggs2018-07-26
| | | | | | | | Add a missing indefinite article Closes #5673. PiperOrigin-RevId: 206203662
* docs: update Windows installation and setup docsGravatar Laszlo Csomor2018-07-26
| | | | | | | | | | | | | | Also update the Java Tutorial page to say you have to install the JDK and set JAVA_HOME. See https://github.com/bazelbuild/bazel/issues/5208 Change-Id: I14b792589c39f03572518aaff6f6f8e5ca8a65c8 Closes #5617. Change-Id: I45c841189b0c220365ab9aeeb67f26b32059be4a PiperOrigin-RevId: 206156529
* Automatic code cleanup.Gravatar Googler2018-07-26
| | | | PiperOrigin-RevId: 206124597
* Remove cookbookGravatar laurentlb2018-07-25
| | | | | | | The cookbook was not maintained and was replaced by https://github.com/bazelbuild/examples RELNOTES: None. PiperOrigin-RevId: 206046316
* Add a --server_javabase startup option as an alias for the LHS --host_javabaseGravatar cushon2018-07-25
| | | | | | | | | | to avoid confusion between the LHS and RHS host_javabases. The LHS --host_javabase option should be considered deprecated and will eventually be removed. RELNOTES: Rename the startup flag --host_javabase to --server_javabase to avoid confusion with the build flag --host_javabase PiperOrigin-RevId: 206015757
* Delete --show_package_location, which has been deprecated / no-op for years.Gravatar felly2018-07-24
| | | | | | | Fixes #5592. RELNOTES: Deleting deprecated no-op flag --show_package_location PiperOrigin-RevId: 205834069
* Make the docs for --javabase less misleadingGravatar cushon2018-07-23
| | | | PiperOrigin-RevId: 205718853
* Fix bazel vision layoutGravatar dslomov2018-07-23
| | | | | RELNOTES: None PiperOrigin-RevId: 205668909
* fix typo: "how to creates" -> "how to create"Gravatar Vladimir Rutsky2018-07-23
| | | | | | Closes #5649. PiperOrigin-RevId: 205662376
* Add Bazel + Android codelab to Android Resources pageGravatar Jingwen Chen2018-07-23
| | | | | | Closes #5598. PiperOrigin-RevId: 205662280
* Add Bazel Vision document.Gravatar Dmitry Lomov2018-07-23
| | | | | | | | Add Bazel Vision document. Closes #5612. PiperOrigin-RevId: 205652638
* Remove gender specific prononuns from Bazel codebaseGravatar hlopko2018-07-23
| | | | | RELNOTES: None. PiperOrigin-RevId: 205635805
* Rules are no longer experimental.Gravatar laurentlb2018-07-20
| | | | | | | | | Exact API will continue to evolve, some specific functions are experimental, but we can't really say that the concept of rule is experimental. RELNOTES: None. PiperOrigin-RevId: 205383939
* Remove documentation about Bazel without embedded JDKGravatar pcloudy2018-07-19
| | | | | | | Since we no longer release the Bazel version without an embedded JDK. RELNOTES: None PiperOrigin-RevId: 205356986
* Fix multi line code blocksGravatar dannark2018-07-19
| | | | | RELNOTES: None PiperOrigin-RevId: 205281433
* Remove stray backticks to fix end of code block in testing documentation.Gravatar Googler2018-07-18
| | | | | | Also replaced ```` with ``` in other document where it didn't cause a visible change. PiperOrigin-RevId: 205112255
* Add anchor tags to external.md page for actual linkability!Gravatar dannark2018-07-17
| | | | | RELNOTES: None PiperOrigin-RevId: 204969740
* Add doc about repo_mappingGravatar dannark2018-07-17
| | | | | RELNOTES: None PiperOrigin-RevId: 204948309
* Adds documentation for community supported platformsGravatar Rishabh Chakrabarti2018-07-17
| | | | | | | | | | | | Add instructions for community maintained packages. Ref : Github issue #5332 @jin Is this how you want it? Closes #5582. PiperOrigin-RevId: 204919383
* [Skylark] Make range function lazy.Gravatar Taras Tsugrii2018-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | range used to use MutableList which would eagerly allocate an array list with all range elements, which is not efficient for very large ranges or when only a small number of its elements are used. This implementation uses a constant amount of RAM and computes a value for each requested index. For the following Skylark snippet: ``` def check_content(t): if t == []: return t return False def modulo(n): return n % 797 N = 10000000 [check_content(i) for i in range(N)] [check_content(i) for i in range(N)] [modulo(i) for i in range(N)] [modulo(i) for i in range(N)] ``` the total runtime goes from ``` $ time bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl 93.09s user 1.67s system 316% cpu 29.930 total ``` to ``` $ time bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl bazel-bin/src/main/java/com/google/devtools/skylark/Skylark test.bzl 31.45s user 0.86s system 179% cpu 17.974 total ``` which reflects the reduced system time (fewer allocations) and performance. Closes #5240. PiperOrigin-RevId: 204918577
* Update Bazel and Android sidebar links to provide direct links to core resourcesGravatar jingwen2018-07-12
| | | | | RELNOTES: None. PiperOrigin-RevId: 204320776
* site: udpate remote caching docs. Fixes #5488Gravatar buchgr2018-07-11
| | | | | RELNOTES: None PiperOrigin-RevId: 204181375
* Fixed some typos in the Android NDK documentationGravatar jingwen2018-07-11
| | | | | RELNOTES: None. PiperOrigin-RevId: 204173447
* Documentation for Android NDK support with BazelGravatar jingwen2018-07-11
| | | | | | | Example workspace: https://github.com/bazelbuild/examples/pull/66/files RELNOTES: None. PiperOrigin-RevId: 204162234
* Fix closing bracket for URLGravatar Googler2018-07-11
| | | | PiperOrigin-RevId: 204160729
* remote: unix socket support for remote http cachingGravatar buchgr2018-07-11
| | | | | | | | | | | This adds support for Unix sockets to Bazel for the remote http cache. See corresponding issue #5098 for discussion. RELNOTES: Introduce the --remote_cache_proxy flag, which allows for remote http caching to connect via a unix domain socket. PiperOrigin-RevId: 204111667
* Remove the experimental section on the website.Gravatar laurentlb2018-07-11
| | | | | | | | The page https://docs.bazel.build/versions/master/experimental.html is not useful. The only link is also available via the `Bazel and Apple` section. RELNOTES: None. PiperOrigin-RevId: 204110632
* Sync jmmv@'s table styles for the docs.bazel.build site.Gravatar jingwen2018-07-09
| | | | | | | | | | Sources: https://github.com/bazelbuild/bazel-blog/commit/846478d6943162f4c4d7d50001069e0ca7b2ec28 https://github.com/bazelbuild/bazel-blog/commit/aacaa25314678c08772372b3d46697f7963bb201 RELNOTES: None. PiperOrigin-RevId: 203763253
* Update Blaze user manual to mention the new blaze run behavior.Gravatar diamondm2018-07-09
| | | | | RELNOTES: None. PiperOrigin-RevId: 203723885
* Clarify documentation for implicit deps and default attr valuesGravatar brandjon2018-07-06
| | | | | RELNOTES: None PiperOrigin-RevId: 203466429
* Skylark spec: -x is not an Operand, but a UnaryExprGravatar laurentlb2018-07-03
| | | | PiperOrigin-RevId: 203167019
* Clarify attr documentationGravatar brandjon2018-07-03
| | | | | | | Fixes #5335 RELNOTES: None PiperOrigin-RevId: 203148338
* PiperOrigin-RevId: 203116395Gravatar brandjon2018-07-03
|
* Docs: Query Language: Minor cleanupGravatar Googler2018-07-02
| | | | | RELNOTES: None. PiperOrigin-RevId: 202988920
* site/docs: update list of supported fedora versionsGravatar Nikhita Raghunath2018-06-28
| | | | | | | | /cc @vbatts Closes #5482. PiperOrigin-RevId: 202489367
* Adding --repositories to generate_workspace docsGravatar flamecoals2018-06-28
| | | | | | | | Without this parameter, I was getting the same error that others reported at https://github.com/bazelbuild/migration-tooling/issues/86 Closes #5460. PiperOrigin-RevId: 202484116
* Remove outdated cfg=data"Gravatar gregce2018-06-27
| | | | PiperOrigin-RevId: 202386041