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

93 Коммитов

Автор SHA1 Сообщение Дата
tmoniuszko 7d56ce458a Make cld2_table_size configurable in GN builds
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#352566}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 457c1fdaf8287b8df965379962f16cdcc4da3477
2015-10-06 08:24:07 +00:00
halliwell 609fb128a2 [Chromecast] Remove use of VIDEO_HOLE
Removed the switch to re-enable old VIDEO_HOLE path as the overlay
path appears to be working correctly.

BUG=469374

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

Cr-Original-Commit-Position: refs/heads/master@{#351571}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d2b919284b79346539b438641f6a3252dccb113b
2015-09-30 16:09:41 +00:00
nparker 15920bd9fb Don't check URLs against Safe Browsing if not supported.
Default all android builds to safe_browsing=3 mode.

This will fix the crash in chrome_public_apk when built with //clank
checkout.  It'll also provide more consistency between public and private
builds since both will use safe_browsing==3.  At a later
date, the public build will get support for safe browsing.

In a follow-up CL I'd like to disable the Safe Browsing settings UI
when it's not supported, assuming we can determine that before the UI
is created.

BUG=533105

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

Cr-Original-Commit-Position: refs/heads/master@{#350429}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 36a226dfc5214fa56583dc14debda373c1718c58
2015-09-24 02:31:31 +00:00
sherouk 7408bdfeac Adding components to dependencies on iOS.
Removing all targets from components so i can add one at a time and check that it works correctly.
Adding components/bookmarks.
components/bookmarks is building correctly but it needs ios/web gn files that are not written yet.

BUG=459705

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

Cr-Original-Commit-Position: refs/heads/master@{#350148}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dc35ba27660f5e0a26ab4e9495efdaaf829afb10
2015-09-22 14:11:00 +00:00
slan a0e26bc796 Add is_chromecast to GN build.
There are several specific features needed for Chromecast builds. This
flag will be used to enable and disable these features. This flag is
the equivalent of 'embedded' and 'is_chromecast' in GYP, which mean the
same thing in practice.

BUG=516899
Bug:b/17615224

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

Cr-Original-Commit-Position: refs/heads/master@{#349961}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 77bdc2e6b89cac63abb81da88d87bd897da67f71
2015-09-21 17:57:09 +00:00
Gordana.Cmiljanovic e644731094 [MIPS] GN: Disable NaCl for MIPS
Few more changes need to go in before enabling NaCl support for MIPS,
lets have it disabled until then.

TEST=Build Chromium using GN.
BUG=130022

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

Cr-Original-Commit-Position: refs/heads/master@{#349109}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d82b297171f8a108efd23929927009d4874548cf
2015-09-16 13:22:22 +00:00
dpranke eab10283ef Enable nacl on 32-bit x86 linux GN builds.
It looks like the only thing missing at this point was to correct
the path to the host build of tls_edit when linking the IRT.

R=brettw@chromium.org, phosek@chromium.org
BUG=512882

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

Cr-Original-Commit-Position: refs/heads/master@{#348302}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a512a524d8541b52c0a0a264215d3499ec1bbb1d
2015-09-11 00:46:48 +00:00
andrewhayden f011842875 Add cld2_table_size variable to GN build.
This variable has been in common.gypi for some time, but was missing from GN.

BUG=528257

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

Cr-Original-Commit-Position: refs/heads/master@{#347576}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b32a1daf9763b66e7f12a3e88e4b526589dd8479
2015-09-05 20:59:10 +00:00
andrewhayden e85fbd4398 Update Android to use Compact Language Detector v2.
Android is the last remaining platform that has not yet converted to CLDv2.
Sheriffs: expect to see APK size changes in the range of [-122K, +98K] bytes.
See the bug for more information.

As on iOS, use the smallest data tables to minimize the binary size impact.
This brings language detection on Android into parity with iOS (which also uses
the smallest data tables).

BUG=528257

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

Cr-Original-Commit-Position: refs/heads/master@{#347418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a70dc32d62dc1a0e9a8885f2258fe612aeb1f06
2015-09-04 16:18:25 +00:00
bajones ce6dccd696 Reland of Android WebVR implementation, Cardboard 0.5.5 SDK (patchset #1 id:1 of https://codereview.chromium.org/1321383002/ )
Reason for revert:
Reason for revert was a misunderstanding of issues that another piece of code was having interacting with the Cardboard SDK. This code was not exhibiting the same problems, so restoring it while we investigate the other code's issues further.

Original issue's description:
> Revert of Android WebVR implementation, Cardboard 0.5.5 SDK (patchset #12 id:220001 of https://codereview.chromium.org/1200303002/ )
>
> Reason for revert:
> Android team found an incompatibility with the 0.5.5 Cardboard SDK and non-ARM devices. Rolling back until the Cardboard team can address that.
>
> Original issue's description:
> > Android WebVR implementation, Cardboard 0.5.5 SDK
> >
> > Previously part of https://codereview.chromium.org/829803003/
> >
> > BUG=389343
> >
> > Committed: https://crrev.com/1d9c45547709e77d599c218d76317895389db129
> > Cr-Commit-Position: refs/heads/master@{#342496}
> >
> > Committed: https://crrev.com/d9be58be03170c7c82f9c55abc2d21f0f7447c7f
> > Cr-Commit-Position: refs/heads/master@{#345356}
>
> TBR=jochen@chromium.org,jdduke@chromium.org,sievers@chromium.org,tedchoc@chromium.org,thakis@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=389343
>
> Committed: https://crrev.com/9763eb99753dc90ae912ebfbee3ba240c37db427
> Cr-Commit-Position: refs/heads/master@{#346669}

TBR=jochen@chromium.org,jdduke@chromium.org,sievers@chromium.org,tedchoc@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#346716}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3fca9561b090d6e0bac68ebd6267b78cb39bbdf9
2015-09-01 20:00:44 +00:00
bajones ce0134e3c1 Revert of Android WebVR implementation, Cardboard 0.5.5 SDK (patchset #12 id:220001 of https://codereview.chromium.org/1200303002/ )
Reason for revert:
Android team found an incompatibility with the 0.5.5 Cardboard SDK and non-ARM devices. Rolling back until the Cardboard team can address that.

Original issue's description:
> Android WebVR implementation, Cardboard 0.5.5 SDK
>
> Previously part of https://codereview.chromium.org/829803003/
>
> BUG=389343
>
> Committed: https://crrev.com/1d9c45547709e77d599c218d76317895389db129
> Cr-Commit-Position: refs/heads/master@{#342496}
>
> Committed: https://crrev.com/d9be58be03170c7c82f9c55abc2d21f0f7447c7f
> Cr-Commit-Position: refs/heads/master@{#345356}

TBR=jochen@chromium.org,jdduke@chromium.org,sievers@chromium.org,tedchoc@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#346669}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9763eb99753dc90ae912ebfbee3ba240c37db427
2015-09-01 16:40:41 +00:00
hshi 8f3ff722f2 Always use ENABLE_PLUGINS to indicate plugins support.
We should rely on GYP_DEFINE "enable_plugins" in gyp files and C++ macro
"ENABLE_PLUGINS" in source code to indicate plugins support. This removes
hard-coded assumptions that certain OS does (or does not) support plugins.

Also add GYP_DEFINE "enable_pdf" and macro "ENABLE_PDF" to indicate
built-in PDF viewer plugin support.

BUG=490433
TEST=trybot
TBR=sievers@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#346284}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 11e9711134d075bef1580c56f189ae5e1ab3c034
2015-08-29 00:15:33 +00:00
bajones b33e97b8be Android WebVR implementation, Cardboard 0.5.5 SDK
Previously part of https://codereview.chromium.org/829803003/

BUG=389343

Committed: https://crrev.com/1d9c45547709e77d599c218d76317895389db129
Cr-Commit-Position: refs/heads/master@{#342496}

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

Cr-Original-Commit-Position: refs/heads/master@{#345356}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d9be58be03170c7c82f9c55abc2d21f0f7447c7f
2015-08-25 17:00:23 +00:00
mmaliszkiewicz 39f10ca449 Allow enable_hangout_services_extension overriding in gn build
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#343871}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: efefbb817804457c48c388db8e96241d528d20ff
2015-08-18 09:57:24 +00:00
bajones d50e8232e0 Revert of Android WebVR implementation, Cardboard 0.5.5 SDK (patchset #10 id:180001 of https://codereview.chromium.org/1200303002/ )
Reason for revert:
Build config issue on ASAN bots.

Original issue's description:
> Android WebVR implementation, Cardboard 0.5.5 SDK
>
> Previously part of https://codereview.chromium.org/829803003/
>
> BUG=389343
>
> Committed: https://crrev.com/1d9c45547709e77d599c218d76317895389db129
> Cr-Commit-Position: refs/heads/master@{#342496}

TBR=jochen@chromium.org,jdduke@chromium.org,sievers@chromium.org,tedchoc@chromium.org,thakis@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#342546}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d94a4177c90960f0f75b5fca996414e2edd0f76c
2015-08-08 23:14:08 +00:00
bajones a6c14b3d78 Android WebVR implementation, Cardboard 0.5.5 SDK
Previously part of https://codereview.chromium.org/829803003/

BUG=389343

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

Cr-Original-Commit-Position: refs/heads/master@{#342496}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1d9c45547709e77d599c218d76317895389db129
2015-08-08 00:58:14 +00:00
dpranke a18e0f23af patch from chinmaygarde@ to make progress on mac, ios.
I've taken ad591c629a
and merged it onto Chromium ToT, with a few lint and other cleanups,
and one fix to make sure that Mac still compiled (which may have broken
iOS, haven't tested yet).

R=brettw@chromium.org, sdfresne@chromium.org
BUG=459705
CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg

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

Cr-Original-Commit-Position: refs/heads/master@{#342297}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2a29462a04dabad3fc20dc922227c46b36459912
2015-08-07 05:23:38 +00:00
danduong 4f376434d0 Add a new gyp flag: fieldtrial_testing_like_official_build
When set to 1, this will NOT activate the field trial test specified
in the fieldtrial_testing_config_*.json.  This gives Chromium
packagers the flexibility to disable field trial testing config for
their package as we have on our Google Chrome build.

BUG=515686

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

Cr-Original-Commit-Position: refs/heads/master@{#341845}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3d2e44fe0e7994b083504c249b654e20d76228e0
2015-08-05 02:12:41 +00:00
slan e886f11b08 [Chromecast] Allow |enable_pepper_cdms| to be set in gn args.
Chromecast builds need to explicitly set |enable_browser_cdms| to true
and |enable_pepper_cdms| to false. Rather than introduce a global
is_chromecast variable, as we have in GYP, allow |enable_pepper_cdms| to
be set in args.gn.

BUG= b/17615224

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

Cr-Original-Commit-Position: refs/heads/master@{#341776}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9bacb78d7d0a453ff5d23df7fd30b7b75cded17d
2015-08-04 20:13:29 +00:00
dylanking b7095ce5d4 Rename spellchecker preprocessor flag
Renamed USE_PLATFORM_SPELLCHECKER preprocessor flag to
USE_BROWSER_SPELLCHECKER to more accurately reflect the fact
that the browser side contains other services such as red
underlines that will be leveraged by any spellchecker.

BUG=415302

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

Cr-Original-Commit-Position: refs/heads/master@{#341771}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 990eb97f091d9719b2061de67b7e585f6a967d8b
2015-08-04 19:58:45 +00:00
sherouk 5bd3ad7d8f Fix gn gen for iOS.
BUG=459705

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

Cr-Original-Commit-Position: refs/heads/master@{#341530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53f0f1ac021043f7aba990be4a44de21e18eebe8
2015-08-03 16:00:09 +00:00
avayvod 33e9850b44 [MediaRouter] The minimal change to make everything build on Android.
BUG=412331

NOTRY=true
NOTREECHECKS=true

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

Cr-Original-Commit-Position: refs/heads/master@{#339708}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6f828083bd41d61e23a6ebe89288a9b3126ae586
2015-07-21 18:45:24 +00:00
dylanking 8271d0e887 Refactored spellcheck_message_filter to be generic.
The header is now meant to be an interface for any
system that would like to use its own spellchecker
instead of the hunspell library.

Split the implementation into two source files, one for mac and one for android.
The android implementation is just method stubs for now.

Updated related build files and #include references.

Part 1 of a 3 part breakdown of https://codereview.chromium.org/1204293003.
The breakdown will also include some changes to the original CL.

BUG=415302

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

Cr-Original-Commit-Position: refs/heads/master@{#339195}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 684453c5ecb33796629becb77b64591d939e4458
2015-07-17 01:24:11 +00:00
sdefresne 31676fb3fd Componentize chrome/browser/rlz
Add new class RLZTrackerDelegate that abstract access to embedder
specific singletons and informations and provide an implementation for
Chrome based on the previous implementation.

Split rlz_unittest.cc in tests of the RLZTracker and Chrome
implementation of the RLZTrackerDelegate interface and move the
RLZTracker tests into the component.

Add a new gyp/gn variable "enable_rlz_support". This variable is true on
the platforms that support RLZ (currently Windows, Mac, iOS and
ChromeOS). Use it to build library and unit tests even when the RLZ
support is not enabled in the Chrome binary (this is still controlled by
"enable_rlz" and depends on the branding).

Enable the tests on iOS and convert rlz_tracker_ios.mm to a C++ file.

TEST=Run unit_tests and components_unittests on a platform that supports
RLZ (Windows, Mac, iOS or ChromeOS) and check that they pass. Then build
Chrome with "enable_rlz" and manually checks that RLZ are sent with
searches as expected.

BUG=504841,508148

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

Cr-Original-Commit-Position: refs/heads/master@{#339002}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d967d55cf7a0f78e6ace9ec681d2d082e631810b
2015-07-16 08:35:10 +00:00
Nico Weber 128046a2d0 Revert "Componentize chrome/browser/rlz"
This reverts commit 311a46585ee5b77486ef42d947bc7cc7566558b1 / #338040,
https://codereview.chromium.org/1212163011/.  The change broke tests in official
builds (http://crbug.com/508659).

BUG=504841, 508148, 508659
TBR=sdefresne@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

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

Cr-Original-Commit-Position: refs/heads/master@{#338150}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 66706d26418b305f48c7124039a804a7c826a463
2015-07-09 21:21:10 +00:00
sdefresne 1b7df0fadb Componentize chrome/browser/rlz
Add new class RLZTrackerDelegate that abstract access to embedder
specific singletons and informations and provide an implementation for
Chrome based on the previous implementation.

Split rlz_unittest.cc in tests of the RLZTracker and Chrome
implementation of the RLZTrackerDelegate interface and move the
RLZTracker tests into the component.

Add a new gyp/gn variable "enable_rlz_support". This variable is true on
the platforms that support RLZ (currently Windows, Mac, iOS and
ChromeOS). Use it to build library and unit tests even when the RLZ
support is not enabled in the Chrome binary (this is still controlled by
"enable_rlz" and depends on the branding).

Enable the tests on iOS and convert rlz_tracker_ios.mm to a C++ file.

TEST=Run unit_tests and components_unittests on a platform that supports
RLZ (Windows, Mac, iOS or ChromeOS) and check that they pass. Then build
Chrome with "enable_rlz" and manually checks that RLZ are sent with
searches as expected.

BUG=504841,508148

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

Cr-Original-Commit-Position: refs/heads/master@{#338040}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 311a46585ee5b77486ef42d947bc7cc7566558b1
2015-07-09 14:56:44 +00:00
dylanking 4a1cfb7a07 Added a preprocessor flag for platform spellcheck.
Also replaced some Mac-specific #ifdef's with this flag.

BUG=415302

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

Cr-Original-Commit-Position: refs/heads/master@{#337969}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0a669b8909530cf5e3489dda0bd50e28196fb7bb
2015-07-09 02:21:02 +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
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
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
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
brettw 5a39ef9995 Clarify and update GN build flags docs.
Some of the documentation was unclear and out-of-date, and also didn't really list what to do instead.

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

Cr-Original-Commit-Position: refs/heads/master@{#330761}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a05b7f011a620b2bb1046acacb4a5ac0f667603
2015-05-20 17:33:15 +00:00
nparker b7b417cbf6 Split to SafeBrowsingDatabaseManager into Local* and Remote*.
SafeBrowsingDatabaseManager: Pure interface
  TestSafeBrowsingDatabaseManager: Dummy impl for tests
  LocalSafeBrowsingDatabaseManager: Existing full impl.
  RemoteSafeBrowsingDatabaseManager: New for Android

Wire up the safe_browsing=3 build-mode to switch Android to
use Remote*.  Move SafeBrowsingCheck into Local* and create
the Test* impl that can't accidentally call a real
implementation's methods.  Adjust tests to use either Test*
or Local*.

The initial implementation of Remote* does the bookeeping
of requests, but doesn't yet make calls to Java and isn't
tested.

BUG=474608

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

Cr-Original-Commit-Position: refs/heads/master@{#329551}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b2cd5eef530be7100274af882af3f5aff4d1c4be
2015-05-13 01:12:35 +00:00
brettw 5c57b5e393 Sync defines with the GYP build.
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#329357}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9f7a2cb43a231998f6aaedf7e808562e9a46caaf
2015-05-12 05:37:43 +00:00
dpranke 67072c1e3f Fix building NaCl in Linux component GN builds.
R=brettw@chromium.org, bbudge@chromium.org
BUG=482415

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

Cr-Original-Commit-Position: refs/heads/master@{#328882}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: fc9e836200dfd6d40034783f25a26728219276ab
2015-05-07 23:52:46 +00:00
tmoniuszko 09fa9366dd Allow safe_browsing_mode overriding in gn build
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#328298}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c01623f93b4c741608cc607bfbf71c95a97a76e4
2015-05-05 08:05:46 +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
dpranke 9d95761a24 Disable Nacl on Linux GN component builds.
This is a temporary workaround until the other fixes for bug
482415 can land. This shouldn't affect any of the bots, as
the only component GN Linux build we have is also a debug build,
so NaCl was already disabled.

TBR=brettw@chromium.org, bbudge@chromium.org
BUG=482415

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

Cr-Original-Commit-Position: refs/heads/master@{#327604}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1feead57e3a71bbdad4775899b19d0b173ffc7e7
2015-04-29 23:00:33 +00:00
prashantv 46524125c7 Add BUILD.gn files for chromecast/media
Set default chromecast args in chromecast/args.gn

BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#326133}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4025129eb8db73777a99731cae1aef839933b366
2015-04-21 21:54:40 +00:00
mfoltz c43c6c981e Add ENABLE_MEDIA_ROUTER define to builds other than Android and iOS.
BUG=461815

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

Cr-Original-Commit-Position: refs/heads/master@{#324177}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e62587c04a6a1732e61bff63fda0504d578fb391
2015-04-08 02:32:48 +00:00
mostynb b83acee6f3 add video hole support to the gn build
BUG=329447

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

Cr-Original-Commit-Position: refs/heads/master@{#323201}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: e6a9adc346e41d6c7676689174c12fe15ff5dbe1
2015-04-01 08:27:24 +00:00
torne 1f6e035226 Remove most android_webview_build conditions from build.
Remove most references to android_webview_build from the build directory
now that we no longer support that build configuration. Fold conditions
into their parents where appropriate. Leave the variable itself defined
to 0 as not all uses in the tree have been removed yet.

A few references are left alone here and will be removed separately in
later changes that will be larger refactorings to eliminate other
variables.

BUG=440793

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

Cr-Original-Commit-Position: refs/heads/master@{#323013}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c6fe7a775af41cd98533e89a902b8b67044caa87
2015-03-31 11:51:32 +00:00
tmoniuszko 41dc1ad3f0 Allow setting enable_remoting from gn args
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#320469}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d5987ac12656b53390ce56c96874290b833642e2
2015-03-13 08:27:21 +00:00
brettw e59b936dc6 Audit GN cflags and defines to match GYP build.
This makes Skia compile on Windows in component build.

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

Cr-Original-Commit-Position: refs/heads/master@{#319357}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c30f70d94e8a470b57009fbfb14b7c6bd0783cc7
2015-03-05 23:14:41 +00:00
tmoniuszko dd8ada2eab Move some feature flags to declare_args() so features can be disabled
BUG=

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

Cr-Original-Commit-Position: refs/heads/master@{#318668}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c5a066f4e516b6dd295ccb3e460ee39ee0f3abd2
2015-03-02 08:46:31 +00:00
dpranke 65deabc69b Fix 32-bit x86 Linux build for GN uploads.
The bots still use 'cpu_arch' to set the architecture, and the build
file was keying off of build_cpu_arch to determine whether or not
to enable NaCl, so things were failing. Updating the the code to
'current_cpu' fixes the problem correctly.

TBR=brettw@chromium.org

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

Cr-Original-Commit-Position: refs/heads/master@{#318585}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1c35162ea310ab09b3bb72fe1bfe95232db5d1a6
2015-02-28 02:56:36 +00:00
dpranke 3ab62c8620 Enable NaCl on the Linux GN x64 release build (only).
I don't think any other config will work at the moment.

Note that this is also totally untested, but should at least compile :).

R=brettw@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/954383002

Cr-Original-Commit-Position: refs/heads/master@{#318329}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2ea95fb51c079912c99ff90a4579e02d802a73e9
2015-02-26 22:19:48 +00:00
dpranke 986b05cb9e Land prep work to enable NaCl in the Linux x64 GN builds.
This should get most of NaCl and the PPAPI stuff needed
for NaCl building and linking. There is more work to be
done to get some of the test binaries working (and
probably fill out parts of the NaCl SDK) and possibly
some pnacl support work remaining as well.

NaCl is still disabled by default (set enable_nacl=true
to change). Enabling nacl is still mostly untested and
likely doesn't work at all :).

R=ncbray@chromium.org, brettw@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/877553008

Cr-Original-Commit-Position: refs/heads/master@{#318180}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6065cf751340a8a99b670357b2053ed6df12a7af
2015-02-26 03:31:51 +00:00