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

1361 Коммитов

Автор SHA1 Сообщение Дата
justincohen@google.com a0616ee2e9 Enable HiDPI assets for the WebUI in iOS.
Change common.gypi to pass scale_factors=2x to grit on iOS.

BUG=262913
TEST=WebUI assets show as 2x on iOS.

Review URL: https://chromiumcodereview.appspot.com/20466002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214578 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 05:41:03 +00:00
thakis@chromium.org 47f8c5ba66 clang: Remove -Wno-reserved-user-defined-literal on mac and ios
BUG=263960
TBR=stuartmorgan@chromium.org

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214541 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 03:30:09 +00:00
Yukawa@chromium.org 3c0353800c Embed compatibility manifest into all *.exe files
This CL introduces an automated and centralized way to embed
compatibility manifest into all *.exe files. With this CL,
a potential risk of behavioural inconsistency between
production binaries and unit test binaries is resolved by
enforcing the same compatibility context.

This CL uses 'target_conditions' feature of gyp to inject
manifest settings into each executable target. One tricky
part is that some executables such as setup.exe and
mini_installer.exe require external manifest file instead of
embedded one when component build is enabled. 
See http://crbug.com/127233 for this.

You can override the gyp variable
'win_exe_compatibility_manifest' locally for a given
executable target to embed a custom compatibility manifest.

BUG=260692

Review URL: https://chromiumcodereview.appspot.com/19275010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214427 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-30 20:24:30 +00:00
fischman@chromium.org 3d38ecef21 build/common.gypi: revert the change to GCC_STRICT_ALIASING:NO because some bots have a too-old xcode.
In particular, rolling chromium_revision in webrtc from 211877 to 211878 broke
the webrtc mac Release bots:
http://build.chromium.org/p/client.webrtc/builders/Mac64%20Release/builds/296
http://build.chromium.org/p/client.webrtc/builders/Mac32%20Release/builds/312
http://build.chromium.org/p/client.webrtc/builders/Mac%20Asan/builds/304

