Граф коммитов

39 Коммитов

Автор SHA1 Сообщение Дата
Yuxin Hu bcc39a325f Enable ExposeNonConformantExtensionsAndVersions
Enable ExposeNonConformantExtensionsAndVersions in
aosp so that these deqp tests that use es version
3.2 can pass on Android CTS:

dEQP.EGL/functional_image_create_gles3_android_native_array_rgb565_texture_array
dEQP.EGL/functional_image_create_gles3_android_native_array_rgb8_texture_array
dEQP.EGL/functional_image_create_gles3_android_native_array_rgba8_texture_array

Bug: angleproject:7351
Change-Id: Ic03ea0e3e46a65134a88dd8dce95611d42427bd9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3709402
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Yuxin Hu <yuxinhu@google.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
2022-06-16 19:24:02 +00:00
Cody Northrop b79178a3e3 Scripts: Strip prebuilt debug APK from AOSP roll
The //build dir was recently added to AOSP roll.

We can't merge it due to inclusion of a prebuilt debuggable APK.

Failing roll:
https://android-review.googlesource.com/c/platform/external/angle/+/2086946

File in question:

  angle/build$ find . -name "*.apk*"
  ./android/CheckInstallApk-debug.apk

This CL adds it explicitly to the files to strip before committing.

Test: ./scripts/roll_aosp.sh and inspect //build
Bug: b/231365398
Change-Id: Ic5487a88dd50a0ff54311b4870682671a5ebc080
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3629943
Reviewed-by: Amirali Abdolrashidi <abdolrashidi@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
2022-05-05 22:12:29 +00:00
Doug Horn 9865ed8b81 Check in //build files needed.
Previously, only //third_party was actually `git add`ed.
This change checks in the build files needed to access
test scripting.

Test: ./scripts/roll_aosp.sh
   m -j32 ANGLE

Bug: b/231365398
Change-Id: Ib4bf75bc96e089bf7fe5d7b4d2304829c293c8ea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3625833
Commit-Queue: Doug Horn <doughorn@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
2022-05-04 19:06:08 +00:00
Jamie Madill 7a32cf5474 Android: Add //build to blueprint.
Also removes OWNERS files stripping as these are no longer a problem.

Bug: angleproject:7219
Change-Id: Ib791bac3cf161958430363805ea47747e26644cd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3598010
Reviewed-by: Ian Elliott <ianelliott@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2022-04-21 16:00:15 +00:00
Ian Elliott fa5c349dc7 Add "use_custom_libcxx = false" to "roll_aosp.sh"
Per https://chromium-review.googlesource.com/c/chromium/src/+/3520025
the old gn arg "libcxx_abi_unstable" was removed, and we need to set
"use_custom_libcxx = false" instead.

This will hopefully fix the ANGLE->AOSP autoroller that was broken by
the above CL.

Bug: angleproject:7110
Change-Id: I3b6de998964efb674ea356a14e852f0e285b7242
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3546721
Reviewed-by: Ian Elliott <ianelliott@google.com>
Auto-Submit: Ian Elliott <ianelliott@google.com>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2022-03-23 23:53:03 +00:00
Ian Elliott 706824d837 Remove "libcxx_abi_unstable" from "roll_aosp.sh"
This was removed as a gn arg by: crrev/c/3520025.  That broke the
ANGLE->AOSP autoroller.

Bug: angleproject:7110
Change-Id: I3d8b4483b75fb168e91078ff5ee0a53298d98efb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3542990
Commit-Queue: Ian Elliott <ianelliott@google.com>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2022-03-22 22:28:17 +00:00
Tim Van Patten 683ab73891 Android: Add back third_party/ to AOSP
The ANGLE autoroller into AOSP is currently stuck due to a merge
conflict in third_party/glmark2.   Specifically, this directory was
deleted in AOSP, but modified in upstream ANGLE.

The solution is to add back the third_party/ directories into AOSP, and
the ANGLE-owned files.   The full contents will not be added back if
they are a git submodule.

