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

106 Коммитов

Автор SHA1 Сообщение Дата
mail 56fe98ad1c Reland: Roll src/third_party/libsrtp 6446144:9c53f85 (svn 292694:295151)
This updates libsrtp to 1.5.2 and uses the OpenSSL/BoringSSL crypto code.
See https://codereview.chromium.org/889083003/ and https://codereview.chromium.org/1098043003/

Summary of changes available at:
6446144..9c53f85

This previously landed in https://codereview.chromium.org/1130413005/ but got
reverted in https://codereview.chromium.org/1139233002/ as it broke the Chrome
Linux x64 builds due to a added dependency to "libgcc_s.so.1(GCC_3.0)(64bit)".
The dependency was already allowed for 32bit, so it is allowed for 64bit now,
too.

BUG=328475

Review URL: https://codereview.chromium.org/1144623002

Cr-Original-Commit-Position: refs/heads/master@{#330209}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c6d10bdd0fee0aee8aa6143c8501c6c382704b9b
2015-05-15 21:59:59 +00:00
kkimlabs a53bff3532 [Android] Add option to skip v14 resource verification to GN.
Added to GYP recently https://codereview.chromium.org/1136953009 .
Adding the same flag to GN.

Also update android_tools' BUILD.gn to use v14_skip

BUG=487391

Review URL: https://codereview.chromium.org/1147483002

Cr-Original-Commit-Position: refs/heads/master@{#330199}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e5e5dc785e37e50dafea030349ffdd534d2231e3
2015-05-15 21:14:25 +00:00
henrika 65c32966e3 Revert of Reland: Roll src/third_party/libsrtp 6446144:9c53f85 (svn 292694:295151) (patchset #1 id:1 of https://codereview.chromium.org/1130413005/)
Reason for revert:
This CL most likely breaks Chrome. I can't find any other reason to this issue:

https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64

Reverting to see if it helps.

Original issue's description:
> Reland: Roll src/third_party/libsrtp 6446144:9c53f85 (svn 292694:295151)
>
> This updates libsrtp to 1.5.2 and uses the OpenSSL/BoringSSL crypto code.
> See https://codereview.chromium.org/889083003/ and https://codereview.chromium.org/1098043003/
>
> Summary of changes available at:
> 6446144..9c53f85
>
> This previously landed in CL 981593002 but got reverted in CL 1131323002
> as it broke the Windows GN bots. The GN script now adds BoringSSL to the
> "public_deps" if necessary, so the include path is correct then.
>
> BUG=328475
>
> Committed: https://crrev.com/7c97ef229360cc10cae49569622bdfcba2d43f3c
> Cr-Commit-Position: refs/heads/master@{#330066}

TBR=jiayl@chromium.org,thakis@chromium.org,juberti@chromium.org,gcasto@chromium.org,jbauch@webrtc.org,mail@joachim-bauch.de
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=328475

Review URL: https://codereview.chromium.org/1139233002

Cr-Original-Commit-Position: refs/heads/master@{#330070}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c227b52a4245ca5682ec9d88c6ce5ceccec627e5
2015-05-15 10:26:05 +00:00
mail 036ffd6b9d Reland: Roll src/third_party/libsrtp 6446144:9c53f85 (svn 292694:295151)
This updates libsrtp to 1.5.2 and uses the OpenSSL/BoringSSL crypto code.
See https://codereview.chromium.org/889083003/ and https://codereview.chromium.org/1098043003/

Summary of changes available at:
6446144..9c53f85

This previously landed in CL 981593002 but got reverted in CL 1131323002
as it broke the Windows GN bots. The GN script now adds BoringSSL to the
"public_deps" if necessary, so the include path is correct then.

BUG=328475

Review URL: https://codereview.chromium.org/1130413005

Cr-Original-Commit-Position: refs/heads/master@{#330066}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c97ef229360cc10cae49569622bdfcba2d43f3c
2015-05-15 09:02:24 +00:00
tfarina 4a9e76b00a Move GN build file for gmock_mutant from build/secondary into the main tree.
There is no need to keep it in the secondary tree.

BUG=None
TEST=gn gen out-gn/Debug
R=dpranke@chromium.org

Review URL: https://codereview.chromium.org/1123183004

Cr-Original-Commit-Position: refs/heads/master@{#329102}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 16f0a88eea42d7528eaa71533e1c539c0bd45962
2015-05-11 06:58:55 +00:00
gcasto 6026329abc Revert of Roll src/third_party/libsrtp 6446144:f0957e8 (svn 292694:295151) (patchset #7 id:120001 of https://codereview.chromium.org/981593002/)
Reason for revert:
Broke the Windows GN bots (https://build.chromium.org/p/chromium.win/builders/Win8%20GN)

Original issue's description:
> Roll src/third_party/libsrtp 6446144:9c53f85 (svn 292694:295151)
>
> This updates libsrtp to 1.5.2 and uses the OpenSSL/BoringSSL crypto code.
> See https://codereview.chromium.org/889083003/ and https://codereview.chromium.org/1098043003/
>
> Summary of changes available at:
> 6446144..9c53f85
>
> BUG=328475
>
> Committed: https://crrev.com/94c5e80d3a385e223279b8ddb3ed8aa19d69a0e9
> Cr-Commit-Position: refs/heads/master@{#328972}

TBR=jiayl@chromium.org,juberti@chromium.org,thakis@chromium.org,mail@joachim-bauch.de
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=328475

Review URL: https://codereview.chromium.org/1131323002

Cr-Original-Commit-Position: refs/heads/master@{#328981}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f7c37d56082175b8b21e0c8cbdea72a7d8b3ea26
2015-05-08 17:57:37 +00:00
mail b110830498 Roll src/third_party/libsrtp 6446144:9c53f85 (svn 292694:295151)
This updates libsrtp to 1.5.2 and uses the OpenSSL/BoringSSL crypto code.
See https://codereview.chromium.org/889083003/ and https://codereview.chromium.org/1098043003/

Summary of changes available at:
6446144..9c53f85

BUG=328475

Review URL: https://codereview.chromium.org/981593002

Cr-Original-Commit-Position: refs/heads/master@{#328972}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 94c5e80d3a385e223279b8ddb3ed8aa19d69a0e9
2015-05-08 17:26:22 +00:00
brettw 6a9e7271f7 Add a GN flag for the Windows multi-dll build.
The first pass of moving the other Chrome-specific build flags out of the root build config file and into the new one. This requires both ffmpeg and Blink changes to finish landing.

Originally landed as https://codereview.chromium.org/1120803003/
TBR=scottmg@chromium.org
TBR=ddorwin@chromium.org (widevine)
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Review URL: https://codereview.chromium.org/1123433002

Cr-Original-Commit-Position: refs/heads/master@{#327998}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b2364bb2c6fbb88e6a4550abeb9141bc7cb949c
2015-05-01 22:36:58 +00:00
rickyz c06bc70a26 Revert of Add a GN flag for the Windows multi-dll build. (patchset #3 id:40001 of https://codereview.chromium.org/1120803003/)
Reason for revert:
May have caused some link errors on windows: https://build.chromium.org/p/chromium.win/builders/Win%20x64%20GN/builds/814

Original issue's description:
> Add a GN flag for the Windows multi-dll build.
>
> The first pass of moving the other Chrome-specific build flags out of the root build config file and into the new one. This requires both ffmpeg and Blink changes to finish landing.
>
> R=scottmg@chromium.org
> TBR=ddorwin@chromium.org (widevine)
>
> Committed: https://crrev.com/edff53a35780ba2f515c7e8d4f7131c91151e1a3
> Cr-Commit-Position: refs/heads/master@{#327854}

TBR=scottmg@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1117063004

Cr-Original-Commit-Position: refs/heads/master@{#327861}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e203954b33d80072a7c8d256ffdc69fa42262765
2015-05-01 01:45:41 +00:00
brettw 8b84afe088 Add a GN flag for the Windows multi-dll build.
The first pass of moving the other Chrome-specific build flags out of the root build config file and into the new one. This requires both ffmpeg and Blink changes to finish landing.

R=scottmg@chromium.org
TBR=ddorwin@chromium.org (widevine)

Review URL: https://codereview.chromium.org/1120803003

Cr-Original-Commit-Position: refs/heads/master@{#327854}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: edff53a35780ba2f515c7e8d4f7131c91151e1a3
2015-05-01 01:10:14 +00:00
apacible e7ee6b4d67 Add enable_media_router check to GN based grit targets.
Originally, <if expr="enable_media_router"> was not picked up by a .grd file. I traced that to grit_rule.gni and added a check there.

Review URL: https://codereview.chromium.org/1104443002

Cr-Original-Commit-Position: refs/heads/master@{#326598}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2be1ebd65b769821ad36e6cff2d47bda574c00bb
2015-04-23 18:57:16 +00:00
tfarina 90bf01d69f Move gn build file for sfntly from secondary tree into the main tree.
Better to keep it side-by-side with the gyp file which is also in the
main tree.

BUG=None
TEST=gn gen out-gn && ninja -C out-gn sfntly still works
R=vandebo@chromium.org,dpranke@chromium.org

Review URL: https://codereview.chromium.org/1090553004

Cr-Original-Commit-Position: refs/heads/master@{#326121}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3af9f401d955a957527d0a913736e48dcacb67a7
2015-04-21 21:20:57 +00:00
davidben e1e3fb5bda Rename use_nss to use_nss_certs in gyp and grit.
This matches the gn name and is less confusing with use_openssl and
use_openssl_certs both existing. The preprocessor flag will follow
in another CL. For now, the old name is still defined, but not used
within Chromium.

A follow-up CL will remove deprecated use_nss and USE_NSS #defines
together which will then cause downstream churn. Though from a grep
of known downstreams, the churn seems to be fairly minimal. The
removal is split from this CL so that, if we need to revert, the
CL to revert is small.

BUG=462040
TBR=wez@chromium.org

Review URL: https://codereview.chromium.org/1085923002

Cr-Original-Commit-Position: refs/heads/master@{#325541}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0ee13e37acf707e703a380a9c1a03f0b494dd6a6
2015-04-16 23:23:38 +00:00
tfarina 9ff0881008 leveldb: Move GN build file from secondary tree to the main tree.
There seems to be no reason to keep it out there. It just work just fine
in the main tree.

BUG=None
TEST=gn gen out-gn still works
R=cmumford@chromium.org

Review URL: https://codereview.chromium.org/1065393002

Cr-Original-Commit-Position: refs/heads/master@{#324542}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f11743d6ccb6172546c5d33b758b6b6b66ef4181
2015-04-09 23:57:18 +00:00
torne f57c00ce92 Remove indirection of cpufeatures.gypi.
Now that android_webview_build is no longer supported, the extra level
of indirection of including cpufeatures.gypi instead of directly
depending on the cpufeatures target is not necessary. Remove the cases
in the Chromium tree. Other references appear in projects pulled in via
DEPS that will have to be fixed separately before cpufeatures.gypi can
be entirely deleted.

BUG=440793

Review URL: https://codereview.chromium.org/1045123005

Cr-Original-Commit-Position: refs/heads/master@{#324117}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9845b890dd38f0b88b0304f3bd6c437a7c6f8f8d
2015-04-07 21:04:34 +00:00
tfarina b779243006 Add missing dumpfile.cc to leveldatabase target in GN build.
This was found by looking at the output of gyp_flag_compare step in
http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20%28dbg%29/builds/24157/steps/gyp_flag_compare/logs/stdio

Tested on Linux with the following command lines:

$ gn gen out-gn
$ ninja -C out-gn leveldatabase
$ touch third_party/leveldatabase/src/db/dumpfile.cc
$ ninja -C out-gn leveldatabase

BUG=461019
TEST=see above
R=cmumford@chromium.org
TBR=brettw@chromium.org

CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Review URL: https://codereview.chromium.org/1044613002

Cr-Original-Commit-Position: refs/heads/master@{#322962}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a33c992e0a969f8ec7584da579980dba660e376
2015-03-31 02:40:00 +00:00
knn 159718a26f Enable depend on stamp by default for all GN based grit targets.
This is a cleanup change that removes support for the depfile based on
first grit output.

BUG=466315

Review URL: https://codereview.chromium.org/1030383003

Cr-Original-Commit-Position: refs/heads/master@{#322584}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc28e0dcbe1df4308cce6181ea8cb025ef0d3aeb
2015-03-27 15:49:52 +00:00
brettw 2924c3f5fb Add grit resource ID file to GN grit script inputs.
Grit's execution depends on the resource ID file, but this was not listed as a dependency in grit targets. This means that changing the resource ID file wouldn't re-run grit.

Review URL: https://codereview.chromium.org/1038213002

Cr-Original-Commit-Position: refs/heads/master@{#322531}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fd9bbb762401141baa603ef5bececbc9426da169
2015-03-27 04:53:25 +00:00
dfalcantara 495fe71b0e Fix downstream GN build
BUG=465201
TBR=cjhopman

Review URL: https://codereview.chromium.org/1032203002

Cr-Original-Commit-Position: refs/heads/master@{#322194}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0366bc65267ef400766819c1cda1a063abe1169
2015-03-25 18:37:09 +00:00
andresantoso 961dd7b8be MacViews: Fix missing browser assets
The MacViews browser were missing infobar and background tab assets.
mac_views_browser grit define is added so that we can include infobar assets.
Don't remap theme image ids so that Mac's background tab assets can be
found.
Map IDR_THEME_TAB_BACKGROUND_INCOGNITO to the same asset as
IDR_THEME_TAB_BACKGROUND.

BUG=425229

Review URL: https://codereview.chromium.org/983823004

Cr-Original-Commit-Position: refs/heads/master@{#321602}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c306fb9a8d5179f34589d6ab330a71ebd40eb073
2015-03-20 18:17:02 +00:00
jochen 0add35348e Roll ICU eda9e75..d319ad9
d319ad9 Import BUILD.gn into ICU repo

Also remove the now superfluous secondary BUILD.gn files for ICU

BUG=none
TBR=dpranke@chromium.org

Review URL: https://codereview.chromium.org/1022793002

Cr-Original-Commit-Position: refs/heads/master@{#321331}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 77501d57f0828fad566bc065056a56efc1df280d
2015-03-19 10:41:18 +00:00
knn aa5aca2cda Allow for GN Grit targets to depend on a stamp file instead of the first output in the .grd file.
BUG=466315

Review URL: https://codereview.chromium.org/1005763003

Cr-Original-Commit-Position: refs/heads/master@{#320903}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8915cf1873c38e62f4df71c9213b2a8918098a94
2015-03-17 12:58:04 +00:00
dpranke e9464c26b2 Add remaining trivial targets for the Linux GN build
This patch adds a whole bunch of small targets that
had either already been done but weren't mentioned
in the 'gn_all' group, or needed to be done.

In theory this should produce no change on any platform
other than Linux, except for one small windows target.

R=brettw@chromium.org
TBR=dtu@chromium.org
BUG=432959
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Review URL: https://codereview.chromium.org/975123003

Cr-Original-Commit-Position: refs/heads/master@{#319580}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: db5527d777f1e0cdbaec2bca579bec33aaf7497e
2015-03-08 04:23:38 +00:00
scottmg b7d78d14bf Apply gn format with 'sources' sorting to src/
Application of https://codereview.chromium.org/962003002/.

TBR=keybuk@chromium.org
R=brettw@chromium.org
BUG=456014

Review URL: https://codereview.chromium.org/960413003

Cr-Original-Commit-Position: refs/heads/master@{#318574}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c7296f4dcb7e32fa4440b333a40a37699f517b1
2015-02-28 02:24:07 +00:00
dpranke ba58479a44 Reland #317760 - add gn_all, gyp_all targets
In order to be able to make sure we are building the same list of targets
in both the GYP and GN builds, this patch adds new 'gn_all' and 'gyp_all'
targets.

Eventually, we should make sure that if one builds 'gn_all', then building
'gyp_all', 'All', or 'all' then has nothing to do. We're not there yet, but this
is a start.

The 'gn_all' target replaces the //:root target in the GN builds.

TBR=brettw@chromium.org
BUG=461019
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Review URL: https://codereview.chromium.org/953463003

Cr-Original-Commit-Position: refs/heads/master@{#317893}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e2ef382dd208417056acbd579620a428fa1b7af4
2015-02-24 21:43:06 +00:00
hiroshige aa2673d7a2 Revert of add gn_all, gyp_all targets to build files, remove GN's //:root (patchset #18 id:350001 of https://codereview.chromium.org/936193004/)
Reason for revert:
Suspecting this breaks Mac builds.
http://build.chromium.org/p/chromium/builders/Mac/builds/33993

Original issue's description:
> add gn_all, gyp_all targets to the build files, remove GN's //:root
>
> In order to be able to make sure we are building the same list of targets
> in both the GYP and GN builds, this patch adds new 'gn_all' and 'gyp_all'
> targets.
>
> Eventually, we should make sure that if one builds 'gn_all', then building
> 'gyp_all', 'All', or 'all' then has nothing to do. We're not there yet, but this
> is a start.
>
> The 'gn_all' target replaces the //:root target in the GN builds.
>
> R=brettw@chromium.org
> BUG=461019
> CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg
>
> Committed: https://crrev.com/ff30e3de333305ccdaa103aa7f9e46765da83e99
> Cr-Commit-Position: refs/heads/master@{#317760}

TBR=brettw@chromium.org,dpranke@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=461019

Review URL: https://codereview.chromium.org/944573003

Cr-Original-Commit-Position: refs/heads/master@{#317763}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6d374cf7ead69b3ff110f9d7dfba0dee921e6b7
2015-02-24 07:54:29 +00:00
dpranke 1b0518d61d add gn_all, gyp_all targets to the build files, remove GN's //:root
In order to be able to make sure we are building the same list of targets
in both the GYP and GN builds, this patch adds new 'gn_all' and 'gyp_all'
targets.

Eventually, we should make sure that if one builds 'gn_all', then building
'gyp_all', 'All', or 'all' then has nothing to do. We're not there yet, but this
is a start.

The 'gn_all' target replaces the //:root target in the GN builds.

R=brettw@chromium.org
BUG=461019
CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

Review URL: https://codereview.chromium.org/936193004

Cr-Original-Commit-Position: refs/heads/master@{#317760}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ff30e3de333305ccdaa103aa7f9e46765da83e99
2015-02-24 06:53:29 +00:00
dpranke 6b94cd7a12 Update Chomium's build files to work w/ latest GN binaries.
The latest GN binaries rename cpu_arch to current_cpu and/or target_cpu
as appropriate, build_cpu_arch to host_cpu, and os to current_os and target_os as appropriate.

R=brettw@chromium.org
TBR=ddorwin@chromium.org
EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg
BUG=344767

Review URL: https://codereview.chromium.org/913373002

Cr-Original-Commit-Position: refs/heads/master@{#317223}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4327621a322c964a8bc6d1ef5a4534f0f877d63e
2015-02-20 02:56:07 +00:00
jshin cdc3578551 Upgrade ICU to 54.1
ICU 54.1 comes with CLDR 26 locale data along with Lao and Khmer dictionaries
for line/word breaking, new interval/duration formatting support, display
context support for date-time and lang/region display name and many more.

To better support regional variants such as en-{CA,AU}, fr-CA, es-*, and de-CH,
the locale data for those variants are included.

The ICU data file (icudtl.dat) for non-Android platform is
256,960 bytes smaller than before.

On Android, it's 232,240 bytes larger because the currency display
name data was added for EcmaScript I18N API.

On Linux/Mac/Android/iOS, base::TestSuites initializer now sets the
ICU locale explicitly to en_US if the default locale is a POSIX locale
that is not supported because I got rid of word_POSIX to save about
100kB. Moreover, virtually none of our users uses a POSIX locale so that
testing on POSIX locale is not realistic.

en_GB time formatting changed in ICU 54.1/CLDR 26 and the expected results
are updated.

Noto to Sheriff: The above data size changes (reduction or increase) may
require the expected size adjustment.
See https://codereview.chromium.org/403723003 for a similar change.

BUG=428145
TEST=All tests on all platforms including but not limited to
 1. Blink: layout tests and webkit_unittests
 1. base_unittests: Break*, *onvers*, *Format*, *CU*, RTL*, *Search*
 2. browser_tests: *ncoding*, *UILanguage* (CrOS)
 3. sql_unittests
 4. gfx_unittests: RenderText*
 5. components_unittests: Query*, *ookmark*
 6. net_unittests: Net**IDN*, URL*
 7. url_unittests
 8. ui_base_unittests

Review URL: https://codereview.chromium.org/878723002

Cr-Original-Commit-Position: refs/heads/master@{#317210}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8fe2fe9afd2d94f6cd814cd55900460ad11da26a
2015-02-20 01:39:13 +00:00
brettw 2efe2d0f1e Update existing uses of /wd4267 to use the GN config
This is the size_t to integer conversion warning. Using the config prevents flag duplication and is clearer to read.

Minor updates to Win64 build, including some fixes for size_t to int conversions.

Review URL: https://codereview.chromium.org/929793006

Cr-Original-Commit-Position: refs/heads/master@{#317162}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d1c719acf7db459016f425eb8018ec4208511578
2015-02-19 23:18:14 +00:00
aberent 272178b22a Make Chrome for Android dependent on Google Play Services
Various bits of Chrome for Android that are being upstreamed
(in particular Cast support) require Google Play Services.
This adds Google Play Services to the Android chrome_java
target.

Note that this uses a variable so that one can use an
alternative version of Google Play Services. This is
required for Chrome for Android development.

TBR=sky@chromium.org
BUG=450675

Review URL: https://codereview.chromium.org/865733002

Cr-Original-Commit-Position: refs/heads/master@{#315538}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c8db3ccbde213d09fac41060c0bf81d4a0020cda
2015-02-10 11:18:48 +00:00
halton.huo 2cc40c70e6 libjpeg_turbo: Add linux include for android GN build.
linux and android should share same yasm defines and include_dirs,
just as src/third_party/libjpeg_turbo/libjpeg.gyp does.

BUG=455151

Review URL: https://codereview.chromium.org/893413002

Cr-Original-Commit-Position: refs/heads/master@{#314719}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c3bb5e1ef6c5e741eb23eec23834527ddb140525
2015-02-05 02:14:54 +00:00
vchigrin a83196aecb Fix build flakes in GN build due to wrong deps for grit action.
BUG=452847

Review URL: https://codereview.chromium.org/877333002

Cr-Original-Commit-Position: refs/heads/master@{#313684}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8eede94a17bd84717a34b9f7e83690a8ef4e3d15
2015-01-29 09:29:03 +00:00
dconnelly 2b35ed8100 Revert of Use data_deps rather then deps for mojo_bindings. (patchset #1 id:1 of https://codereview.chromium.org/876783003/)
Reason for revert:
https://code.google.com/p/chromium/issues/detail?id=452847

Original issue's description:
> Use data_deps rather then deps for mojo_bindings.
>
> Using deps caused pulling a bit of mojo code to chrome.exe. That
> caused weird unresolved externatls problems during Windows GN build.
>
> Committed: https://crrev.com/f7b4f01989be22df44d9b5475143ef98b653b1ac
> Cr-Commit-Position: refs/heads/master@{#313126}

TBR=brettw@chromium.org,dpranke@chromium.org,vchigrin@yandex-team.ru
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/880573005

Cr-Original-Commit-Position: refs/heads/master@{#313492}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 49911f06fc1d061a4b7e61e1811fe303b5ef0cd2
2015-01-28 13:02:01 +00:00
vchigrin f54e247093 Use data_deps rather then deps for mojo_bindings.
Using deps caused pulling a bit of mojo code to chrome.exe. That
caused weird unresolved externatls problems during Windows GN build.

Review URL: https://codereview.chromium.org/876783003

Cr-Original-Commit-Position: refs/heads/master@{#313126}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f7b4f01989be22df44d9b5475143ef98b653b1ac
2015-01-26 20:45:27 +00:00
fdegans 00acc540d7 Roll openmax_dl to the latest.
This picks up:
-Fix Android ARM Neon build.
-Fix Android GN build.
This also fixes an issue with the GN ARM NEON build.

BUG=451035

Review URL: https://codereview.chromium.org/871433002

Cr-Original-Commit-Position: refs/heads/master@{#312629}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d2a76a150091e5c5f1d9e4a42a27d6f1f7538137
2015-01-22 16:28:10 +00:00
qsr 4bd61eb9cd Move the test template to //testing/test.gni (part 2)
This CL move the test target from build/config/BUILDCONFIG.gn to testing/test.gni

It also update the test template to automatically build an apk on Android.

R=cjhopman@chromium.org,brettw@chromium.org

Review URL: https://codereview.chromium.org/824263004

Cr-Original-Commit-Position: refs/heads/master@{#312396}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fb5251d1ff4f36ea296da4be72ddf26a9e3e5643
2015-01-21 15:58:20 +00:00
vchigrin 191b721614 Fix include directories in Windows GN build.
Review URL: https://codereview.chromium.org/845363002

Cr-Original-Commit-Position: refs/heads/master@{#311296}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22779180d946d0e4d90a7ee3e6345992f2c0422b
2015-01-13 18:35:36 +00:00
wangxianzhu 4d9fa39229 Roll third_party/freetype (for Android only) to fd6919ac23f74b876c209aba5eaa2be662086391
This rolls third_party/freetype (for Android only) to the latest version
of AOSP/external/freetype.

TBR=michaelbai@chromium.org

Review URL: https://codereview.chromium.org/792563004

Cr-Original-Commit-Position: refs/heads/master@{#308867}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9cef92c6ea5e65dab4b4ede60e15ea9d6dc960fc
2014-12-17 22:34:34 +00:00
scottmg 0b99ccf933 gn format // regressions
Presubmit added here: https://codereview.chromium.org/779383004/.

TBR=brettw@chromium.org, armansito@chromium.org
BUG=348474

Review URL: https://codereview.chromium.org/755143005

Cr-Original-Commit-Position: refs/heads/master@{#307281}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6da1b58aa68bfd663b92fcd84c6cd52a29f2d9f7
2014-12-08 18:31:45 +00:00
Nico Weber e0ab7c5025 grit: Use new --write-only-new flag.
For the file I'm testing with (c/b/resources/about_stats.html),
a rebuild runs 101 edges and compiles a bunch of cc files and takes 40s.
This reduces build times from 40s to 9.6s and reduces the number
of edges to 37.

BUG=439182
R=brettw@chromium.org

Review URL: https://codereview.chromium.org/740463005

Cr-Original-Commit-Position: refs/heads/master@{#306945}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9261dde33f1939f432cafe6f9654efedba4dc252
2014-12-05 00:50:15 +00:00
scottmg 317bbea2be gn format // (the rest, except mojo)
Excluded mojo because I think that needs to happen on the other side.

At gn --version = 306668 for which roll is in CQ.

R=brettw@chromium.org
TBR=scherkus@chromium.org
BUG=348474

Review URL: https://codereview.chromium.org/774353003

Cr-Original-Commit-Position: refs/heads/master@{#306708}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 34fb7e5919ed42dc800acf3961fe6a2bf9e7d6eb
2014-12-03 23:27:41 +00:00
scottmg fd96972e70 gn format //build
A starting point for doing all of src, and adding a PRESUBMIT.

Includes https://codereview.chromium.org/772663002/ and https://codereview.chromium.org/770053002/.
I haven't pushed new binaries yet.

Generated via:
> cd build
> git ls-files *.gn *.gni | sed -e "s/^/@..\\\\out\\\\Debug\\\\gn format --in-place /" >x.bat && x.bat

The only things that I don't love in the current output are:

1. Turning

    args = [
      "--depfile", rebase_path(depfile, root_build_dir),
      "--android-sdk-tools", rebased_android_sdk_build_tools,
      "--dex-path", rebased_output,
    ]

into:

    args = [
      "--depfile",
      rebase_path(depfile, root_build_dir),
      "--android-sdk-tools",
      rebased_android_sdk_build_tools,
      "--dex-path",
      rebased_output,
    ]

The heuristic for this isn't trivial though, and it also affects e.g. '-Xclang' in cflags, as well
as assignments to temporaries that are later assigned to args.

2. Turning single line

    if (defined(invoker.inputs)) { inputs = invoker.inputs }

into

    if (defined(invoker.inputs)) {
      inputs = invoker.inputs
    }

This could be argued to be an improvement, but as it's very boilerplate-y perhaps an exception to
allow single line in this case is worthwhile. I think there was discussion of new syntax for this
case too, something like "inputs ?= invoker.inputs" maybe.

In both cases, I think it's worthwhile to get formatting turned on, and then go back and special
case these if we decide it's worthwhile.

R=brettw@chromium.org
BUG=348474

Review URL: https://codereview.chromium.org/766573003

Cr-Original-Commit-Position: refs/heads/master@{#306305}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b199254f481c5db36d56e83fce40594b06d2b81f
2014-12-02 00:25:35 +00:00
Brett Wilson 0d23b07288 Add enable_hangout_services_extension flag to GN build.
This does not yet control anything, but is now hooked up to the C++ and grit defines as in GYP.

R=bemasc@chromium.org

Review URL: https://codereview.chromium.org/751613006

Cr-Original-Commit-Position: refs/heads/master@{#306270}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2954bd38c7dfd9e5c36fae26ccaafb9088605bf8
2014-12-01 22:22:54 +00:00
thakis e2e1e883ae Revert of Revert of clang: Suppress a -Wstring-conversion warnings in nspr. (patchset #1 id:1 of https://codereview.chromium.org/758303002/)
Reason for revert:
The CL only changed warning flags and had no effect other than disabling warnings. It doesn't affect code generation, linking, etc.

You can check that the NSS roll only brought in a single cl with a warning flag change here: https://chromium.googlesource.com/chromium/deps/nss/

Original issue's description:
> Revert of clang: Suppress a -Wstring-conversion warnings in nspr. (patchset #1 id:1 of https://codereview.chromium.org/754623004/)
>
> Reason for revert:
> Build failed:
> http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/54166
> "ERROR: Shared library dependencies changed!"
>
> Unsure if this is the cause, but it looks like a clang roll a few weeks ago caused a similar error message (crbug.com/433065) so seeing if a revert fixes things :) sorry if this is the wrong CL!
>
> Original issue's description:
> > clang: Suppress a -Wstring-conversion warnings in nspr.
> >
> > Do the gn version directly, and roll the nss dep to pick up the gyp version.
> >
> > BUG=82385
> > R=hans@chromium.org
> >
> > Committed: 109b55f5be
>
> TBR=hans@chromium.org,thakis@chromium.org
> NOTREECHECKS=true
> NOTRY=true
> BUG=82385
>
> Committed: https://crrev.com/60f77f2b85674ec3f681cce82b28b83c3beff596
> Cr-Commit-Position: refs/heads/master@{#305740}

TBR=hans@chromium.org,vrk@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=82385

Review URL: https://codereview.chromium.org/761683002

Cr-Original-Commit-Position: refs/heads/master@{#305748}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 24c0bd306a4ae854a9fc6ecf5db3bc810dacf055
2014-11-26 01:01:37 +00:00
vrk a868d15113 Revert of clang: Suppress a -Wstring-conversion warnings in nspr. (patchset #1 id:1 of https://codereview.chromium.org/754623004/)
Reason for revert:
Build failed:
http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/54166
"ERROR: Shared library dependencies changed!"

Unsure if this is the cause, but it looks like a clang roll a few weeks ago caused a similar error message (crbug.com/433065) so seeing if a revert fixes things :) sorry if this is the wrong CL!

Original issue's description:
> clang: Suppress a -Wstring-conversion warnings in nspr.
>
> Do the gn version directly, and roll the nss dep to pick up the gyp version.
>
> BUG=82385
> R=hans@chromium.org
>
> Committed: 109b55f5be

TBR=hans@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=82385

Review URL: https://codereview.chromium.org/758303002

Cr-Original-Commit-Position: refs/heads/master@{#305740}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 60f77f2b85674ec3f681cce82b28b83c3beff596
2014-11-26 00:51:17 +00:00
Nico Weber 565cc0adbd clang: Suppress a -Wstring-conversion warnings in nspr.
Do the gn version directly, and roll the nss dep to pick up the gyp version.

BUG=82385
R=hans@chromium.org

Review URL: https://codereview.chromium.org/754623004

Cr-Original-Commit-Position: refs/heads/master@{#305703}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 109b55f5bed033a46f10fd2f50093b82f03586f3
2014-11-25 22:02:13 +00:00
cmumford 1d128545c2 LevelDB: Using base::File for all file I/O
Eliminated platform specific (stdio & Windows) File I/O calls and replaced with
the use of base::File. This makes Chrome's Env (nearly) platform agnostic while
simplifying the implementation.

BUG=431914

Review URL: https://codereview.chromium.org/710373002

Cr-Original-Commit-Position: refs/heads/master@{#305020}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bf82318b8929b07d7bb0abce2729c5a83b9dbfcb
2014-11-20 16:33:17 +00:00
dpranke 792c88f742 Make *some* version of the Win GN build work.
R=scottmg@chromium.org, brettw@chromium.org
BUG=354261

Review URL: https://codereview.chromium.org/709593004

Cr-Original-Commit-Position: refs/heads/master@{#303366}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 43760591658239084cf4b92ec4dd4decbb9c5fe6
2014-11-08 03:00:11 +00:00
vitalybuka 8d1cc55e8c Renamed enable_printing and printing_mode in *.gyp* and .*gn* files.
enable_printing and printing_mode replaced with
enable_basic_printing and enable_print_preview.

BUG=430281

Review URL: https://codereview.chromium.org/702023002

Cr-Original-Commit-Position: refs/heads/master@{#302905}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 93eea40972717ac4e0a649bd289fc9e946512c33
2014-11-05 23:47:41 +00:00