| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Idb127f2fd6e637039454f47299360aec5a4edfe8
|
|
|
|
| |
Change-Id: I26b5eeea7ddc8cc4984745daa52635ea95ad7c66
|
|
|
|
| |
Change-Id: I5240164d1d83f7816973a0e6ee9c26e337e605b1
|
|
|
|
| |
Change-Id: I26e043849bce2a4b41ae132fbe0c882f4a6f112f
|
|
|
|
| |
Release libslang/llvm-rs-cc/llvm-rs-link under Apache 2.0 license.
|
|
|
|
| |
Change-Id: I3bb36e1a8050bbd9744fd02935b6186d2f285015
|
|
|
|
|
|
|
|
| |
The .bc file stem could be transformed over the source .rs file name by slang.
The build system needs to know the dep file name before slang is run, so we'd like to
take the source .rs file name, which is known before slang is run.
Change-Id: I54c18880582fcc0f177a289b7a6a0f92a5a7806c
|
|
|
|
| |
Change-Id: I6c3f3e9aae24b612a6d32b4fc5ba53a2ef7f3944
|
|
|
|
| |
changed. This also makes cpplint happy.
|
|
|
|
|
|
|
|
|
|
| |
We now keep any alphanumeric or underscore characters unchanged for
the classname. Nonmatching characters (like hyphens) get stripped
out (as they were previously). We no longer camel-case the reflected
names. Resource names are converted to lowercase, since that is a
system requirement.
Change-Id: Idf7a7c3f9442bb58789769d58088c2038a074455
|
|
|
|
|
|
| |
Split the bitcode file into segments due to Java method size limitation.
Change-Id: I4c171c40a45067da63098deb2408449dab38b041
|
|
|
|
|
| |
Change-Id: I2e7f74bfa29d341447a5f7a2aff8c68fef8d968c
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|
So that the apps don't need to have the bc files as resources.
The bitcode java files will be put at the same dir as the reflected java files.
The bitcode java file name will be <ClassName>BitCode.java.
The bitcode is represented as byte array and you can reference it as:
byte[] bitcode = <ClassName>BitCode.getBitCode();
To enable this feature, pass "-s jc" to the command line.
The class name <ClassName> is converted from the .rs file name, for example:
foo.rs -> FooBitCode.java
foo_bar.rs -> FooBarBitCode.java
fooBar.rs -> FooBarBitCode.java
foobar.rs -> FoobarBitCode.java
i.e., any non-alnum characters in the rs file name are filtered
and the rest are converted to camel case.
The above method is also applied to the reflected java classes now.
Change-Id: Idf234d4c017e33740a13d6cd68bc3e14710ec149
|