Some third_party/ directories will continue to be deleted due to how
large they are:

  third_party/jdk
  third_party/llvm-build
  third_party/android_build_tools
  third_party/android_sdk

We can look into adding these back in the future if it becomes
necessary.

Additionally, the license information in the Android.bp is being updated
to reflect the newly added files.

Bug: angleproject:6635
Change-Id: I793e5b0797218963a4d06a0399b3be80edd43b37
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3251685
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-10-29 21:16:08 +00:00
Tim Van Patten 348eaf1523 roll_aosp.sh: Add dcheck_always_on = false
The GN args 'dcheck_always_on' was recently enabled by default, which
resulted in an increase to ANGLE's APK size in AOSP from 16.3MB to
20.6MB. Adding 'dcheck_always_on = false' to roll_aosp.sh to disable the
feature reduces the APK back to the original 16.3MB size.

Bug: b/189125396
Change-Id: I606c30fe49291fa893228644c4b1fe4dd5fbeabf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3048933
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-07-23 18:13:38 +00:00
Tim Van Patten 16a9a89250 Cleanup license data and remove Android.mk files
In an effort to better satisfy the Android legal/license requirements:
1.) Cleanup the license data in the generated Android.bp.
2.) Remove unused Android.mk files.

Bug: b/191882454
Change-Id: Ia1937c1e2e822e688cca2a4d3ebc9a294f67ad69
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3021851
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-07-13 16:59:56 +00:00
Tim Van Patten 0b5f268aa5 Fixes and updates to roll_aosp.sh
1.) Remove unused zlib contrib/ directories
- There are missing licenses in third_party/zlib/contrib/, so remove the
unused directories from the AOSP checkin.

2.) `git add` all third_party/ changes
- All of the unused third_party/ changes have been manually merged, so
we can now automatically add any changes to third_party/.

Bug: b/191882454
Bug: b/187342779
Change-Id: If209ff3bb34ad53c08f431a06a2f84d153181e45
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2992578
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-06-28 21:32:58 +00:00
Tim Van Patten 7753c83787 Fix roll_aosp.sh 'gn gen' failure
The 'gn gen' step in roll_aosp.sh is failing due to trying to access
third_party/rapidjson/BUILD.gn, which isn't in AOSP. The rapidJSON
library is required to build the ANGLE libraries with frame capture
enabled, which isn't necessary for AOSP builds.

This CL adds the GN arg 'angle_has_rapidjson' which roll_aosp.sh will
set to 'false' to prevent 'gn gen' from attempting to access
third_party/rapidjson/BUILD.gn.

Bug: b/187342779
Change-Id: I6fcc0e94b6325be7523e35f966b8e4dbc708e3b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2973338
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-06-21 18:10:19 +00:00
Tim Van Patten 3707b01f8c Be more specific when deleting unused third_party/ dirs
The command to delete unused third_party/ directories needs to be more
specific to delete unused third_party/vulkan-deps/ directories.

Additionally, use the flag '-path', since that's more portable than
'-wholename' which is GNU-specific.

Bug: b/187342779
Change-Id: Ie8b02360d0d86f9b42141212aaa6c2aa27a063c1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2965605
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-06-16 20:10:03 +00:00
Tim Van Patten c40262dc84 Remove unused third_party/ deps from Android checkin
Remove unused third_party/ deps from the Android checkins to reduce
the license burden from unused libraries.

Bug: b/187342779
Change-Id: I87358377d0dbbc644cb85555464f4afad9d5c333
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2954924
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-06-14 20:38:39 +00:00
Tim Van Patten 4df2e8ce19 Reduce ANGLE APK size
Add some flags to generate_android_bp.py to make the AOSP match the
ANGLE build flags, which makes the CQ testing more relevant and reduces
the ANGLE APK size.   Additionally, disable various GN args that are no
longer required (GL, ESSL, HSSL).   Together, this reduces the ANGLE APK
size in AOSP from 22.2MB to 16.7MB.

