Loading .config_gclientdeleted 100644 → 0 +0 −75 Original line number Diff line number Diff line solutions = [{ "url": "https://chromium.googlesource.com/chromium/src.git", "managed": False, "name": "src", "custom_deps": { "src/native_client": None, "src/third_party/gvr-android-sdk/src": None, "src/third_party/arcore-android-sdk/src": None }, "custom_hooks": [{ "name": "gvr_static_shim_android_arm", "condition": False }, { "name": "gvr_static_shim_android_arm_1", "condition": False }, { "name": "gvr_static_shim_android_arm_ndk1", "condition": False }, { "name": "gvr_static_shim_android_arm_Cr", "condition": False }, { "name": "gvr_static_shim_android_arm64", "condition": False }, { "name": "gvr_static_shim_android_arm64_1", "condition": False }, { "name": "gvr_static_shim_android_arm64_ndk1", "condition": False }, { "name": "gvr_static_shim_android_arm64_Cr", "condition": False }, { "name": "gvr_static_shim_custom_libcxx_android_arm", "condition": False }, { "name": "gvr_static_shim_custom_libcxx_android_arm64", "condition": False }, { "name": "sdkextras", "condition": False }, { "name": "sysroot_x86", "condition": False }, { "name": "sysroot_x64", "condition": False }, { "name": "vr_controller_test_api", "condition": False }, { "name": "vr_test_apks", "condition": False }, { "name": "ar_test_apks", "condition": False }, { "name": "test_fonts", "condition": False }, { "name": "zucchini_testdata", "condition": False }, { "name": "Fetch Android RenderTest goldens", "condition": False }], "custom_vars": { "checkout_instrumented_libraries": False, "checkout_nacl": False, "checkout_traffic_annotation_tools": False, } }] target_os = ["android"] build.sh +19 −3 Original line number Diff line number Diff line Loading @@ -126,15 +126,31 @@ patch() { sync() { echo ">> [$(date)] Syncing chromium $chromium_version" cd $chromium_dir cp ${root_dir}/.config_gclient $chromium_dir/.gclient gclient_config if [ $history -eq 1 ]; then yes | gclient sync -D -R -r $chromium_version gclient sync -D --nohooks -R -r $chromium_version else yes | gclient sync --no-history -D -R -r $chromium_version gclient sync --no-history -D --nohooks -R -r $chromium_version fi gclient runhooks patch } gclient_config() { cat <<EOF > "$chromium_dir/.gclient" solutions = [{ "url": "https://chromium.googlesource.com/chromium/src", "managed": False, "name": "src", "custom_deps": {}, "custom_hooks": [], "custom_vars": {} }] target_os = ["android"] EOF } init_repo(){ echo ">> [$(date)] Init chromium $chromium_version" cd $chromium_dir Loading Loading
.config_gclientdeleted 100644 → 0 +0 −75 Original line number Diff line number Diff line solutions = [{ "url": "https://chromium.googlesource.com/chromium/src.git", "managed": False, "name": "src", "custom_deps": { "src/native_client": None, "src/third_party/gvr-android-sdk/src": None, "src/third_party/arcore-android-sdk/src": None }, "custom_hooks": [{ "name": "gvr_static_shim_android_arm", "condition": False }, { "name": "gvr_static_shim_android_arm_1", "condition": False }, { "name": "gvr_static_shim_android_arm_ndk1", "condition": False }, { "name": "gvr_static_shim_android_arm_Cr", "condition": False }, { "name": "gvr_static_shim_android_arm64", "condition": False }, { "name": "gvr_static_shim_android_arm64_1", "condition": False }, { "name": "gvr_static_shim_android_arm64_ndk1", "condition": False }, { "name": "gvr_static_shim_android_arm64_Cr", "condition": False }, { "name": "gvr_static_shim_custom_libcxx_android_arm", "condition": False }, { "name": "gvr_static_shim_custom_libcxx_android_arm64", "condition": False }, { "name": "sdkextras", "condition": False }, { "name": "sysroot_x86", "condition": False }, { "name": "sysroot_x64", "condition": False }, { "name": "vr_controller_test_api", "condition": False }, { "name": "vr_test_apks", "condition": False }, { "name": "ar_test_apks", "condition": False }, { "name": "test_fonts", "condition": False }, { "name": "zucchini_testdata", "condition": False }, { "name": "Fetch Android RenderTest goldens", "condition": False }], "custom_vars": { "checkout_instrumented_libraries": False, "checkout_nacl": False, "checkout_traffic_annotation_tools": False, } }] target_os = ["android"]
build.sh +19 −3 Original line number Diff line number Diff line Loading @@ -126,15 +126,31 @@ patch() { sync() { echo ">> [$(date)] Syncing chromium $chromium_version" cd $chromium_dir cp ${root_dir}/.config_gclient $chromium_dir/.gclient gclient_config if [ $history -eq 1 ]; then yes | gclient sync -D -R -r $chromium_version gclient sync -D --nohooks -R -r $chromium_version else yes | gclient sync --no-history -D -R -r $chromium_version gclient sync --no-history -D --nohooks -R -r $chromium_version fi gclient runhooks patch } gclient_config() { cat <<EOF > "$chromium_dir/.gclient" solutions = [{ "url": "https://chromium.googlesource.com/chromium/src", "managed": False, "name": "src", "custom_deps": {}, "custom_hooks": [], "custom_vars": {} }] target_os = ["android"] EOF } init_repo(){ echo ">> [$(date)] Init chromium $chromium_version" cd $chromium_dir Loading