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

6536 Коммитов

Автор SHA1 Сообщение Дата
jbudorick@chromium.org 11654a9745 [Android] Switch to DeviceUtils versions of file functions.
This includes PushChangedFiles, FileExists, PullFile, ReadFile, and WriteFile.

BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281147 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-03 03:11:07 +00:00
navabi@google.com 691337aa12 Set lockscreen settings in the locksettings db.
BUG=389671
NOTRY=True

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281108 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 23:24:35 +00:00
bradnelson@google.com 348cbbfb66 Adding a landmine to clobber due to NDEBUG nacl change.
BUG=391093
R=kbr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 23:11:11 +00:00
brettw@chromium.org d66ff89622 Work on GN build, mostly in //ui
This fills out a number of ui targets and does some changes to the resources to match the GYP build. In particular, we had a number of different ui/resources targets that were depended on independently. The GYP build has only one, so I combined them into a meta "ui/resources" target.

Adds a grit repack template.

TBR=ajwong

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281087 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 20:39:12 +00:00
brettw@chromium.org b45a2ea9a4 Add lots of GN targets:
components/autofill
  components/metrics
  components/policy
  components/variations
  third_party/libphonenumber
  third_party/mt19937ar
  ui/gfx/ipc

These are all requried to compile chrome/browser in some form or another.

Fills out all grit_defines (also required for chrome/browser) and adds associated flags for them.

Add the ability for generated_extensions_api to not generate a bundle.