This CL also makes some fixes to roll_aosp.sh that are suggested by
"Shell Scipt".

Bug: b/189125396
Test: manual verification
Change-Id: Iea33de799a00ffff182cf028a6998e1ef01a00e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2912933
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-05-25 17:43:09 +00:00
Tim Van Patten 57202fb075 Fix Rolling ANGLE into AOSP
Rolling ANGLE into AOSP currently generates several build errors. This
CL fixes them.

Bug: angleproject:5919
Bug: angleproject:5873
Change-Id: Ic24c3c27a2dd3a1db4d6d2e3642eb1b16148569a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2863883
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-05-03 17:29:36 +00:00
Mohan Maiya 4bd370dd81 Refactor roll_aosp.sh
roll_aosp.sh can now generate an Android.bp file without having to
perform a roll. This facilitates on demand generation of Android.bp.
Provide an option to enable API traces with "--enableApiTrace" flag.

Usage -
    # Generates Android.bp and perform a roll
    ./scripts/roll_aosp.sh

    # Generates Android.bp
    ./scripts/roll_aosp.sh --genAndroidBp

    # Generates Android.bp with API tracing enabled
    ./scripts/roll_aosp.sh --genAndroidBp --enableApiTrace

Bug: angleproject:5774
Change-Id: I3a2bd505f5d75d6d5fc331d61fa9517d6042db70
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2774758
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
2021-04-07 15:01:53 +00:00
Jason Macnak d392af02b7 Update roll AOSP scripts to reflect vulkan-deps subdirectory
Performing a roll with this changes produces
https://android-review.googlesource.com/c/1548235

Bug: b/147316305
Bug: angleproject:5456
Test: scripts/roll_aosp.sh && m ANGLE
Change-Id: I0f5a698e81a1299abde7cfccb4e1467c8dc02aad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2625168
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-01-14 16:41:38 +00:00
Jason Macnak 2c65da28a2 Default roll_aosp.sh to copy artifacts to vendor partition
... to support using ANGLE as a native GL driver.

Note: this will not affect devices installing the APK with
`PRODUCT_PACKAGES += ANGLE` and will *not* also install the
libs to vendor.

Bug: b/147316305
Bug: angleproject:5456
Test: ./scripts/roll_aosp.sh and build in AOSP
Change-Id: I98cab8d0735a4f66293ac063e0eef2ae7ddbee7b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618529
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-01-12 00:53:01 +00:00
Kaiyi Li 8707811d6b Add an option to copy the artifact to vendor partition
Add a --copy-to-vendor-partition optional argument to both roll_aosp.sh
and generate_android_bp.py. When specified the root targets will be
generated with vendor: true and a relative install path to egl folder,
so that we can use ANGLE as the Android OpenGLES driver when the system
starts up.

Test: run roll_aosp.sh --copy-to-vendor-partion, build the Android image
with m -j72, load the image with the Android emulator and find all ANGLE
related *.so's are under the /vendor/lib/egl folder.

Bug: angleproject:5456
Change-Id: I38c64e8ea3ad5f5d0cc0b8cd77856f49109b23c7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2568907
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-12-10 17:57:38 +00:00
Geoff Lang a5e98a83db roll_aosp: Pass more forceful args to gclient sync
Gclient sync would get stuck if the deps were left in a bad state
from a previous failed roll.  Pass the same args as the Chrome bots
to forcefully sync.

Bug: b/150458033
Change-Id: I6bd1aefbd7e4db22dd08acf781b6a08985f600da
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2551533
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-11-19 20:53:12 +00:00
Geoff Lang 156c227d6c Remove the amend commit from roll_aosp.sh
Bug: b/150458033
Change-Id: Ice5711a672b63a7dac0618749c7e56d862e0e5ad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2523373
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-11-06 18:07:16 +00:00
Geoff Lang e70b1527e6 Always use the -f flag with rm in roll_aosp.sh
rm will error when the file is missing without the -f flag. We delete a
few files without checking that they exist first.