The breakage did not repro on the webrtc trybots which use ninja (filed
https://code.google.com/p/webrtc/issues/detail?id=2135 to fix the inconsistency)
nor did it repro in an xcode build on my MBP (4.6.3).  My theory is that the
xcode on the bots (e.g. vm674-m3) is too old (4.5.1).

R=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214260 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-29 23:35:39 +00:00
jochen@chromium.org b7f95e0d9e Revert "Revert "Turn on i18n support in V8.""
> This reverts r213418 as it caused Blink LayoutTest failures:
>   fast/js/kde/inbuilt_function_tostring.html
>   fast/workers/stress-js-execution.html
>
> The crash in stress-js-execution looks particularly bad, as it
> crashes with a CHECK failure about mismatched isolates (suggesting
> that we're on the wrong thread).
>
> BUG=v8:2745
> TBR=jochen@chromium.org
>
> Review URL: https://codereview.chromium.org/19476008

TBR=danno@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214115 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-28 08:59:54 +00:00
cpu@chromium.org d5eae28406 Revert 214056 "Switch all windows bots to use Aura."
> Switch all windows bots to use Aura.
> 
> So we can have the perf bots run with aura for a while. Depending how red
> the waterfall we could leave it on for a long time.
> 
> This has happened before and it will happen again.
> See for example r204698, r211007
> 
> BUG=259185
> TEST=none
> TBR=scottmg
> 
> Review URL: https://codereview.chromium.org/20929002

TBR=cpu@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214057 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-27 23:14:37 +00:00
cpu@chromium.org 4351ec380b Switch all windows bots to use Aura.
So we can have the perf bots run with aura for a while. Depending how red
the waterfall we could leave it on for a long time.

This has happened before and it will happen again.
See for example r204698, r211007

BUG=259185
TEST=none
TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214056 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-27 21:32:21 +00:00
thakis@chromium.org 2d1ff1d9fe Revert 214049 "clang: Remove -Wno-reserved-user-defined-literal ..."
The NaCl roll this depends on was reverted in r214049, so this needs to be
reverted for now too.

> clang: Remove -Wno-reserved-user-defined-literal on mac and ios
> 
> BUG=263960
> TBR=stuartmorgan
> 
> Review URL: https://codereview.chromium.org/20814004

TBR=thakis@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214051 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-27 18:22:18 +00:00
thakis@chromium.org 6b27f6aa6c clang: Remove -Wno-reserved-user-defined-literal on mac and ios
BUG=263960
TBR=stuartmorgan

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@214049 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-27 08:19:02 +00:00
thakis@chromium.org 3ef43dc28b Make inttypes.h and similar macro usage C++11-friendly.
"foo"PRIuS is a user-defined literal in C++11. Add spaces around these macros.

Likewise, L"\xab"L"c" is a user-defined literal, so insert a space in the
middle.

No functionality change.

BUG=chromium:263960
TBR=alokp@chromium.org, dmichael@chromium.org, enne@chromium.org, isherman@chromium.org, rsleevi@chromium.org, thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213566 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-25 00:55:50 +00:00
adamk@chromium.org ddf50c69e6 Revert "Turn on i18n support in V8."
This reverts r213418 as it caused Blink LayoutTest failures:
  fast/js/kde/inbuilt_function_tostring.html
  fast/workers/stress-js-execution.html

The crash in stress-js-execution looks particularly bad, as it
crashes with a CHECK failure about mismatched isolates (suggesting
that we're on the wrong thread).

BUG=v8:2745
TBR=jochen@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213501 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 20:24:41 +00:00
jochen@chromium.org 52f7e4c392 Turn on i18n support in V8.
The switch from the v8-i18n extension to the built-in support is done in
blink.

BUG=v8:2745
R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19369003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213418 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 12:34:31 +00:00
hajimehoshi@chromium.org b8fa37f338 Remove ENABLE_LANGUAGE_DETECTION
Now that CLD is used on all platforms, let's remove ENABLE_LANGUAGE_DETECTION.

BUG=248454
TEST=unit_tests

Review URL: https://chromiumcodereview.appspot.com/18820002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213361 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 07:16:39 +00:00
joaodasilva@chromium.org 6062ed9421 Set configuration_policy=1 on Android.
BUG=247435

Review URL: https://chromiumcodereview.appspot.com/19482020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213284 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-24 00:04:04 +00:00
jochen@chromium.org 7cd9978436 Move android filename rules to appropriate gypi file
We should only define filename based rules in filename_rules.gypi so it only affects chromium source.

BUG=none
R=bulach@chromium.org

Review URL: https://chromiumcodereview.appspot.com/19685007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212890 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-22 16:07:49 +00:00
mostynb@opera.com 46235318af only use gold-specific flags for the target linker
The host linker might not be gold if linux_use_gold_binary==0,
eg where we have a cross toolchain with gold and we want to use
that instead of third_party/gold/gold64.

Review URL: https://chromiumcodereview.appspot.com/19541006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212823 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-21 14:03:33 +00:00
justincohen@google.com 11715e1d28 Basic device support for ninja iOS builds.
Set ARCHS for device iOS builds when GYP_DEFINES sets host_arch=ia32 target_arch=armv7.  Device builds still won't be signed, so they can't bee installed on devices yet.

BUG=236517
TEST=None

Review URL: https://chromiumcodereview.appspot.com/15075006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212442 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 21:49:38 +00:00
scottmg@chromium.org d5a8ef08f2 reland of http://crrev.com/212230 Create top-level separate targets for...
Original CL here: https://codereview.chromium.org/17619005/

Changed since previous landing is diff between ps1 and ps2.
Diff since previous landing is a bit noisy, but in those files
against original is relatively small. The conditions for the
defines were incorrect and are simpler (and correct) now.

Previously:

Create top-level separate targets for browser and child dlls

The general idea is that there's top level targets chrome and chrome_child,
and corresponding content_app and content_app_child that depend on only
the subtargets that should be included in the appropriate dll.

Currently (probably) Windows-only and requires setting chrome_multiple_dll=1
for gyp.

Links, but Blink is still included in browser.

Single-process mode is currently disabled when chrome_multiple_dll is set.

Current graph is at:
http://commondatastorage.googleapis.com/chromelinkgraph/deps.html generated by
"python tools\win\split_link\graph_dependencies.py deps.html"

Remove the previous hacky-er attempt at this that was named "split dll".

TBR=jam@chromium.org
BUG=237249, 256965

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212415 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 20:37:15 +00:00
yfriedman@chromium.org e4f71dd0f7 Remove unneeded reference to stdc++ for Android.
We use stlport on android. This inclusion is unnecessary.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/19652007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 04:43:03 +00:00
scottmg@chromium.org a6b9efc5bf Revert 212230 "Create top-level separate targets for browser and..."
Caused Linux x64 sizes to fail for reasons unclear.

> Create top-level separate targets for browser and child dlls
> 
> The general idea is that there's top level targets chrome and chrome_child,
> and corresponding content_app and content_app_child that depend on only
> the subtargets that should be included in the appropriate dll.
> 
> Pull bluetooth_utils from bluetooth_device into separate common target
> as it's referenced from chrome/common/extensions.
> 
> Currently (probably) Windows-only and requires setting chrome_multiple_dll=1
> for gyp.
> 
> Links, but Blink is still included in browser.
> 
> Single-process mode is currently disabled when chrome_multiple_dll is set.
> 
> Current graph is at: http://commondatastorage.googleapis.com/chromelinkgraph/deps.html
> generated by "python tools\win\split_link\graph_dependencies.py deps.html"
> 
> Remove the previous hacky-er attempt at this that was named "split dll".
> 
> TBR=jam@chromium.org
> 
> BUG=237249,256965
> 
> Review URL: https://codereview.chromium.org/17619005

TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212239 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 04:14:43 +00:00
scottmg@chromium.org d3940434ac Create top-level separate targets for browser and child dlls
The general idea is that there's top level targets chrome and chrome_child,
and corresponding content_app and content_app_child that depend on only
the subtargets that should be included in the appropriate dll.

Pull bluetooth_utils from bluetooth_device into separate common target
as it's referenced from chrome/common/extensions.

Currently (probably) Windows-only and requires setting chrome_multiple_dll=1
for gyp.

Links, but Blink is still included in browser.

Single-process mode is currently disabled when chrome_multiple_dll is set.

Current graph is at: http://commondatastorage.googleapis.com/chromelinkgraph/deps.html
generated by "python tools\win\split_link\graph_dependencies.py deps.html"

Remove the previous hacky-er attempt at this that was named "split dll".

TBR=jam@chromium.org

BUG=237249,256965

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212230 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-18 03:47:37 +00:00
thakis@chromium.org ee5124add7 roll gyp 1675:1678
1676: msvs: Add Visual Studio 2013 support.
1677: ninja/win: Fixed "RC4011: identifier truncated" warning.
1678: ninja&make/mac: Implement GCC_STRICT_ALIASING support.

Also switch build/common.gypi to GCC_STRICT_ALIASING instead of
passing '-fno-strict-aliasing' via OTHER_CFLAGS.

BUG=260800
TBR=scottmg@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211878 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-17 00:12:30 +00:00
thakis@chromium.org 11aee80216 Use c++11 on clang/android
stlport doesn't have any c++11 library features, but this turns on the language
features. (With clang only, gcc is still in c++98 mode for now.)

BUG=none
R=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211864 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 22:37:18 +00:00
yfriedman@chromium.org 3615f63874 [Android] Fix compilation with order_profiling=1
I'm guesing we haven't built this since rolling the NDK. I see errors of
the form:

In file included from ../../third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c:19:0:
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h: In function 'vshr_n_s32':
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:3426:3: error: argument must be a constant
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h: In function 'vshl_n_s32':
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:3798:3: error: argument must be a constant
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h: In function 'vshll_n_s16':
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:4032:3: error: argument must be a constant
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h: In function 'vset_lane_s32':
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:5082:3: error: argument must be a constant
third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/include/arm_neon.h:5082: confused by earlier errors, bailing out

One additional fix to md5sum is included.
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/18034029

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211835 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 21:04:24 +00:00
jochen@chromium.org 1720d78b9d Don't set v8_optimized_debug as default value, but as actual value
Otherwise, it doesn't have any effect, because it collides with the
default value set already by v8

BUG=none
TBR=danno@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211782 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 11:34:41 +00:00
jam@chromium.org a49a26a29d Remove USE_LINUX_BREAKPAD ifdef since we don't need it for chromium anymore.
See thread "[chromium-dev] PSA: Breakpad is now compiled into
Chromium by default on Linux' for background

TBR=sbc@chromium.org, thakis@chromium.org, thestig@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211755 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-16 03:10:07 +00:00
enne@chromium.org 2b651c8b4a Undo common.gypi change for Blink scroll change
Once https://codereview.chromium.org/18539017/ lands, then this
variable is a no-op.

R=jamesr@chromium.org
BUG=256381

Review URL: https://chromiumcodereview.appspot.com/18689008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211685 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 20:41:55 +00:00
rmcilroy@chromium.org 08e33c47b3 Set DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY to true on Android.
Also change render_process_visibility_manager to use
MEMORY_PRESSURE_MODERATE when the renderer loses visibility
since MEMORY_PRESSURE_CRITICAL should be reserved for
situations where memory pressure is really critical.

BUG=

Review URL: https://chromiumcodereview.appspot.com/18910002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211635 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 13:28:43 +00:00
jochen@chromium.org 509c526d9a Turn on optimized debug builds for V8.
This should speed up running tests in debug mode considerably

BUG=254188
R=danno@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-15 10:03:26 +00:00
enne@chromium.org 2b81c523e6 cc: Consider scroll offset in CalcDrawProperties
Previously, any updates to scroll offset on the main thread updated both
scroll offset and layer position.  CalcDrawProperties only used position
and ignored scroll offset.  This patch changes that to consider scroll
offset equally with scroll delta when computing a layer's tranform.

Although this patch doesn't do anything about it yet, the end result of
this disentangling is that it will become possible to early out in
Layer::SetScrollOffset and not require a SetNeedsCommit when Blink
updates the scroll offset to the value that it already is on the
compositor thread.

This is step 3 of a patch series to disentangle layer position and
scroll offset.  This patch depends on both
https://codereview.chromium.org/18405003/ and
https://codereview.chromium.org/18187004/.

R=danakj@chromium.org
BUG=256381

Review URL: https://chromiumcodereview.appspot.com/18400003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211176 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 18:45:47 +00:00
droger@chromium.org ab6803344a Move language detection to chrome/common/.
This CL moves the language detection code from chrome/renderer/translate
to chrome/common/translate, in order to be able to use it on iOS.
This CL also enables the related unittests on iOS.

BUG=

Review URL: https://chromiumcodereview.appspot.com/18911002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211108 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 13:54:22 +00:00
cpu@chromium.org 6d2591f426 Revert 211007 "Switch all windows bots to use Aura."
> Switch all windows bots to use Aura.
> 
> So we can have the perf bots run with aura for a while. Depending how red
> the waterfall we could leave it on for a long time.
> 
> This has happened before and it will happen again.
> See for example r204698
> 
> BUG=259185
> TEST=none
> TBR=scottmg
> 
> Review URL: https://codereview.chromium.org/18434006

TBR=cpu@chromium.org
Review URL: https://codereview.chromium.org/18439004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211040 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 07:08:06 +00:00
cpu@chromium.org a558961db5 Switch all windows bots to use Aura.
So we can have the perf bots run with aura for a while. Depending how red
the waterfall we could leave it on for a long time.

This has happened before and it will happen again.
See for example r204698

BUG=259185
TEST=none
TBR=scottmg

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@211007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-11 02:59:27 +00:00
noamsml@chromium.org acec8cbeb0 Compile with enable_mdns by default on Windows and Linux
This will compile MDns support by default on Windows and Linux. Note that this
is separate from actually enabling MDns, which will be gated by the
"--enable-device-discovery" flag.

BUG=233821

Review URL: https://chromiumcodereview.appspot.com/18374002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210906 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-10 19:21:05 +00:00
mostynb@opera.com d7c3c4810c make it possible to disable internal tracing in unofficial builds
Add a tracing_like_official_build gyp setting, which works similarly to
the logging_like_official_build setting.

Review URL: https://chromiumcodereview.appspot.com/18333010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210650 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 21:47:01 +00:00
derat@chromium.org cc34bb324c chromeos: Remove use_spring_wallpaper and use_oem_wallpaper.
Custom wallpapers are now specified via command-line flags.

BUG=248764

Review URL: https://chromiumcodereview.appspot.com/18298009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210134 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-04 06:05:31 +00:00
benm@chromium.org 251cdcc175 [Android WebView] Fix downstream mac builds.
The downstream mac builders don't understand
--warn-shared-textrel so disable it for android_webview builds.

BUG=157326
TBR=torne@chromium.org
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/18516009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@210032 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 20:05:25 +00:00
mnaganov@chromium.org ad24d73585 Do not turn on --fatal-warnings for android_webview_build
This fixes Android WebView build after https://crrev.com/17820002/

BUG=157326
TBR=torne,shashi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209934 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 08:58:36 +00:00
shashishekhar@chromium.org 195fba9143 Add compiler flags that prevent text relocations.
Text relocations are a minor security risk. Add compiler flags
that prevent them from reappearing in Android binary.
All existing occurences have been removed after
http://crrev.com/17714003.

TEST=Compile.
BUG=b/8061013

Review URL: https://chromiumcodereview.appspot.com/17820002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209885 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 04:32:49 +00:00
thakis@chromium.org 51ba15ad81 roll clang 182481:184830
New stuff:
- can parse gcc 4.7+ headers in gnu++11 mode
- -Wheader-guards
- -Wlogical-not-parentheses
- Fixes http://llvm.org/PR15998

This is also the first time these binaries were built on precise (and as a
consequence won't run on lucid).

BUG=255201
R=hans@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209703 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 15:13:24 +00:00
cjhopman@chromium.org ea831049c4 [Android] Add an action to check/record attached devices
When doing a gyp_managed_install, we install APKs to the attached
device. Currently this can fail in many ways (no device attached,
multiple devices attached, device offline, device doesn't have root,
etc.). In addition, we need to detect changes to the attached device
(particularly when the device is switched, when an APK is
 uninstalled/updated).

The current approach is to check all this information in the action
interacting with the device. This means that when there is some
problem we print the same warning messages for every APK that is built,
and, in some cases, multiple times for each APK. Also, we have to run
every install/push action every build because we detect changes to the
attached device in that action.

This change creates a new build action, "get device configurations".
This action inspects the attached devices, filters out offline devices,
filters out devices without root, and then writes a configuration
file with the id+metadata for the first non-filtered device. This
configuration is then used by each of the build steps that interacts
with the device. This consolidates all the device checking to a single
place, and the build actions don't need to do any checking. In
addition, to detect changes in the attached device, we only need to run
this single action every build and the install/push actions will only
change when the device/metadata changes.

Also, with this change we can now gracefully handle the case where
multiple devices are attached (currently just write the configuration
for the first valid device and install to that one).

Review URL: https://chromiumcodereview.appspot.com/16831013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209582 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-02 01:52:33 +00:00
benm@chromium.org 5768865d68 Only set sysroot for MIPS on linux.
BUG=

Review URL: https://chromiumcodereview.appspot.com/18162003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@209193 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-28 18:20:44 +00:00
grunell@chromium.org e4943135d1 Adding WebRTC log upload list under chrome://webrtc-logs
CL for writing to the file that lists the uploaded logs:
https://codereview.chromium.org/17589014/

BUG=254329

Review URL: https://chromiumcodereview.appspot.com/17063004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-27 14:17:04 +00:00
benm@chromium.org 7a87488d52 Don't set MIPS specific target arch CFLAGS for android WebView
These flags are set by the android build system in the case of
an android webview build, so don't attempt to reset them.

BUG=

Review URL: https://chromiumcodereview.appspot.com/17956002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208907 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-27 12:58:34 +00:00
cjhopman@chromium.org ba517b8506 [Android] Support building standalone APK in component build
Many people's workflows assume that they can install the APK created in
out/Debug/apks. With the component build that APK is actually an
"incomplete" APK that cannot be manually installed (or rather causes
obscure errors when manually installed).

This change does two things. First, it moves the "incomplete" APK
output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
accidental installs of the "incomplete" APK. Second, it introduces an
option (create_standalone_apk) that when doing a component build, if
set, will merge the shared libraries into the "incomplete" APK to
create a standalone APK. This standalone APK will be created in
out/Debug/apks/.

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

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

Review URL: https://chromiumcodereview.appspot.com/14843017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208529 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-25 18:42:07 +00:00
apatrick@chromium.org 51f3a9d7f6 Reland 206804.
Pull ANGLE from new git repository, mirrored on chromium.googlesource.com.

Switch references to ANGLE repository to use the new directory in third_party.

BUG=247158,247490

Review URL: https://chromiumcodereview.appspot.com/17155023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208191 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-24 10:40:26 +00:00
dmikurube@chromium.org 626bf5b3a7 Add 'profiling_full_stack_frames' build option not to optimize out stack frames when profiling.
It enables the heap-profiler in Release builds.

BUG=252560
R=phajdan.jr@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@208127 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-23 14:17:58 +00:00
mostynb@opera.com 63539b4fe6 allow unofficial builds with DCHECK and DLOG disabled
Previously, it was not possible to produce unofficial builds without
DCHECKS and DLOGS.

Review URL: https://chromiumcodereview.appspot.com/17165003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@207826 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-21 15:24:00 +00:00
lliabraa@chromium.org 98bec227e5 Remove unnecessary Xcode setting for iOS builds.
The line being removed in this CL was originally added to prevent iOS
builds from compiling for multiple archs. Since then, the VALID_ARCHS
setting was added which accomplishes the same thing.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/16831022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@207588 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 21:45:47 +00:00
dfalcantara@chromium.org 458e6b0e2b Revert "[Android] Support building standalone APK in component build"
This breaks the Android component build.

This reverts commit 125e64a9eb6406446fb864aea9fa887521f19616.
>> [Android] Support building standalone APK in component build
>>
>> Many people's workflows assume that they can install the APK created in
>> out/Debug/apks. With the component build that APK is actually an
>> "incomplete" APK that cannot be manually installed (or rather causes
>> obscure errors when manually installed).
>>
>> This change does two things. First, it moves the "incomplete" APK
>> output to out/Debug/<package_name>/<ApkName>.apk. This should prevent
>> accidental installs of the "incomplete" APK. Second, it introduces an
>> option (create_standalone_apk) that when doing a component build, if
>> set, will merge the shared libraries into the "incomplete" APK to
>> create a standalone APK. This standalone APK will be created in
>> out/Debug/apks/.
>>
>> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207345
>>
>> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207516

BUG=
R=cjhopman@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@207587 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-06-20 21:42:06 +00:00