This allows developers to force the values of individual flags in their
chrome/supplement.gypi. Add documentation for how a user can do that.
Also add a comment about the fastbuild option, but do not ever set it
by default.
NOTRY=true
BUG=158821
Review URL: https://chromiumcodereview.appspot.com/14366023
git-svn-id: http://src.chromium.org/svn/trunk/src/build@195334 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
speech-dispatcher 0.8 has changed the location where the libspeechd.h header
file is installed, and users are expected to reference it from the top-level
directory, ie.
#include <speech-dispatcher/libspeechd.h>
Version 0.8 also installs a .pc pkg-config file.
Since speech-dispatcher 0.7 is still very widespread, we cannot assume this new
structure and .pc file are always available, so resort to adding the
"speech-dispatcher/" prefix to the #include based on whether `pkg-config
--exists' does not fail.
Arguably, we should also start calling `pkg-config --{cflags,libs-only-l,etc}',
but not having the .pc file always available would make the changes more
complicated. Since everything has worked so far without that, keeping the
status quo for now should be fine.
BUG=
TEST=Build with speech-dispatcher >= 0.8 installed.
Review URL: https://chromiumcodereview.appspot.com/14296005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@195204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This changes the content size update path for android_webview to use
the preferred size RenderView mechanism instead of the
CompositorFrameMetadata.
The reason for the change is due to the fact that the CompositorFrameMetadata
is not updated when the view size is 0x0, which is a common use case
for the WebView when it's layout mode is set to "wrap content".
BUG=b/8187850
TEST=AndroidWebViewTests
Review URL: https://chromiumcodereview.appspot.com/12567020
git-svn-id: http://src.chromium.org/svn/trunk/src/build@195135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
On new versions of Android, re-installing an APK creates a new /lib/
folder for native libraries. This means we need to recreate all the
symlinks in that directory (not just the ones that have changed).
To make all these links quickly, it should run as a single adb command.
To make that simple, we first create a simple script that, when run,
creates all the symlinks for an APK. Then, after any install, we send a
single adb command to run that script.
This also requires that the apk_install script only triggers its
dependents when it actually installs an apk.
BUG=158821
Review URL: https://chromiumcodereview.appspot.com/14017010
git-svn-id: http://src.chromium.org/svn/trunk/src/build@195124 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Broke chromeos clang builder: Complains about libstdc++ 4.4, but is probably not
yet on precise.
Broke linux clang tests: unit_tests, content_unittests, components_unittests
all crash at startup with:
symbol lookup error: /b/build/slave/Linux_Clang__dbg_/build/src/out/Debug/lib/libcontent.so: undefined symbol: _ZN7content6Zygote26kMagicSandboxIPCDescriptorE
> clang: Build in C++11 mode on linux & cros too.
>
> But: Not yet on Android, not yet with asan, not yet with gcc.
> Only with clang, and only for linux & cros (in addition to mac,
> which has had this for a while).
>
> BUG=233330,233464
>
> Review URL: https://codereview.chromium.org/11468005TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/14328034
git-svn-id: http://src.chromium.org/svn/trunk/src/build@195091 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Repurposes the gyp scripts for processing native libraries for an apk and use them for a native library (i.e. forwarder).
Additionally, adjusts the forwarder python script to set LD_LIBRARY_PATH when invoking the forwarder.
BUG=158821
Review URL: https://chromiumcodereview.appspot.com/14322004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@194833 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This action is triggered whenever the top-level library is re-linked. This file
being touched then triggers generating a Java file, and then
rebuilding/installing the APK. This is all unnecessary.
Instead, only write this file if the output has changed. Then, since the ninja
generator uses restat=1, dependent actions will only be retriggered when this
actual changes (almost never).
BUG=158821
Review URL: https://chromiumcodereview.appspot.com/13891010
git-svn-id: http://src.chromium.org/svn/trunk/src/build@194780 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
There are a lot of warnings when build chromium with gcc4.8, which are
in "typedef ‘foo’ locally defined but not used" pattern. Add
"-Wno-unused-local-typedefs" to suppress these warnings.
BUG=227506
TEST=build with gcc4.8 and check no above warnings appear.
Review URL: https://chromiumcodereview.appspot.com/13811009
git-svn-id: http://src.chromium.org/svn/trunk/src/build@194779 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This adds a function md5_check.CallAndRecordIfStale that makes the
common (and currently only) use of Md5Checker much simpler (i.e just
call this function). All the users of md5_check are updated to use this
function, and everything else in md5_check is no longer part of the
public API.
Also, adds tests for the md5_check module. These are only run manually currently.
BUG=158821
Review URL: https://codereview.chromium.org/14263006
git-svn-id: http://src.chromium.org/svn/trunk/src/build@194377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
The native component build creates .TOC files for each of the native
libraries. These files contain the compile-time visible API of the
corresponding library. That is, if something changes in the native
library that could have an effect on linking of dependent libraries,
then that change will be reflected in the .TOC file. Then, these .TOC
files can be used to determine if linking of dependents is required.
This change brings that same magic to Java.
When building a .jar, we also create a .jar.TOC that includes the
signatures for public/protected classes/functions/variables (including
the values for constants since they can be inlined dependents).
When compiling a Java library, use an Md5Checker over the .java files
and the classpaths .jar.TOC (using the .jar if the .TOC isn't available
as is currently the case for prebuilt jars).
BUG=158821
Review URL: https://chromiumcodereview.appspot.com/14203002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@194080 4ff67af0-8c30-449e-8e8b-ad334ec8d88c