Bug: b/150458033
Change-Id: I5a104d383f59d418eaa55534526194f626c88f57
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2523372
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-11-06 17:54:45 +00:00
Geoff Lang 6a8d5bcbaf Fix wrong working directory for roll_aosp.sh
Bug: b/150458033
Change-Id: I17c605cbe02341b31855dc771225bf0c95445bfd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2522009
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-11-06 16:24:15 +00:00
Geoff Lang b59437cb15 Check out depot_tools in roll_aosp.sh
Bug: b/150458033
Change-Id: I8b299f96d74499669495ca25d5b08711db90ce61
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2522008
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-11-06 16:10:56 +00:00
Tim Van Patten 4c5630d082 Disable libcxx_abi_unstable in roll_aosp.sh
The definition _LIBCPP_ABI_UNSTABLE breaks std::string in Android AOSP
builds, starting with GetHelperExecutableDir(), but others fail later
if that's worked around. Instead, we'll disable that flag with a GN arg
for AOSP rolls.

Bug: angleproject:5263
Test: Build on AOSP and launch Cuttlefish
Change-Id: Ia4b293a5ce0b09206f4ed87a5a442e544e2021c1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2508529
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2020-10-29 20:17:34 +00:00
Jamie Madill acd15cae93 Re-land "Link C++ histogram support into angle_perftests."
This is the first step in uploading histogram data instead of a gtest
special format. We  importing several new libraries:

- tools/protoc_wrapper
- third_party/protobuf
- third_party/catapult (was already used for Android)

No functional change. Only affects compilation. Protobuf support is
disabled when not available.

Bug: angleproject:5161
Change-Id: I64be0977648993b1012ff0d9e0439c5876697e36
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2497221
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2020-10-25 16:42:09 +00:00
Tim Van Patten e99b8bc07c Fixes to roll ANGLE into AOSP
Rolling ANGLE into AOSP requires the following fixes:

1.) Update scripts/roll_aosp.sh to not delete third_party/abseil-cpp.
2.) Update BUILD.gn to add a dependency on libnativewindow for
"angle_common".

Test: AOSP Presubmit
Bug: angleproject:5230
Change-Id: If97c44ce041e576edc7c0c43700030b4538e8ab5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2495550
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2020-10-24 02:02:17 +00:00
Tim Van Patten e417bfb0b3 Android: Set angle_enable_commit_id=false in roll_aosp.sh
The current roll_aosp.sh is generating an invalid Android.bp by
including the local repo's .git file:

cc_genrule {
    name: "angle_commit_id",
    tool_files: [
        "src/commit_id.py",
    ],
    cmd: "$(location) gen $(location commit.h)",
    srcs: [
        ".git/refs/heads/rollAngle",
    ],
    sdk_version: "28",
    out: [
        "commit.h",
    ],
}

This is fixed by enabling the GN arg 'angle_enable_commit_id=false' in
the script:

cc_genrule {
    name: "angle_commit_id",
    tool_files: [
        "src/commit_id.py",
    ],
    cmd: "$(location) gen $(location commit.h)",
    sdk_version: "28",
    out: [
        "commit.h",
    ],
}

Bug: angleproject:5050
Test: Manual verification in AOSP checkout
Change-Id: I08a08084c4c25411b29b22544c2ed8c06f6f54d8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2412790
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-09-15 20:11:03 +00:00
Tim Van Patten 20eb9be552 Generate Android.bp from multiple gn descriptions
With the introduction of ABI-specific build targets (zlib), the script
generate_android_bp.py needs to be updated to consume ABI-specific gn
descriptions and generate ABI-specific build rules for each target.

The roll_aosp.sh script was updated to generate ABI-specific gn
descriptions for each:
    arm
    arm64
    x86
    x64

