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

590 Коммитов

Автор SHA1 Сообщение Дата
sammc 9e9e0518d6 clang/win: Build with some more clang warnings enabled.
This removes -Wno-deprecated-declarations, -Wno-enum-conversions and
-Wno-return-type-c-linkage.

BUG=504660,505305,504662

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

Cr-Original-Commit-Position: refs/heads/master@{#337017}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8cd95c04a3cf810b638862e2db8fdbcc453d4f7f
2015-07-01 14:07:08 +00:00
sammc 90ec349c60 clang/win: Build without -Wno-missing-declarations.
BUG=505298

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

Cr-Original-Commit-Position: refs/heads/master@{#336966}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b048fb82ff50c605c41ee953ea2ba579a480550c
2015-07-01 03:36:05 +00:00
dcheng 27402f3313 Add local suppresion for -Wparentheses and enable everywhere on Windows.
The Cloud Print Windows service uses WTL, and one of the headers uses
an assignment inside a conditional (atlgdi.h), which triggers this clang
warning.

BUG=505302
TBR=scottbyer@chromium.org,vitalybuka@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#336964}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 700bce216cb9399ce306850ee66d3ce5a68c4cfa
2015-07-01 03:22:58 +00:00
sbc 6f0307c00e Move linux sysroots from chrome/installer/linux to build/linux
The sysroot are generally useful (for example when
cross compiling) and not limited to use in the installer
or official releases.

Another reason to move this is that it would allow other
projects to more easily share chromium's build setup
without depending on chrome/.

Also, rename the install script to simply install-sysroot.
This way the script can keep the same name and support
multiple different debian releases without needing
to duplicate the script (e.g. when we switch to jessie).

BUG=504446
TEST=cross build chromium for arm and ia32

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

Cr-Original-Commit-Position: refs/heads/master@{#336843}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8208b4d81396c11e1f8ca8f6ffe52b9fcea87d05
2015-06-30 19:15:31 +00:00
scottmg 850c53da1e win clang: don't disable -Wself-assign
R=thakis@chromium.org
TBR=brettw@chromium.org
BUG=505306

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

Cr-Original-Commit-Position: refs/heads/master@{#336820}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 838cea57c725da43f9899fee9235fa4fb35bccda
2015-06-30 18:11:04 +00:00
sammc 677e461e4d clang/win: Build without -Wno-unsequenced.
BUG=505315

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

Cr-Original-Commit-Position: refs/heads/master@{#336732}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5357b0fe23f32a51d725cf8a30a6856c4f460469
2015-06-30 05:46:48 +00:00
sammc e14e69c410 clang/win: Build without -Wno-tautological-compare.
BUG=505309

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

Cr-Original-Commit-Position: refs/heads/master@{#336727}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6faacc91988546a05aa2c300a922e1cd16b77fc1
2015-06-30 04:07:27 +00:00
agrieve 7ac3f207ca Fix GN build errors when splits are enabled.
They all looked like: ERROR Input to target not generated by a dependency.

BUG=504971

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

Cr-Original-Commit-Position: refs/heads/master@{#336719}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06c6aab53db5a3f7c17b3b75ffbde75217abc96b
2015-06-30 03:00:00 +00:00
sammc 96f7bb1212 clang/win: Build without -Wno-null-dereference.
BUG=505300

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

Cr-Original-Commit-Position: refs/heads/master@{#336717}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6f856f785833aae16732c3573ef4174561ce7de4
2015-06-30 02:11:56 +00:00
brettw 0bc79121a0 Windows precompiled header support in GN.
Introduces aprecompiled_header_type flag on a tool to say whether it supports precompiled headers, and flags on configs/targets that allow one to specify which header is precompiled.

This does not implement GCC precompiled headers, but the type flag will allow future expansion (the implementation will be mostly separate).

Renames SOURCE_CC to SOURCE_CPP to avoid confusion with Toolchain::TYPE_CC (which is actually the C compiler).

BUG=297678

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

Cr-Original-Commit-Position: refs/heads/master@{#336674}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3dab5fe87ddb0efe646f6ab393ab07533d75237d
2015-06-29 23:01:02 +00:00
Nico Weber 608e59e1c4 clang/win: Add remaining tracking bugs for -Wno flags.
No behavior change.

BUG=none
TBR=hans@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#336522}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02a4f8dc7bac283b30191a3ff6ed5cba6dd6f342
2015-06-29 02:12:51 +00:00
bruthig f0cf6172a7 Moved --top-chrome-md command line switch from chrome_switches to ui_base_switches.
The switch needed to be accessible from ui/base/resources for loading the different assets.
Also defined the ENABLE_TOPCHROME_MD compile time switch on linux builds.

TEST=MaterialDesignControllerTest.NonMaterialModeWhenCompileTimeFlagDisabled
TEST=MaterialDesignControllerTest.EnabledCommandLineValueMapsToMaterialModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.EnabledHybridCommandLineValueMapsToMaterialHybridModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.DisabledCommandLineValueMapsToNonMaterialModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.NoCommandLineValueMapsToNonMaterialModeWhenCompileTimeFlagEnabled
TEST=MaterialDesignControllerTest.InvalidCommandLineValueFails

BUG=501366

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

Cr-Original-Commit-Position: refs/heads/master@{#336442}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0d89d6ac4a77feaa44da9cb4abb456ca800981b4
2015-06-26 19:38:28 +00:00
thakis a72cefe7c1 clang/win: Don't pass -Wno-inconsistent-missing-override twice.
It's already passed unconditionally everywhere if clang is used, there's
no need to pass it again for clang/win.

BUG=82385,428099

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

Cr-Original-Commit-Position: refs/heads/master@{#336431}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e0ad0cfd95a0e90bcfb817168cade7bd1143ada4
2015-06-26 19:00:31 +00:00
thakis 8dd76a2e5a clang/win: Add a few more tracking bugs for -Wno flags up to l.
No behavior change.

BUG=none
TBR=hans@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#336408}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f6ee142f97f9e79441200c32486b094973f2386a
2015-06-26 18:02:32 +00:00
thakis 08bd8a4f02 clang/win: Add a few tracking bugs for -Wno flags up to e.
No behavior change.

BUG=none
TBR=hans

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

Cr-Original-Commit-Position: refs/heads/master@{#336322}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a518d9fb9bc30a4abb9c39a8344a8c977a638392
2015-06-26 02:04:56 +00:00
dgn 753283be45 [GN] Add data_deps support to [android_]java_prebuilt
This is will allow adding actions that don't generate input files
as dependencies to those targets.

BUG=490091

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

Cr-Original-Commit-Position: refs/heads/master@{#336227}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d79dac726b1a92458a110dba0e8e4eba6167962e
2015-06-25 19:29:12 +00:00
dbeam 44978e6019 Fix enable_topchrome_md define misspelling.
R=girard@chromium.org
BUG=none
TEST=GN build works?

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

Cr-Original-Commit-Position: refs/heads/master@{#336060}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b6974eabfd57abde66d3b84182f7e2b8926685c7
2015-06-25 01:11:27 +00:00
agrieve 9de8e300f9 Add build rules to enable language-based split apks on Android
BUG=490285

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

Cr-Original-Commit-Position: refs/heads/master@{#336001}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c89cfe476f4d1f9bae23e6980a12a379fbd00da4
2015-06-24 21:04:32 +00:00
thakis 20a7eb616a Use --icf=all for Linux64 too.
It's inconclusive if this caused a cold start performance regression -- graphs
went up when this first landed, but they didn't recover after the revert.
And on a zoomed-out scale, the graphs didn't go up much, so maybe that was
just noise. Relanding to see if it has an effect again (if so, I will revert
this again).

BUG=492809,492177
TBR=thestig@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#335985}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eca59926d104516f65793063c6a5c04855a8a3fd
2015-06-24 20:09:17 +00:00
agrieve f6e07267a1 Load non-locale .pak files directly from the .apk on Android (rather than extracting on start-up).
BUG=394502

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

Cr-Original-Commit-Position: refs/heads/master@{#335964}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 05398f5f735ac47b070f7c6897b4d25a1aae8ca9
2015-06-24 19:00:09 +00:00
simonb 191623ed95 Extend relocation packing to non-ARM architectures.
Apply relocation packing to ia32 and mips32 builds.

Deferred for x64 pending migration of an ndk bug fix into the
chromium tree.  See b/20532404.

BUG=385553

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

Cr-Original-Commit-Position: refs/heads/master@{#335921}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 00ad6ff02565ee933f61b08c7f38723a307d7902
2015-06-24 14:46:39 +00:00
bajones 5599a56816 Adding Chrome-side WebVR interface
WebVR Spec: http://mozvr.github.io/webvr-spec/webvr.html

For the Blink half of this CL, see https://codereview.chromium.org/848053002

Provides the basic plumbing required to get data from Javascript to the right place in the browser process and back.

BUG=389343

Committed: https://crrev.com/4ab52def6d1861a55fd9864b47f56c16e4b423a0
Cr-Commit-Position: refs/heads/master@{#335062}

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

Cr-Original-Commit-Position: refs/heads/master@{#335561}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02443533743dd265b7a8dec4bee855b0e544a727
2015-06-22 21:18:28 +00:00
agrieve 901e69f073 Revert "Revert "Android: Store language .pak files in res/raw rather than assets""
This reverts commit bd0057ca4ca5990173e099f5cdd5219c6ed72fd5.
Also adds a "setMandatoryPaksToExtract" overload to prevent breakage.

BUG=371610
TBR=Yaron, Torne, cjhopman, Jaekyun Seok, James Hawkins, gunsch, newt

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

Cr-Original-Commit-Position: refs/heads/master@{#335538}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1e54fed611ebeef569a3c452f744ed53ae341991
2015-06-22 19:02:29 +00:00
agrieve b13eeaeb0e Create xxxhdpi density splits when density splits are enabled
The xxxhdpi density was missed in the initial implementation of density
splits.

BUG=488324

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

Cr-Original-Commit-Position: refs/heads/master@{#335534}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa50092a84c19942281fbf8f3a7dc1d67e9a34bb
2015-06-22 18:51:01 +00:00
raywilliams 6f98f3e388 Add the Errorprone Java Compiler
These changes let the errorprone compiler find problems when building Android.
A global flag disabled Errorprone by default.

When enabled, code problems will be shown with suggestions on how to fix them.

BUG=485599

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

Cr-Original-Commit-Position: refs/heads/master@{#335509}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6ffb1179d6adf08edd64848b45b7415b6b6de43d
2015-06-22 16:17:59 +00:00
qinmin 97b0580e87 Revert "Android: Store language .pak files in res/raw rather than assets"
This reverts commit f30e04470453ccd7e6a9abf586185b991d174902.
This change breaks android TOT bot
TBR=yfriedman@chromium.org,torne@chromium.org,cjhopman@chromium.org,jaekyun@chromium.org,jhawkins@chromium.org,gunsch@chromium.org,newt@chromium.org,agrieve@chromium.org
BUG=371610

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

Cr-Original-Commit-Position: refs/heads/master@{#335432}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bd0057ca4ca5990173e099f5cdd5219c6ed72fd5
2015-06-20 05:26:13 +00:00
dpranke ee34feeb3d Reland "Roll buildtools fa660d47..ecc8e253"
Original issue's description:
    > Roll buildtools fa660d47..ecc8e253
    >
    > fa660d47..ecc8e253
    >
    > ecc8e25 Roll GN #330790:#333203 (9d04333f..4e3e57b2)
    > 46ce8cb Optionally support relative include paths in cpp_checker.py
    > b983eee Fix the .gitignore rules to complain about linux32 if need be.
    >
    > The GN roll contains the following changes to tools/gn:
    >
    >   9d04333f..4e3e57b2/tools/gn
    >
    >   56affab Check for inputs not generated by deps
    >   e903c0f Allow directories for GN data lists.
    >   ff0986f GN: Make file/dir resolving return errors.
    >   b73b2de Add support for module-definition files to gn
    >   58a1b33 Add base/files/file_tracing.cc to tools/gn/bootstrap/bootstrap.py.
    >   92acc5e gn: Add a newline to fix a bulleted list in README.md.
    >   81d969a Fix missing print command in a GN error case.
    >   a9adafe Make GN header checker more lenient about toolchains.
    >
    >   In addition, the Linux build of GN was the first build with
    >   use_ozone=true use_glib=false in order to not have a runtime

The roll was reverted because #335350 introduced a new target in //chrome/android
that had some missing deps. This attempt at the roll includes a fix for that.

TBR=brettw@chromium.org, agrieve@chromium.org
CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_dbg,mac_chromium_gn_rel;tryserver.chromium.win:win8_chromium_gn_dbg;tryserver.chromium.linux:linux_chromium_gn_chromeos_dbg

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

Cr-Original-Commit-Position: refs/heads/master@{#335412}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55c615dc327046f24354b815e1edc795ed52bccb
2015-06-20 01:20:38 +00:00
thakis e72f6f6aae clang/win: Make diagnostics colored if ansicon is around at runhooks time.
BUG=82385
TEST=Run gyp or gn with ansicon active, build. Diagnostics should be colored
in cmd.exe.

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

Cr-Original-Commit-Position: refs/heads/master@{#335394}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59fc7718fefd2c93e1acd94c4d5a405949a0cf10
2015-06-19 23:44:00 +00:00
brettw 6978e56fe0 Fix some build symbol configuration.
Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.

Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.

Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.

Reland of https://codereview.chromium.org/1182663007/
Reland of https://codereview.chromium.org/1179393004/
TBR=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#335370}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2f27f9bf85b21f149c5972197ef07f957fe20b41
2015-06-19 22:36:49 +00:00
agrieve 026596734c Android: Store language .pak files in res/raw rather than assets
This is a prerequisite for having them live within APK splits.

Although pak files need to be renamed to be stored under res/raw,
ResourceExtractor restores their original name during extraction (so no
change to native code).

All sub-locales are stored and extracted together, just as before.

BUG=371610

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

Cr-Original-Commit-Position: refs/heads/master@{#335350}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f30e04470453ccd7e6a9abf586185b991d174902
2015-06-19 21:21:24 +00:00
bajones b482db8032 Revert "Adding Chrome-side WebVR interface and Cardboard implementation"
This reverts commit 4ab52def6d1861a55fd9864b47f56c16e4b423a0.

Commit broke Android M bots due to cardboard-java's use of
android.util.FloatMath, which was deprecated in API level 22
(see http://developer.android.com/reference/android/util/FloatMath.html)

BUG=389343
TBR=tsepez@chromium.org, mpearson@chromium.org, jochen@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#335349}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e33731cd7108536b56e18e722af5c9d425c47d55
2015-06-19 21:19:06 +00:00
agrieve 35c515c931 Load V8 startup data directly from the APK on Android.
Startup data files are now stored uncompressed within the .apk, increasing size of the apk, but decreasing total disk requirements (since they don't need to be extracted).

BUG=394502

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

Cr-Original-Commit-Position: refs/heads/master@{#335271}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6f3002d9e87d690bb368931faa2c3ba4638f811e
2015-06-19 16:49:44 +00:00
agrieve bead61febe Store and load icudtl.dat directly from the apk rather than extracting on start-up.
Also changes so that browser process caches a FD to the file rather than re-opening it for each child process.

We store icudtl.dat uncompressed in the apk now, increasing the apk size, but saving 6mb on-disk.

BUG=394502

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

Cr-Original-Commit-Position: refs/heads/master@{#335261}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f3930cfae7a93c5065588c9ba7be5c6927f46588
2015-06-19 15:36:17 +00:00
bajones 07f9035953 Adding Chrome-side WebVR interface and Cardboard implementation
WebVR Spec: http://mozvr.github.io/webvr-spec/webvr.html

For the Blink half of this CL, see https://codereview.chromium.org/848053002

Provides an Android-only, Cardboard-SDK-based implementation of the initial WebVR interface, as well as the basic plumbing required to get data from Javascript to the right place in the browser process and back.

BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#335062}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ab52def6d1861a55fd9864b47f56c16e4b423a0
2015-06-18 16:39:47 +00:00
hans aea56b63bf Roll Clang 238013-3:239765-1
BUG=592898

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

Cr-Original-Commit-Position: refs/heads/master@{#334949}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ea79e1d2756702a88c75a589768ca335266015b
2015-06-17 22:58:15 +00:00
paulmeyer 28da9c5548 Revert of Revert of views: Move TOOLKIT_VIEWS definition in //ui/views/ from root. (patchset #1 id:1 of https://codereview.chromium.org/1192583002/)
Reason for revert:
Unreverting because this CL did not end up being the problem.

Original issue's description:
> Revert of views: Move TOOLKIT_VIEWS definition in //ui/views/ from root. (patchset #6 id:100001 of https://codereview.chromium.org/1175603002/)
>
> Reason for revert:
> Speculative revert to fix win unit_test failures. https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29/builds/39651
>
> Original issue's description:
> > views: Move TOOLKIT_VIEWS definition in //ui/views/ from root.
> >
> > If 'toolkit_views' gyp/gn flag is toggled, then it shouldn't cause targets that
> > do not depend on views to be rebuilt. To make this happen, remove the definition
> > of the TOOLKIT_VIEWS flag from the top-level config into a config in views, so
> > that only targets that explicitly depend on views get the define, and are
> > affected by the switch.
> >
> > BUG=500004
> > R=ben@chromium.org, sky@chromium.org
> >
> > Committed: c13fc9ff0a
>
> TBR=ben@chromium.org,sky@chromium.org,sadrul@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=500004
>
> Committed: https://crrev.com/ecbf7e40116d555c11ee958b6339618920d11c2c
> Cr-Commit-Position: refs/heads/master@{#334820}

TBR=ben@chromium.org,sky@chromium.org,sadrul@chromium.org,phoglund@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=500004

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

Cr-Original-Commit-Position: refs/heads/master@{#334923}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 27b328bf38b552b1576c0a0368c00a36be5ec781
2015-06-17 21:27:42 +00:00
phoglund 80c99e9279 Revert of views: Move TOOLKIT_VIEWS definition in //ui/views/ from root. (patchset #6 id:100001 of https://codereview.chromium.org/1175603002/)
Reason for revert:
Speculative revert to fix win unit_test failures. https://build.chromium.org/p/chromium.win/builders/Win7%20Tests%20%281%29/builds/39651

Original issue's description:
> views: Move TOOLKIT_VIEWS definition in //ui/views/ from root.
>
> If 'toolkit_views' gyp/gn flag is toggled, then it shouldn't cause targets that
> do not depend on views to be rebuilt. To make this happen, remove the definition
> of the TOOLKIT_VIEWS flag from the top-level config into a config in views, so
> that only targets that explicitly depend on views get the define, and are
> affected by the switch.
>
> BUG=500004
> R=ben@chromium.org, sky@chromium.org
>
> Committed: c13fc9ff0a

TBR=ben@chromium.org,sky@chromium.org,sadrul@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=500004

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

Cr-Original-Commit-Position: refs/heads/master@{#334820}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ecbf7e40116d555c11ee958b6339618920d11c2c
2015-06-17 13:44:32 +00:00
phoglund 2c424a41e9 Revert of Revert of Sync Windows build flags between GYP and GN (patchset #1 id:1 of https://codereview.chromium.org/1185963004/)
Reason for revert:
Appears this was innocent after all.

Original issue's description:
> Revert of Sync Windows build flags between GYP and GN (patchset #4 id:60001 of https://codereview.chromium.org/1183613006/)
>
> Reason for revert:
> Speculative revert for Linux GN clobber compile failure:
>
> FAILED: python ../../remoting/webapp/build-webapp.py ...
> Traceback (most recent call last):
>   File "../../remoting/webapp/build-webapp.py", line 487, in <module>
>     sys.exit(main())
>   File "../../remoting/webapp/build-webapp.py", line 483, in main
>     return buildWebApp(**vars(args))
>   File "../../remoting/webapp/build-webapp.py", line 257, in buildWebApp
>     + buildtype + ': ' + service_environment)
> Exception: Invalid service_environment targeted for Release:
> ninja: build stopped: subcommand failed.
>
> Original issue's description:
> > Sync Windows build flags between GYP and GN
> >
> > In GN, turn on omtimize:max for base targets on all platforms, not just Android (matches GYP).
> >
> > In GN, don't duplicate /Os twice, make standard optimize = /O1 (matches GYP). Don't specify redundant optimization flags that are included as part of /O1 or /O2 (doesn't match GYP flag-wise, but should match functionality-wise).
> >
> > In GN, add a min Windows version of XP to x86 architecture binaries (matches GYP).
> >
> > In GYP, remove /GT ("EnableFiberSafeOptimizations"). This flag is super old (pre-dates GYP) and was likely turned on because it has the word "optimization" in it. It was only specified in official builds. However, according to the docs, this is making optimizations fiber safe (i.e. slower, by not caching the TLS pointer), rather than enabling optimizations for fibers. We don't use fibers so this flag is unnecessary and may be making TLS access slightly slower.
> >
> > Committed: https://crrev.com/67021f4d70fe838a5d78133bc6d5b305dfd70d72
> > Cr-Commit-Position: refs/heads/master@{#334742}
>
> TBR=scottmg@chromium.org,brettw@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
>
> Committed: https://crrev.com/1becf72a2d1b5eec4468cc950142b083e9b24fbe
> Cr-Commit-Position: refs/heads/master@{#334782}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#334795}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6a18ffd1f1e656bba0d905c30fad6b46ec4ffcff
2015-06-17 09:09:26 +00:00
Sadrul Habib Chowdhury 1f5e5252af views: Move TOOLKIT_VIEWS definition in //ui/views/ from root.
If 'toolkit_views' gyp/gn flag is toggled, then it shouldn't cause targets that
do not depend on views to be rebuilt. To make this happen, remove the definition
of the TOOLKIT_VIEWS flag from the top-level config into a config in views, so
that only targets that explicitly depend on views get the define, and are
affected by the switch.

BUG=500004
R=ben@chromium.org, sky@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#334785}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c13fc9ff0aedca62ebfdfc27d44c6b5ac204c9d8
2015-06-17 07:07:54 +00:00
phoglund c5a9bf0871 Revert of Sync Windows build flags between GYP and GN (patchset #4 id:60001 of https://codereview.chromium.org/1183613006/)
Reason for revert:
Speculative revert for Linux GN clobber compile failure:

FAILED: python ../../remoting/webapp/build-webapp.py ...
Traceback (most recent call last):
  File "../../remoting/webapp/build-webapp.py", line 487, in <module>
    sys.exit(main())
  File "../../remoting/webapp/build-webapp.py", line 483, in main
    return buildWebApp(**vars(args))
  File "../../remoting/webapp/build-webapp.py", line 257, in buildWebApp
    + buildtype + ': ' + service_environment)
Exception: Invalid service_environment targeted for Release:
ninja: build stopped: subcommand failed.

Original issue's description:
> Sync Windows build flags between GYP and GN
>
> In GN, turn on omtimize:max for base targets on all platforms, not just Android (matches GYP).
>
> In GN, don't duplicate /Os twice, make standard optimize = /O1 (matches GYP). Don't specify redundant optimization flags that are included as part of /O1 or /O2 (doesn't match GYP flag-wise, but should match functionality-wise).
>
> In GN, add a min Windows version of XP to x86 architecture binaries (matches GYP).
>
> In GYP, remove /GT ("EnableFiberSafeOptimizations"). This flag is super old (pre-dates GYP) and was likely turned on because it has the word "optimization" in it. It was only specified in official builds. However, according to the docs, this is making optimizations fiber safe (i.e. slower, by not caching the TLS pointer), rather than enabling optimizations for fibers. We don't use fibers so this flag is unnecessary and may be making TLS access slightly slower.
>
> Committed: https://crrev.com/67021f4d70fe838a5d78133bc6d5b305dfd70d72
> Cr-Commit-Position: refs/heads/master@{#334742}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#334782}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1becf72a2d1b5eec4468cc950142b083e9b24fbe
2015-06-17 06:54:41 +00:00
mek bc3f9d6fbd Revert of Make GN build match gyp (/bigobj everywhere) and remove now-unnecessary settings (patchset #1 id:1 of https://codereview.chromium.org/1190813002/)
Reason for revert:
C:\b\build\slave\Win_x64_Builder__dbg_\build\src\content\common\content_message_generator.cc : fatalerror C1128: number of sections exceeded object file format limit : compile with /bigobj

http://build.chromium.org/p/chromium.win/builders/Win%20x64%20Builder%20%28dbg%29/builds/9331/steps/compile/logs/stdio

Original issue's description:
> Make GN build match gyp (/bigobj everywhere) and remove now-unnecessary settings
>
> Previously added to gyp by https://codereview.chromium.org/1188603004.
>
> R=brettw@chromium.org,jam@chromium.org
> BUG=173851
>
> Committed: https://crrev.com/c4d566d2e08b7ec74bba484676a9b408d3866c42
> Cr-Commit-Position: refs/heads/master@{#334734}

TBR=brettw@chromium.org,jam@chromium.org,brucedawson@chromium.org,scottmg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=173851

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

Cr-Original-Commit-Position: refs/heads/master@{#334745}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 5086df227d96512f77e0696d113a4d15a63285bb
2015-06-16 23:43:21 +00:00
brettw c1dfa4b728 Revert of Fix some build symbol configuration. (patchset #2 id:20001 of https://codereview.chromium.org/1182663007/)
Reason for revert:
Broke Linux clobber:

https://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20Clobber/builds/1307/steps/compile/logs/stdio

Original issue's description:
> Fix some build symbol configuration.
>
> Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.
>
> Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.
>
> Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.
>
> Reland of https://codereview.chromium.org/1179393004/
>
> TBR=thakis@chromium.org
>
> Committed: https://crrev.com/07d847b1c5451748f16f4e7973ce8ef9078d47a2
> Cr-Commit-Position: refs/heads/master@{#334690}

TBR=thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#334744}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22d6e38d5efdb6a71df80a37094d4b97d7bc060f
2015-06-16 23:31:28 +00:00
brettw 2949f0c647 Sync Windows build flags between GYP and GN
In GN, turn on omtimize:max for base targets on all platforms, not just Android (matches GYP).

In GN, don't duplicate /Os twice, make standard optimize = /O1 (matches GYP). Don't specify redundant optimization flags that are included as part of /O1 or /O2 (doesn't match GYP flag-wise, but should match functionality-wise).

In GN, add a min Windows version of XP to x86 architecture binaries (matches GYP).

In GYP, remove /GT ("EnableFiberSafeOptimizations"). This flag is super old (pre-dates GYP) and was likely turned on because it has the word "optimization" in it. It was only specified in official builds. However, according to the docs, this is making optimizations fiber safe (i.e. slower, by not caching the TLS pointer), rather than enabling optimizations for fibers. We don't use fibers so this flag is unnecessary and may be making TLS access slightly slower.

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

Cr-Original-Commit-Position: refs/heads/master@{#334742}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 67021f4d70fe838a5d78133bc6d5b305dfd70d72
2015-06-16 23:20:53 +00:00
scottmg 150efde8c3 Make GN build match gyp (/bigobj everywhere) and remove now-unnecessary settings
Previously added to gyp by https://codereview.chromium.org/1188603004.

R=brettw@chromium.org,jam@chromium.org
BUG=173851

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

Cr-Original-Commit-Position: refs/heads/master@{#334734}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c4d566d2e08b7ec74bba484676a9b408d3866c42
2015-06-16 23:07:15 +00:00
brettw 3ece569951 Fix some build symbol configuration.
Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.

Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.

Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.

Reland of https://codereview.chromium.org/1179393004/

TBR=thakis@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#334690}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 07d847b1c5451748f16f4e7973ce8ef9078d47a2
2015-06-16 20:59:40 +00:00
thestig 21c772dc92 Revert of Fix some build symbol configuration. (patchset #3 id:40001 of https://codereview.chromium.org/1179393004/)
Reason for revert:
Broke the Linux GN Clobber bot:

http://build.chromium.org/p/chromium.linux/builders/Linux%20GN%20Clobber/builds/1271/steps/compile/logs/stdio

ninja: error: '../../build/linux/dump_app_syms', needed by 'obj/chrome/linux_symbols.inputdeps.stamp', missing and no known rule to make it

Original issue's description:
> Fix some build symbol configuration.
>
> Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.
>
> Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.
>
> Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.
>
> BUG=
>
> Committed: https://crrev.com/950889c01dd934acf28bce29ea6db75610a8c441
> Cr-Commit-Position: refs/heads/master@{#334510}

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

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

Cr-Original-Commit-Position: refs/heads/master@{#334522}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 520e8fd6084a0b3f1ec1011273730c4c6e392d09
2015-06-16 01:12:19 +00:00
brettw c699f6a9d2 Fix some build symbol configuration.
Remove -gdwarf-4 from GYP build. This is the default for GCC 4.8 which is now required, so this command-line argument is redundant.

Only set use_debug_fission in the GN build in debug mode. This matches GYP. Release mode symbols will be non-fission.

Implement linux_symbols target in GN. Convert dump_app_syms from sh to Python for better GN usability, and it's more readable for normal programmers on the team.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#334510}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 950889c01dd934acf28bce29ea6db75610a8c441
2015-06-16 00:25:37 +00:00
thakis 7b9fe3844c Revert of Build: Don't pass /GL to Clang on Windows (patchset #3 id:40001 of https://codereview.chromium.org/1186743002/)
Reason for revert:
Broke some official builds (http://crbug.com/500393). Will roll clang forward instead.

Original issue's description:
> Build: Don't pass /GL to Clang on Windows
>
> Windows Clang's support for LTO isn't ready to take on Chrome yet.
>
> BUG=82385
> R=thakis@chromium.org
> TBR=scottmg
>
> Committed: 4e76e7926e

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

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

Cr-Original-Commit-Position: refs/heads/master@{#334419}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7ec6a579b7e47f84b384b98b6f04ee65beb55758
2015-06-15 18:27:30 +00:00
tmoniuszko 348ad93e96 Remove redundant enable_media_router assignment
It's declared in declare_args() section already.

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#334363}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f0ef8b0b297e875e899f6402c224a40872936b5b
2015-06-15 08:15:29 +00:00
Hans Wennborg f6998f7711 Build: Don't pass /GL to Clang on Windows
Windows Clang's support for LTO isn't ready to take on Chrome yet.

BUG=82385
R=thakis@chromium.org
TBR=scottmg

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

Cr-Original-Commit-Position: refs/heads/master@{#334321}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4e76e7926ee51bdfdd635437920f455ae6444912
2015-06-13 03:35:09 +00:00