Remove mt19937ar from .gitignore (it's just checked into the tree)

R=ajwong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@281057 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 17:37:34 +00:00
cjhopman@chromium.org 9f9e39c561 Add android_library template and build_configs
This is the GN equivalent of build/java.gypi. It is a template for
creating an Android library including java code and Android resources.

It currently only compiles java files (including files in srcjars from
srcjar targets like java_cpp_template) and zips them together in a .jar
and creates the corresponding .jar.TOC.

Some of the things still to do: proguard_preprocess, android_lint,
emma coverage, dex, everything resources.

Adds android_java_library rule for base_java, guava, and jsr-305.

This add the --java-srcjars argument to javac.py. This will accept a .zip of
.java files and include those files in the compilation. This approach is
preferred over using the --src-gendirs option.

Many of the parts of building Android stuff (libraries, resources, apks)
require knowledge of the dependents of that thing. Examples: javac classpath,
for resources aapt needs to know about all dependents, dexing for an apk
needs to know about all java code going into that apk. For gyp, this is done
primarily with all_dependent_settings. There is then some of this logic in
two particular steps (dexing and proguard). These steps, when building an
instrumentation apk, need to exclude the things in the tested apk and this is
done by having the tested apk essentially write a file saying what it did in
those steps and the test apk reading that file and excluding stuff.

In GN, all_dependent_settings doesn't really work. This change introduces a new
way of calculating and using this information. Specifically .build_config files
and build_utils.ExpandFileArgs(). The build_config file for a target contains
the information that depends on dependents. The logic in write_build_config and
the logic in the template specification are very much tied together (in some
sense, write_build_config is just the part of the template specification
that can actually inspect the dependency graph). With
build_utils.ExpandFileArgs() all the other build scripts are essentially
unaware of the .build_config files and can just be written in a (mostly)
straightforward way.

A large part of the information calculated by the build_config is finding input
files to later actions. This requires that those later actions writes a depfile
that contains any inputs that are specified by the build_config (in the case of
this change, javac and the classpath files). Since a action's script shouldn't
really know about the build_config file and what information it got
from that, it is safest for the action to write *all* of its inputs into the
depfile (but to be correct it only has to write those that aren't explicitly
specified in the build files).

Depends on: https://codereview.chromium.org/341823003/

BUG=359249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280995 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 10:46:46 +00:00
jochen@chromium.org 2de75c3040 Revert of Enable extended debugging symbols to including macro expansion. (https://codereview.chromium.org/198363002/)
Reason for revert:
Linux dbg builder runs out of memory

Original issue's description:
> Adding -g3 to get macro expansion support. (Default is -g2.)
> Adding -gdwarf-4 for macro expansion support.
> 
>  * gcc 4.6 outputs DWARF-2 by default
>  * gcc 4.7 outputs DWARF-4 by default
>  * clang <3.4 outputs DWARF-3 by default
>  * clang >3.4 outputs DWARF-4 by default
> 
> From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> > -g3
> >  Level 3 includes extra information, such as all the macro
> >  definitions present in the program. Some debuggers support macro
> >  expansion when you use -g3.
> >
> > -gdwarf-4
> >  Produce debugging information in DWARF format (if that is
> >  supported). The value of version may be either 2, 3 or 4; the
> >  default version for most targets is 4.  Note that with DWARF
> >  Version 2, some ports require and always use some non-conflicting
> >  DWARF 3 extensions in the unwind tables.
> >
> >  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
> >  maximum benefit.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280980

TBR=mark@chromium.org,mithro@mithis.com,thestig@chromium.org
NOTRY=true
NOTREECHECKS=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 09:31:33 +00:00
mithro@mithis.com 635765c29b Adding -g3 to get macro expansion support. (Default is -g2.)
Adding -gdwarf-4 for macro expansion support.

 * gcc 4.6 outputs DWARF-2 by default
 * gcc 4.7 outputs DWARF-4 by default
 * clang <3.4 outputs DWARF-3 by default
 * clang >3.4 outputs DWARF-4 by default

From http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
> -g3
>  Level 3 includes extra information, such as all the macro
>  definitions present in the program. Some debuggers support macro
>  expansion when you use -g3.
>
> -gdwarf-4
>  Produce debugging information in DWARF format (if that is
>  supported). The value of version may be either 2, 3 or 4; the
>  default version for most targets is 4.  Note that with DWARF
>  Version 2, some ports require and always use some non-conflicting
>  DWARF 3 extensions in the unwind tables.
>
>  Version 4 may require GDB 7.0 and -fvar-tracking-assignments for
>  maximum benefit.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=257944

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280980 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 08:51:14 +00:00
kangil.han@samsung.com d5f663a4af Introduce enable_web_speech to replace with input_speech
Before this CL, implementation manipulated os condition
but that seemed not so straight forward.
Therefore, this CL introduced feature wise variable
so that later any os can easily enable/disable.

BUG=223198

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280972 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-02 07:38:21 +00:00
brettw@chromium.org 66837b27ef Add more GN deps to the build.
These deps are some of those required to compile chrome/browser (so mostly those containing resources and protobufs that have generated headers). chrome/browser still has some dependencies left.

Add third_party libs libaddressinput and dom_distiller_js.

Add components dom_distiller and policy.

Separate the generate_library_loader into a separate .gni file.

Rename components_strings to just strings.

R=ajwong@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280916 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 23:54:17 +00:00
jungjik.lee@samsung.com b26a0f391b Use MEMORY_SANITIZER_INITIAL_SIZE for sanitizer.
Out-of-bounds reads based on pointer access.
so the initial size should be 1 at instance time.
This patch is related with crrev.com/357603002
and the original issue was crrev.com/22548004.

Bug=None

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280862 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 19:22:12 +00:00
anton@chromium.org 94de23c70a Add switch for turning on library in zip file support.
Note this patch doesn't enable the support (that is done in GYP).

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280812 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 13:16:56 +00:00
rvargas@chromium.org 7af39608a1 Add gn support for libsrtp
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280764 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 07:03:25 +00:00
bashi@chromium.org 96b0e1e1da OTS roll to r115
Removing build/secondary/third_party/ots/BUILD.gn because ots has the file in its repository.

BUG=324187

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280760 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 07:01:08 +00:00
cjhopman@chromium.org cd861ec410 Fix generation of v14 resources
generate_v14_compatible_resources.GenerateV14Resources was deleting and
recreating the output directory. process_resources was calling that
multiple times and reusing the same output directory (and so it would
only actually get v14 resources for the final directory).

Instead, callers of GenerateV14Resources should handle deleting/creating
the output directory for themselves--this is just
generate_v14_compatible_resources.main and process_resources (which was
already handling this itself).

BUG=383803

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280725 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-01 01:45:03 +00:00
brettw@chromium.org dc9e7b61d6 First pass on adding a chrome/browser GN target.
This adds a lot of global enable flags for various features used by the browser.

It is not turned on because it does not compile yet. It needs some include directories and generated sources from dependencies that aren't done yet.

It is basically a line-by-line translation of the current chrome_browser.gypi. As such, it looks pretty ugly but I think keeping these in sync will be easiest.

I put in the obvious names of the GN deps. There are surely a bunch that exist in the GN build that aren't here yet but I'm going to save this for later passes.

R=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280693 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-30 23:24:31 +00:00
anton@chromium.org 26162968a7 Revert of Include stlport through -isystem instead of -I. (https://codereview.chromium.org/359783005/)
Reason for revert:
This patch breaks Android Goma builds (the build continues locally very slowly).

https://groups.google.com/a/google.com/forum/#!topic/goma-users/KNsshiobTvE


Original issue's description:
> Include stlport through -isystem instead of -I.
> 
> Enables removing a TODO and is needed for the bug linked below.
> 
> (Doesn't work for the webkit build for some reason, but that's currently
> not built with clang anyhow.)
> 
> BUG=381053
> TBR=brettw@chromium.org
> NOTRY=true
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280406

TBR=cjhopman@chromium.org,thakis@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=381053

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280648 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-30 19:53:41 +00:00
navabi@google.com c2e7f73e24 device_status_check shouldn't expect dumpsys iphonesubinfo to provide output.
BUG=389470
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-30 11:56:57 +00:00
rmcilroy@chromium.org 1e2ed6e6ce [Android]: Roll android_tools to update ndk_experimental to r10-rc3
This updates the arm64 and x86_64 ABIs to include the changes in NDK r10-rc3.

BUG=367378,354405,346626

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280499 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-28 05:45:30 +00:00
brettw@chromium.org f4de3efde4 Organize file lists in chrome_browser_ui.gypi
The main change is that there are no longer any ChromeOS exclusion lists.

It also cleans up the definition of all_list in common.gypi now that Linux assume aura.

TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280495 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-28 05:36:50 +00:00
powei@chromium.org ac56fe7812 android: Add test for ContentViewCore readback
This test renders a blue screen and grabs a snapshot of the content.  The
test checks that the pixel in the middle of the snapshot is blue.

BUG=372792
NOTRY=true

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280381

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280446 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 23:40:03 +00:00
thakis@chromium.org e036791ec8 Include stlport through -isystem instead of -I.
Enables removing a TODO and is needed for the bug linked below.

(Doesn't work for the webkit build for some reason, but that's currently
not built with clang anyhow.)

BUG=381053
TBR=brettw@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280406 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 20:43:57 +00:00
powei@chromium.org 1d9a426c3e Revert of android: Add test for ContentViewCore readback (https://codereview.chromium.org/358513002/)
Reason for revert:
broke win_gpu because of findbugs addition.  Will rebase and try again.

Original issue's description:
> android: Add test for ContentViewCore readback
> 
> This test renders a blue screen and grabs a snapshot of the content.  The
> test checks that the pixel in the middle of the snapshot is blue.
> 
> BUG=372792
> NOTRY=true
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280381

TBR=tedchoc@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=372792

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280383 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 19:45:43 +00:00
powei@chromium.org cdeed47978 android: Add test for ContentViewCore readback
This test renders a blue screen and grabs a snapshot of the content.  The
test checks that the pixel in the middle of the snapshot is blue.

BUG=372792
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 19:31:48 +00:00
phoglund@chromium.org c61feb52c0 Disabling all WebRTC tests on Android.
It seems all WebRTC tests have become susceptible to hanging the past
few days, so disable while we investigate to green up the bots.

BUG=387895
TBR=peter@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280348 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 17:05:26 +00:00
anton@chromium.org b77c957d67 Add support for uncompress library in APK to the build system
BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280346 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 16:59:46 +00:00
bulach@chromium.org e91ad39ad1 Removes bulach@ from OWNERS.
May our paths cross again soon!

BUG=
TBR=jochen@chromium.org,thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 13:11:13 +00:00
amogh.bihani@samsung.com 74536fc423 Removing Dummy Test Suit - webkit_compositor_bindings_unittests
A dummy test suit was left behind while moving files from webkit/renderer
to content/renderer. Now that all the bots have been disabled to build
that test suit, the dummy files can be removed.

BUG=265753

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280311 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 13:09:39 +00:00
sebastianl@opera.com 880ebaadab binary_size_tool: fix for ambiguous addr2line output
Sometimes the output of addr2line is ambiguous, example:
  unicode.cc:0
and does not include the absolute path of the source file. This fix
is mostly a port of andrewhaydens solution to disambiguate the path.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280303 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 11:27:30 +00:00
zty@chromium.org 1370926a36 Only send email notification when device_status_check failed on buildbot.
R=navabi@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280218 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 03:02:54 +00:00
tonyg@chromium.org 047fe9a7df Add libav-tools to install-build-deps.sh.
This package makes avconv available which is used by Telemetry benchmarks to
decode mpg video captures from Android devices into Bitmaps which can be
processed frame-by-frame.

Installing this package allows the benchmarks to work on the bots.

BUG=388910

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-27 02:27:14 +00:00
byoungyoung@google.com 386330be39 Add preliminary support for UBsan's vptr in Chromium (-fsanitize=vptr).
Can be enabled using ubsan_vptr=1, but not working right now due to
1) Clang's missing library and 2) Clang's link bug.

BUG=174801

TBR=kbr@chromium.org, mseaborn@chromium.org
R=glider@chromium.org, inferno@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280162 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 23:31:40 +00:00
brettw@chromium.org cf4ade91bb Allow dependencies of toolchains in GN.
A toolchain definition can now specify "deps" which will be resolved before any target in that toolchain is compiled. This is useful for toolchain setup operations.

R=noelallen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280052 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 18:12:30 +00:00
plundblad@chromium.org a94b27cbf3 Flip to use chromevox from uncompiled sources.
The only difference is that ChromeVox is flattened and compressed from
the individual source files instead of taken froma closure compiled version
from upstream.  Deleting the precompiled js binaries and removing support
for using that version will be done in a follow-up cl when this has
been used on canary/dev for a while.

BUG=371692

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@280048 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 18:00:55 +00:00
andrewhayden@chromium.org d36f05e347 Make CLD data source default value actually overridable.
Silly oversight in initial checkin, this makes the default value overridable
so that other distributions can override it if they wish without having to
change common.gypi.

BUG=367239
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279963 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 08:35:01 +00:00
jbudorick@chromium.org 6e0284b344 [Android] Switch to DeviceUtils versions of GoHome, ForceStop, etc.
(etc: ClearApplicationState and SendKeyEvent)

BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279933 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 06:38:43 +00:00
klundberg@chromium.org f7390d26a4 Fix for provisioning_devices failure on user builds.
provisioning_devices tries to use "adb shell su" to set content
settings. However, "su" is not available for user builds and
thus provisioning_devices fails for devices with user builds.

This CL fixes this failure by only setting the content settings
when the device has a userdebug build.

BUG=385789

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279873 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-26 00:04:36 +00:00
spang@chromium.org 9f511f9bc5 ozone: Add libgles2-mesa-dev to build/install-build-deps.sh
BUG=none
TEST=install-build-deps.sh on precise

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279866 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 23:55:04 +00:00
glider@chromium.org 035b7b28c4 Switch to tools/memory/tsan_v2/ignores.txt when building with ThreadSanitizer v2
This is a follow-up for r279695.

BUG=45482
TBR=thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279813 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 21:11:54 +00:00
qsr@chromium.org f95e57547d Generate java bindings for structs.
This CL introduces bindings for struct. It only generates fields and not
serialization/deserialization methods.

R=rmcilroy@chromium.org, viettrungluu@chromium.org

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279677

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279707 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 13:28:50 +00:00
andrewhayden@chromium.org 150c19d8b6 Update docs for CLD2 dynamic data
BUG=367239
NOTRY=true
TBR=toyoshim@

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279698 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 12:57:15 +00:00
pastarmovj@google.com 6f28c6224e Revert 279677 "Generate java bindings for structs."
Broke the Linux x64 build http://build.chromium.org/p/chromium/builders/Linux%20x64/builds/66839/steps/compile/logs/stdio
> Generate java bindings for structs.
> 
> This CL introduces bindings for struct. It only generates fields and not
> serialization/deserialization methods.
> 
> R=rmcilroy@chromium.org, viettrungluu@chromium.org
> 
> Review URL: https://codereview.chromium.org/306893010

TBR=qsr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279688 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 12:36:59 +00:00
qsr@chromium.org aecbd8dd3d Generate java bindings for structs.
This CL introduces bindings for struct. It only generates fields and not
serialization/deserialization methods.

R=rmcilroy@chromium.org, viettrungluu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279677 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 11:52:30 +00:00
jbudorick@chromium.org 486c74e767 [Android] Switch KillAll, StartActivity, and BroadcastIntent to DeviceUtils.
BUG=267773

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279599 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-25 05:09:06 +00:00
cjhopman@chromium.org a35d42b462 Add depfile support to android build scripts
This adds the --depfile option to a bunch of android's build scripts
(the ones used by gn). It also adds a simple function in build_utils to
calculate the paths of the imported python files.

Currently, the written depfiles just contain that list of python files
(which is much more accurate than the way this is handled in gyp).

BUG=359249

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279546 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 23:38:17 +00:00
rtoy@chromium.org 9138e96dad Enable WebAudio on ARM64 and MIPS
This CL adds WebAudio support for ARM64 and MIPS. WebAudio is enabled by default.

BUG=354532, 349422

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 23:37:20 +00:00
dpranke@chromium.org 2c77e1c0cf Port the json_results_generator code over from Blink.
The android tests use the python json_results_generator code from Blink
in order to upload results to the flakiness dashboard.

Previously they would import the code from Blink directly, creating a
cross-repo dependency on files that weren't really meant to be public.
In addition, eventually Blink stopped needing the JSONResultsGenerator
classes altogether, so the android scripts were the *only* users.

This patch moves the file over and strips the remaining webkitpy dependencies.

This patch also changes the license block to match the Chromium license.
I traced the commit history of these files; there were only ever two
commits by non-Googlers: one was a trivial variable rename by
rniwa after he had left Google, and the other was a change by zandobersek
which was removed as part of me stripping the webkitpy dependencies, so
I think this is safe.

R=ojan@chromium.org
BUG=242206

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279515 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 22:15:10 +00:00
Gordana.Cmiljanovic@imgtec.com 1ca616703c [MIPS] Add MIPS Android related changes to gn build system
- Include skia opts files for MIPS
       - Correct cpu_arch name check
       - Do not add libgcc using absolute path

TEST=Generate ninja files using gn gen and compile targets for mips Android

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279426 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 17:13:02 +00:00
andrewhayden@chromium.org b57fe71a96 This patch defines three mechanisms for acquiring CLD2's data:
1. Static linking (the way it is done today)
2. Standalone dynamic data file bundled with the application
3. Dynamic data file downloaded via the Component Updater

This change does NOT switch any implementation to a different cld data source.
Android/iOS remain pinned to CLD1, and all platforms continue to statically
link the data with cld2_data_source="static".

This change has several important side effects:
1. The gyp variables "cld2_dynamic" and "cld2_is_component" have been removed.
   There is now a single variable, "cld2_data_source", that defines which
   implementation is to be used.
2. cld_component_installer.[h,cc] and cld_component_installer_unittest.cc are
   now conditionally built if and only if cld2_data_source=="component" and
   have direct dependencies upon components/translate/content/browser.
3. Almost all preprocesser checks for the CLD data source have been removed,
   greatly simplifying code flow. The logic previously gated by these checks
   has been split into separate implementation classes whose inclusion is
   controlled by the cld2_data_source gyp variable.

For more information, refer to crbug/383769.

BUG=383769

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 15:54:26 +00:00
epenner@chromium.org 174211a9fd TELEMETRY: Don't always fail test when forcing CPUs fails.
When enabling CPU cores for high-perf mode, only warn the
user rather than failing. Only --profiler=perf needs to
fail, since it's results would be invalid (vs. just noisy).

Also, kernel_max returns the number of CPU's supported by
the kernel, but the device may have less cores in practice 
(eg. Moto X/Moto E have kernel_max = 4). This uses the cpu*
files to determine the actual number of cores on the device.

BUG=383566

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@279321 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-24 05:00:52 +00:00