910e62b5创建于 1月15日历史提交
README.md

Name: Google Closure Library Short Name: closure-library URL: https://github.com/google/closure-library Version: 20230802.0.0 Date: 2025-05-02 Revision: ccf3f1dcd7258ff413406daa45bad79277d40afd Update Mechanism: Manual License: Apache-2.0 License File: LICENSE Security Critical: No Shipped: yes CPEPrefix: cpe:/a:google:closure_library:20191111

Description: Google Closure Library is Google's common JavaScript library. It is used in Chromium to allow protocol buffers to be serialized/deserialized in JavaScript.

Local Modifications: None

Roll Instructions: This repo is kept in the main chromium/src repo, so there is no DEPS entry for it. To roll:

Where you keep chromium.

CHROMIUM_SRC=/path/to/your/chromium/src

Temporary directory to check out the closure-library

cd /tmp/closure

Note that the name is closure-library here, but google-closure-library in

the chromium tree.

git clone https://github.com/google/closure-library.git cd closure-library tar cvf - . |(cd ${CHROMIUM_SRC}/third_party/google-closure-library && tar xvf -) cd ${CHROMIUM_SRC}/third_party/google-closure-library

or exclude these while copying.

rm -rf .git .github

Update Version / date in README.chromium

vim README.chromium

git add -u git commit -m "Some snappy commit message" git cl upload git cl try

Review and land.

echo If you get errors about unknown deps, please add them to: echo third_party/protobuf/BUILD.gn echo Congratulations on rolling closure-libary.