Bug: b/160727922
Test: Manual script execution and building in AOSP
Change-Id: I459b388176f8fcc010f9f5668535d941b931cdd4
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2285272
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2020-07-21 04:05:55 +00:00
Geoff Lang 94e8a3d9d8 Roll zlib and cpufeatures from the ndk into Android.
zlib is required to compress program binaries. It also pulls in the
ndk for cpufeatures. Since the ndk is so large, only pull roll in the
required sub-folders.

BUG=angleproject:4776

Change-Id: I4967a06fd8bfb27040ad0c2f60fec265d555488a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2255507
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-06-22 14:00:21 +00:00
Jamie Madill 9f32304208 Vulkan: Update VMA directory.
Bug: chromium:1074162
Change-Id: I6aa545e20f64dda0a1716cf8d0df9ad62fc1a890
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2190624
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2020-05-08 18:25:45 +00:00
Geoff Lang 6cea4405d1 Remove more bad files before rolling into AOSP.
third_party/VulkanMemoryAllocator/OWNERS also includes owners that block
uploading.

Move the deletion of the bad files earlier in the script and rm them
instead of git rm. They may or may not be committed git files but rm
always works.

BUG=b/150892231

Change-Id: Iee60fba504ed1c16e994ed1ba83d2b7c58c0a01c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2154537
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-04-17 18:56:49 +00:00
Geoff Lang 8116c488ae Remove the merge command from roll_aosp.sh
There are two issues doing the merge in the script:
 - This command makes the merge specific to an AOSP branch
 - It uses the version of roll_aosp that is from the previous roll
   instead of the ToT version.

BUG=b:150892231

Change-Id: I579484092ca3d8c5e0e2d4d4bd1272eaeccc9da3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2152667
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-04-16 18:26:42 +00:00
Geoff Lang 1589de9e5e Remove some bad files when generating an ANGLE roll into Android
Add a list of files that should be removed when rolling ANGLE into
Android. The jsoncpp OWNERS file fails to upload to the Android gerrit
because it contains owners that have never signed into the Android
gerrit.

BUG=b:150892231

Change-Id: I699dada53cdda2fbd012733a7a91eb8b5fb79d35
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2152668
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2020-04-16 18:21:41 +00:00
Geoff Lang 005793e4c9 Remove --preserve-root from roll_aosp.sh
This flag is not supported on mac and generates errors when trying to
roll.

BUG=b:150892231

Change-Id: I22d10a2b9b37610d409df4d72e0aba2672f7b192
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2152666
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-04-16 17:23:40 +00:00
Geoff Lang 6b705ae779 Roll VulkanMemoryAllocator into Android
Bug: angleproject:2162
Change-Id: I0b1fc1ba1a3de8c4c00c5f6d26f8451e3ba8627e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2152665
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-04-16 14:42:34 +00:00
Geoff Lang 9e5bbb3893 Use ANGLE's vulkan-headers dep when rolling ANGLE into Android.
We previously used the existing Android target for vulkan headers but it
does not roll as fast as ANGLE's, possibly causing divergence in test
results.

BUG=angleproject:2344
BUG=b:150892231

Change-Id: Ibef33b266943c040219529f64ea8cd29c8c9bf83
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2090394
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-03-11 21:43:11 +00:00
Geoff Lang 8414d96226 Improve GN args for generating Android rolls.
- Disable unused backends and shader compilation targets.
 - Build for "arm64" to make sure ANGLE_64_BIT_CPU is defined.
 - Use a better merge command now that the branch histories are related

BUG=angleproject:2344

Change-Id: I33949e701379caacf6a392a3bb0eb3523627be14
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2090685
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-03-09 17:30:36 +00:00
Geoff Lang deb65a6f99 Add scripts for rolling and generating Android.bp for AOSP
BUG=angleproject:2344

Change-Id: I379cc924a6126e22b16e4cb096026d881e06763d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2079195
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
2020-03-02 20:11:39 +00:00