| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
--
MOS_MIGRATED_REVID=133436157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Any java rule that mixes generated and non-generated sources
will produce a filtered jar containing only the generated
output.
For a java rule with only "normal" sources or only generated
source files, no filtered jar is produced.
This will allow the IDE to resolve those generated sources.
RELNOTES:None
--
MOS_MIGRATED_REVID=132113568
|
|
|
|
|
|
|
|
|
|
| |
the embedded_tools repo.
Do not submit until https://bazel-review.googlesource.com/#/c/5630/6 is merged.
Also do not submit until unknown commit goes in.
--
MOS_MIGRATED_REVID=131950953
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part 3 of the 3 new proposed android_library res
processing actions. Pulls a zip file from the
merging action, unpacks it, and then validates
the results with aapt. Get an R.txt and srcjar
w/ javadocs from aapt. In order to the get the
R.txt, I think you need to ask for the R.java
sources anyway.
Split the processResources() into a runAapt()
function that can be reused.
Hookup in bazel coming separately.
--
MOS_MIGRATED_REVID=131618410
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part 2 of the 3 new proposed android_library res
processing actions. The primary and deps are all
assumed to be parsed+summarized in a protobuf.
Represent that with a new class (similar to
DependencyAndroidData but w/out R.txt).
Avoid having "manifest" artifacts as deps input,
and instead use "label", since that is only used
in a warning. DepAD still uses the manifest for
#asSymbolFileProvider, so we keep it there.
Move loading the primary out of the merge function
so that we can share the merge function with this
style of primary data, and the existing style of
of primary data (UnvalidatedAndroidData).
This produces an R class.jar and a zip file to
pass along to a future validation action. Images
are stubbed out since they are irrelevant to the
validation action.
--
MOS_MIGRATED_REVID=131604421
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old manifest merger doesn't merge xmlns decls.
That could be a problem if a library has xmlns:tools
but the binary doesn't (and we don't strip tools:).
Library manifests may end up with more xmlns:tools
annotations while transitioning from the old manifest
merger to the new. It would be a problem if the same
manifest is used by both the old and new merger.
An alternative may be to strip the tools annotations
after merging w/ this old merger... other options?
--
MOS_MIGRATED_REVID=131332171
|
|
|
|
|
|
|
| |
--
Change-Id: If9b46439d0c0df36737030c9d78c201a87f1a4e9
Reviewed-on: https://bazel-review.googlesource.com/c/5590/
MOS_MIGRATED_REVID=131317750
|
|
|
|
|
|
|
| |
The filegroup using this file was deleted in commit c9d4fae25137cf480e83566d992bef813fcad7ee
--
MOS_MIGRATED_REVID=130553843
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=130549870
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Part of 3 proposed new actions:
- parsing action
- merging action
- validating action
Dependencies (directData and transitiveData)
expect the symbol files. If the merge action
produces the symbol files, then each merge
action depends on each other. Instead, produce
it in an action with just source resources as
prereqs to allow more parallelism.
Technically, we don't need a manifest as part
of the parameters. I debated about whether
to introduce a basic version of
UnvalidatedAndroidData or not.
--
MOS_MIGRATED_REVID=128599714
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the rclass_generator.sh, and fill in the
boiler-plate for mock tools, etc. Mostly cargo-
culting references to resources_processor.sh.
Rename earlier pieces to use RClassGenerator
prefix instead of AndroidResourceCompilation.
--
MOS_MIGRATED_REVID=126831848
|
|
|
|
|
|
|
|
|
| |
merger that is used (legacy or android) is controlled by the manifest_merger attribute on android_binary and the default is controlled by the --android_manifest_merger flag.
RELNOTES: The Android manifest merger is now available as an option for android_binary rules. The merger will honor tools annotations in AndroidManifest.xml and will perform placeholder substitutions using the values specified in android_binary.manifest_values. The merger may be selected by setting the manifest_merger attribute on android_binary.
--
MOS_MIGRATED_REVID=125603954
|
|
|
|
|
|
|
|
|
|
|
| |
manifest merger places the application element as the last child of the manifest element. This is required for Android N.
NEW: fixed index out of range exception
RELNOTES: Merged manifests are guaranteed to have the application element as the last child of the manifest element as required by Android N.
--
MOS_MIGRATED_REVID=125493743
|
|
|
|
|
|
|
|
|
| |
is not picked up when you run the scripts manually using "bash script.sh".
This is also in our shell style guide: "Executables must start with #!/bin/bash and a minimum number of flags. Use set to set shell options so that calling your script as bash <script_name> does not break its functionality."
--
MOS_MIGRATED_REVID=125450962
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Broke a few projects, including many targets in AGSA: []
*** Original change description ***
Ensure manifest merger places the application element as the last child of the manifest element. This is required for Android N.
RELNOTES: Merged manifests are guaranteed to have the application element as the last child of the manifest element as required by Android N.
--
MOS_MIGRATED_REVID=124960831
|
|
|
|
|
|
|
|
|
| |
the manifest element. This is required for Android N.
RELNOTES: Merged manifests are guaranteed to have the application element as the last child of the manifest element as required by Android N.
--
MOS_MIGRATED_REVID=124954782
|
|
|
|
|
|
|
| |
tag's name attribute to the Instant Run application class.
--
MOS_MIGRATED_REVID=124606107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** Reason for rollback ***
Cannot be built with currently released Bazel.
*** Original change description ***
Remove redirect chasing from AndroidConfiguration.Loader.
With aliases, it's not necessary anymore.
--
MOS_MIGRATED_REVID=124123904
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=123971774
|
|
|
|
|
|
|
| |
Fixes the android part of #1316.
--
MOS_MIGRATED_REVID=123644129
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=121953905
|
|
|
|
|
|
|
|
|
| |
android_sdk_repository so that preview sdks can be correctly handled. For example, the name in the build-tools directory might be "24.0.0-preview", but its version is actually "24 rc3" from build-tools/24.0.0-preview/source.properties.
Fixes https://github.com/bazelbuild/bazel/issues/1240
--
MOS_MIGRATED_REVID=121719519
|
|
|
|
|
|
|
| |
Fixes #1214.
--
MOS_MIGRATED_REVID=121416417
|
|
|
|
|
|
|
|
|
| |
Constants.ANDROID_DEFAULT_SDK.
This CL also updates the test infrastructure to include a mock of @bazel_tools//tools/android:sdk.
--
MOS_MIGRATED_REVID=120815577
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the android rules work if the workspace name is set.
See https://github.com/bazelbuild/bazel/wiki/Updating-the-runfiles-tree-structure
for more details.
This is required for rolling forward https://github.com/bazelbuild/bazel/issues/848.
--
MOS_MIGRATED_REVID=120705755
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=119986133
|
|
|
|
|
|
|
| |
in Android SDK build tools version 24.0.0.
--
MOS_MIGRATED_REVID=119305998
|
|
|
|
|
|
|
|
|
| |
it is incorrect.
Currently when you build an app using the built-in rule, the resources compile to google.bazel.R, but the GMS libs need com.google.android.gms.R, so InflateExceptions occur - AdView for one.
--
MOS_MIGRATED_REVID=118204766
|
|
|
|
|
|
|
|
|
|
|
| |
This moves logic out of the Java repository function and closer to where it's
actually used, while also downplaying the basic templating a bit and allowing
the logic to interact better with the build file.
The existing logic regarding Apache's HTTP client is migrated as part of this.
--
MOS_MIGRATED_REVID=118084016
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=117186609
|
|
|
|
|
|
|
| |
a dead code removal Proguard pass to create an ap_ without unused resources to be used when building android_binary targets.
--
MOS_MIGRATED_REVID=115227385
|
|
|
|
|
|
|
| |
The old one failed to work with Android N.
--
MOS_MIGRATED_REVID=110335879
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=109305952
|
|
|
|
|
|
|
|
|
| |
Stubifying an app always injects the stub application, so the incremental APK will have code in it even if the original app didn't.
This came about from #595 (it wouldn't have been reported if we did this)
--
MOS_MIGRATED_REVID=107781748
|
|
|
|
|
|
|
|
| |
Now in the android_manifest_merge rule, the newly introduced <use-permission-sdk-23> tag
is not merged.
--
MOS_MIGRATED_REVID=105104945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It may be the case that a library used by Java clients is also used
by Android clients, but when used for the latter, it requires a particular
Proguard configuration. This change modifies Java library rules to accept
Proguard specs and pass them up to Android rules.
Note that this does not cause Proguard to be used on normal Java binaries.
RELNOTES[NEW]: java_library now supports the proguard_specs attribute for
passing Proguard configuration up to Android (not Java) binaries.
--
MOS_MIGRATED_REVID=104661799
|
|
|
|
|
|
|
|
|
|
| |
This is the new conventions for Copyrights line and some were missed in the previous change.
Generated by:
find -type f -exec sed -i -E 's/Copyright 201([54]) Google Inc/Copyright 201\1 The Bazel Authors/' '{}' ';'
--
MOS_MIGRATED_REVID=104189975
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=104150148
|
|
|
|
|
|
|
|
|
|
| |
These outputs are a jar and source jar for the results of aidl processing.
This is used to add aidl output to IDEs separate from the source code,
similar to annotation output (gen jars).
--
MOS_MIGRATED_REVID=104024453
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Clean up some tests.
--
MOS_MIGRATED_REVID=103600539
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=103068396
|
|
|
|
|
|
|
| |
This is because apkbuilder uses $HOME/.android/debug.keystore by default, which does not exist when running within the sandbox, thus, it always generates a new debug key, and thus, "adb install -r" doesn't work.
--
MOS_MIGRATED_REVID=102331570
|
|
|
|
|
|
|
| |
Fixes #419.
--
MOS_MIGRATED_REVID=102248331
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that Bazel finds Android tools and update the tools themselves to handle their new location.
This paves the way for eventually referencing every tool this way.
We have to figure out if android_http_tools_repository is the right way to distribute the Android tools, but now that we don't have a binary distribution yet, it's not an immediate problem.
This will break existing users of Android support in Bazel, whom I'll inform over bazel-discuss.
Fixes #384.
--
MOS_MIGRATED_REVID=101456190
|
|
|
|
|
|
|
|
|
| |
(only for devices with Android M).
Until now, we always reinstalled every split .apk. It was simple, but also not very fast.
--
MOS_MIGRATED_REVID=101120400
|
|
|
|
|
|
|
| |
not supported in the app to be installed.
--
MOS_MIGRATED_REVID=101004548
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=100655790
|
|
|
|
|
| |
--
MOS_MIGRATED_REVID=99567637
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces a new way to stop applications when deploying incremental
changes that saves the current app state for the next run. This allows things
like the back stack, and View/Fragment/Activity saved state to be restored when
the app next launches, making it easier to quickly iterate on code changes.
It adds a "--start" flag to mobile-install that replaces "--start_app".
--start accepts an argument describing the mode: no, cold, or warm. "no" is
now the equivalent of "--nostart_app", "cold" is the equivalent of
"--start_app", and "warm" is the new start mode.
Note that this is only useful with incremental installs, as Android clears out
any previously saved state when an APK is replaced.
--
MOS_MIGRATED_REVID=99508790
|