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

450 Коммитов

Автор SHA1 Сообщение Дата
rginda@chromium.org 4e11210714 Initial landing of file_manager component extension (not yet enabled)
This is the initial landing of a component extension to handle file open, save-as, and file management user interfaces.  This is just the basic plumbing, minus any useful functionality.

I've tested this by building with...
$ export GYP_DEFINES='file_manager_extension=1'
$ make chrome -j16

Then launch the result and visit chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/main.html, and verify that the <h1> tab is blue, and the document contains "Hello World".

BUG=chromium-os:11988
TEST=

Review URL: http://codereview.chromium.org/6588053

git-svn-id: http://src.chromium.org/svn/trunk/src/build@76408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-03-01 19:26:20 +00:00
hbono@chromium.org 09bdd3d944 Use libjpeg-turbo as the default JPEG library (Take 2)
This change retries using libjpeg-turbo (r75235), which fixed memory errors, as the default JPEG library of Chromium.

BUG=48789,72399
TEST=JPEGCodec.InvalidRead
Review URL: http://codereview.chromium.org/6572001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@76198 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-28 02:28:03 +00:00
jshin@chromium.org b2f6d213ed Re-enable sign-compare in Clang build by pulling in a ICU @75916
BUG=74018,74019
TEST=mac_clang try bot builds ICU fine.
Review URL: http://codereview.chromium.org/6578024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@75977 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-24 22:30:35 +00:00
hans@chromium.org 570a5801c6 Disable -Wsign-compare for Clang.
Since ICU rolled, the Clang build on Mac is broken because of this
warning.

BUG=74019
TEST=all clang bots go green

-Wno-sign-compare

Review URL: http://codereview.chromium.org/6581035

git-svn-id: http://src.chromium.org/svn/trunk/src/build@75892 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-24 16:40:09 +00:00
thakis@chromium.org bf2775e0d4 clang: Turn on -Woverloaded-virtual!
BUG=72205
TEST=clang build stays green, and catches many regressions in the future
TBR=evan

git-svn-id: http://src.chromium.org/svn/trunk/src/build@75692 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-23 01:14:25 +00:00
jschuh@chromium.org bfcc3a581c Revert 74103 - Use libjpeg-turbo by default.
Switch 'use_libjpeg_turbo' flag back to 0 and revert valgrind suppressions from r74269.

BUG=72399
BUG=48789
TEST=build Chromium without errors and pass all existing tests.
Review URL: http://codereview.chromium.org/6332003

TBR=hbono@chromium.org
Review URL: http://codereview.chromium.org/6484040

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74841 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-14 19:42:22 +00:00
thakis@chromium.org 2b4a02adf2 clang: Make it possible to run Elliot's plugin on the bots
To make it possible to change the exact plugin command line without a master restart, the command line is loaded from a bash script. This script is used if clang_use_chrome_plugins and clang are both set in GYP_DEFINES when runhooks runs.

BUG=none
TEST=none

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74597

Review URL: http://codereview.chromium.org/6461026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74611 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-11 16:43:46 +00:00
thakis@chromium.org 5ef3bc881f Revert 74597 - clang: Make it possible to run Elliot's plugin on the bots
To make it possible to change the exact plugin command line without a master restart, the command line is loaded from a bash script. This script is used if clang_use_chrome_plugins and clang are both set in GYP_DEFINES when runhooks runs.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6461026

TBR=thakis@chromium.org
Review URL: http://codereview.chromium.org/6489036

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74598 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-11 16:14:24 +00:00
thakis@chromium.org 4c5121f272 clang: Make it possible to run Elliot's plugin on the bots
To make it possible to change the exact plugin command line without a master restart, the command line is loaded from a bash script. This script is used if clang_use_chrome_plugins and clang are both set in GYP_DEFINES when runhooks runs.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6461026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-11 16:05:03 +00:00
evan@chromium.org f21ab04233 linux: switch to -Wno-format
Semantically it's the same as -Wformat=0, but Clang only accepts
this new one.  (A bug has been filed with Clang.)

Review URL: http://codereview.chromium.org/6489009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74513 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-10 22:38:22 +00:00
cira@chromium.org 550dde2bc1 Adding support for JavaScript internationalization API as V8 extension. See proposal at http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api.
V8 hosts the actual extension code under src/extensions/experimental/i18n-extension.{cc,h}.

This CL passes command line switches to WebKit (disabled by default) and test shell (enabled by default), using WebRuntimeFeatures. It also sets some gyp variables to point to ICU source path, and defines a guard for a new feature.

It should be submitted only after corresponding WebKit CL (https://bugs.webkit.org/show_bug.cgi?id=49414) lands.

BUG=28604
TEST=LayoutTests/fast/js/i18n-bindings-locale.html

Review URL: http://codereview.chromium.org/6366021

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74491 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-10 22:06:07 +00:00
thakis@chromium.org 5a3db455de clang: Set clang-specific flags on linux only if the target compiler is used.
The host compiler is hardcoded to gcc in the linux make build, and gcc does
not understand all of these options.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6487005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-10 21:03:35 +00:00
evan@chromium.org bf35a0e000 linux: hide more warnings in third-party code
I was confused why we were getting warnings related to format
strings, since they are off in gcc unless you use -Wall or
explicitly enable it, but it turns out that the man page calls
out that it is specially enabled on Ubuntu.

Review URL: http://codereview.chromium.org/6469002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74351 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-09 22:32:33 +00:00
evan@chromium.org f7776b4cf3 linux: don't show deprecation warnings in third-party code
When building e.g. the protocol compiler, don't show warnings
about using hash_map.  ffmpeg also has similar deprecated
API warnings.

Review URL: http://codereview.chromium.org/6462008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74187 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-08 22:19:00 +00:00
hbono@chromium.org d1e2808b8a Use libjpeg-turbo by default.
This change sets the 'use_libjpeg_turbo' flag to 1 so Chrome can use libjpeg-turbo by default on Win, Mac, and Linux.

BUG=48789
TEST=build Chromium without errors and pass all existing tests.
Review URL: http://codereview.chromium.org/6332003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74103 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-08 09:00:45 +00:00
thakis@chromium.org 4faf1ac769 Roll clang to r125007
The static analysis-based part of -Wuninitialized moved back to -Wuninitialized-experimental,
so turn on -Wuninitialized again.

BUG=72205,71375
TEST=none

Review URL: http://codereview.chromium.org/6312190

git-svn-id: http://src.chromium.org/svn/trunk/src/build@74030 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-07 22:09:37 +00:00
scherkus@chromium.org 7250b68003 Reworked player_x11:
- Turned support for EGL image ON for OpenMAX decoding.
- Added simple fix for compilation issue due to missing definition for MessageLoop.
- Added changes to GLES Video Renderer to use EGL image.
- Added H264BitstreamConverter and H264BitstreamConverterFFmpegAdaptor classes to Chromium.
- Introduced new h264 bitstream converter to FFmpegDemuxer
- Added h264 bitstream converter related classes to media targets and introduced new target for unit testing bitstream converter.

Patch by vmr@chromium.org:
http://codereview.chromium.org/6260010/

BUG=None
TEST=Test H.264 decode clip with player_x11 OpenMAX enabled.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73839 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-04 20:34:14 +00:00
tony@chromium.org af2948cf9d Add back the inspector_strings target
It's only built if use_third_part_translations=1.

Also pull in the translations from launchpad.net.

Review URL: http://codereview.chromium.org/6334090

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-04 17:38:17 +00:00
erg@google.com e8616e81e0 Commit my clang plugin and fix up documentation.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6368055

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73659 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-03 20:46:42 +00:00
tony@chromium.org bedcabbbf0 Pull in new launchpad.net translations and actually build the
6 new languages on Linux if gyp is run with with
use_third_party_translations=1.

I also moved the translations from src/chrome/third_party to
src/third_party, since the translations cover more than chrome/.

Review URL: http://codereview.chromium.org/6410010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-02 00:10:27 +00:00
davemoore@chromium.org 686b1e8c02 Added command line switches and UI (controlled via a build option)
to make it easier to use the sampling profiler.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/6250070

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73374 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-01 23:35:25 +00:00
thakis@chromium.org 593d35a4a4 Revert 73304 (broke clang/linux) - Use early expansion for debug_optimize and release_optimize
This fixes a bug when these flags are not overriden from ~/.gyp/include.gypi
which is the way they should be set for Valgrind builds
(see http://dev.chromium.org/developers/how-tos/using-valgrind )

BUG=70107
TEST=gclient runhooks --force && grep "\-O" base/base.target.mk
Review URL: http://codereview.chromium.org/6267004

TBR=timurrrr@chromium.org
Review URL: http://codereview.chromium.org/6334026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73329 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-01 19:56:04 +00:00
tony@chromium.org b6536367a3 Add a grit define for enabling third_party translations.
Turn it off by default and add conditions to chromium_strings.grd
for third_party specific outputs.

Add the ability to filter xtb files (translations) using if nodes.

TEST=still able to compile chrome

Review URL: http://codereview.chromium.org/6392033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73314 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-01 18:51:19 +00:00
timurrrr@chromium.org becade5c90 Use early expansion for debug_optimize and release_optimize
This fixes a bug when these flags are not overriden from ~/.gyp/include.gypi
which is the way they should be set for Valgrind builds
(see http://dev.chromium.org/developers/how-tos/using-valgrind )

BUG=70107
TEST=gclient runhooks --force && grep "\-O" base/base.target.mk
Review URL: http://codereview.chromium.org/6267004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73304 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-02-01 18:05:43 +00:00
thakis@chromium.org 8c96103648 clang: Disable -Wuninitialized for now.
Hopefully it can be turned on again soon.

BUG=71375
TEST=none

Review URL: http://codereview.chromium.org/6386024

git-svn-id: http://src.chromium.org/svn/trunk/src/build@73151 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-31 16:21:36 +00:00
thakis@chromium.org 84659a63de clang: Make it possible to add a plugin through GYP_DEFINES
With this CL, one can run

    GYP_DEFINES='clang=1 clang_load=/Users/thakis/src/llvm-svn/tools/clang/examples/PrintFunctionNames/libPrintFunctionNames.dylib clang_plugin=print-fns' gclient runhooks

and then the normal build will run with the clang example plugin.

I'm not sure if this is the best way to run Elliot's plugin, but it's useful for local one-off runs.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/6355010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@72924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-28 02:57:59 +00:00
petkov@chromium.org 70315d05b3 Remove gconf build dependence for Chrome OS.
BUG=chromium-os:430
TEST=try bots (win, linux, linux_chromeos); tested on device

Review URL: http://codereview.chromium.org/6268008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@72017 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-20 22:14:31 +00:00
thakis@chromium.org c4e07277af clang/linux: Build with -g0 if fastbuild=1 is set (e.g. on the buildbots)
BUG=70000
TEST=clang/linux bots are 5x as fast.

Review URL: http://codereview.chromium.org/6324007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@71765 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-19 05:32:33 +00:00
hans@chromium.org d762c7bcba Clang: enable -Wbool-conversions and -Wunused-variables on Linux.
-Wbool-conversion warns about EXPECT_EQ(false, blah), so replace
that with EXPECT_FALSE(blah). Do the same with EXPECT_EQ(true, blah)
for good measure (even though that doesn't generate warnings).

Also remove the one instance of an unused variable.

BUG=69421
TEST=buildbots all compile and all tests pass

Review URL: http://codereview.chromium.org/6300001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@71431 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-14 10:36:28 +00:00
agl@chromium.org 14dcb0012c net: enable DnsRRResolver on Windows
(Note that this code was developed by try-server so if something appears
to be terribly wrong, it probably is.)

BUG=none
TEST=net_unittests

http://codereview.chromium.org/6180001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@71349 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-13 20:27:50 +00:00
joi@chromium.org 9108eb7472 Marking the following targets for non-incremental linking independent
of 32/64 bits, as they have been causing out of memory errors even on
64-bit builders.:

chrome_frame_tests
chrome_frame_perftests
chrome_dll_nacl_win64
browser_tests
nacl_ui_tests
nacl_sandbox_tests
sync_integration_tests
interactive_ui_tests

BUG=none
TEST=it builds

Review URL: http://codereview.chromium.org/6113006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@71077 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-11 20:45:36 +00:00
sergeyu@chromium.org 8358aa3bb1 Fix compilation with disabled remoting.
There are two issues fixed:
 1. Code didn't compile.
 2. The remoting section in option was shown even without --enable-remoting.

BUG=None
TEST=Try to compile with remoting=0 and verify that Remoting doesn't show up in advanced options

Review URL: http://codereview.chromium.org/6174005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@70976 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-11 00:53:18 +00:00
tony@chromium.org c912c7ad09 Refactor grit -D flags into a gyp variable so we don't
have to repeat the logic for it in a bunch of different places.

I had to add another level of variables{} so I could use use_titlecase_in_grd_files in a condition.  I also removed some quotes around default values since that seems to be the more common way to express boolean values.

BUG=68028

Review URL: http://codereview.chromium.org/6070011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@70757 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-07 19:04:43 +00:00
viettrungluu@chromium.org 8c2ee8ee68 Private Pepper extension for Flapper to allow TCP connections to be made
(from inside the renderer sandbox).

(Only enabled on ChromeOS, since it opens a hole in the renderer. This should be
revisited, with controls tightened, once Flapper runs out of process.)

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/5098002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@70687 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-07 00:25:40 +00:00
tony@chromium.org 7d8c076a49 Some clean ups to build/common.gypi.
- Organizing variables dicts as
  1) vars copied from inner scopes
  2) new vars defined in current scope
  3) conditions
- moving variables out of inner scopes when possible
- cleaning up/consolidating some comments

This is just a refactoring and shouldn't change any of the logic.

Review URL: http://codereview.chromium.org/6015016

git-svn-id: http://src.chromium.org/svn/trunk/src/build@70667 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-06 22:19:30 +00:00
evan@chromium.org 4b42fa8120 harfbuzz: check in harfbuzz-ng, add gyp define to use it
This checks in harbuzz-ng b0d396aa88b3cdf8cea896bfeeba197656e1cdb1.

Setting use_harfbuzz_ng to 1 in gyp will cause us to build
harfbuzz-ng in place of harfbuzz.  So far this currently fails to
compile due to all our other code relying on the old API.

BUG=68551
TEST=./build/gyp_chromium -Duse_harfbuzz_ng=1, verify build breaks

Review URL: http://codereview.chromium.org/6052008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@70539 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-01-05 20:38:50 +00:00
evan@chromium.org 05befdff4e seccomp: remove build-time flags
Adjusting seccomp through the .gyp file is error-prone and confusing.
Instead, because all callers call SeccompSandboxEnabled(), if I
want to enable it for some build configuration I can adjust just that
function.

This change removes all the build-time seccomp configuration and
leaves it defaulted off.  It should have no change on whether seccomp
is enabled.

Review URL: http://codereview.chromium.org/5844001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@69208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-15 00:44:03 +00:00
joth@chromium.org ad3cba4a39 Switch linux OpenSSL build to use custom openssl version
This allows us to test experimental library features, and to track a known openssl version.
Also bumps OpenSSL 65717:68738, to fix up the default CA root path in the reference library.

BUG=None
TEST=Still builds & runs!

Review URL: http://codereview.chromium.org/5625012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@68749 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-09 18:36:24 +00:00
evan@chromium.org 0ad77ef29d linux: remove --as-needed in the shared build
The shared build is a quick hack for quick links; we don't need
to optimize the link line and, in fact, doing so breaks the v8
link.

(Fix from Craig Schlenter <craig.schlenter@chromium.org>.)

BUG=61430
TEST=build chrome with GYP_DEFINES=library=shared_library and BUILDTYPE=Release

Review URL: http://codereview.chromium.org/5578007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@68542 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-08 00:45:29 +00:00
hbono@chromium.org 36fa8b6f28 Integrates libjpeg-turbo into Chromium (Chromium side)
This change is the Chromium-side change that integrates libjpeg-turbo into Chromium. (We need another change for WebKit.) It adds a GYP option 'libjpeg_turbo' so we can switch from libjpeg to libjpeg-turbo and use libjpeg-turbo when its value is 1. (Unfortunately, its value must be 0 for now to avoid build breaks until we land all changes required for libjpeg-turbo.)

BUG=48789
TEST=build Chromium.
Review URL: http://codereview.chromium.org/5292007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@68453 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-07 07:27:27 +00:00
evan@chromium.org ba418dc557 scons: excise more scons references from the code base
I got to undo some hacks, too!

TEST=compiles

Review URL: http://codereview.chromium.org/5535003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@68119 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-03 00:59:23 +00:00
hans@chromium.org 84d47ecb44 Enable -integrated-as for Clang builds on Linux.
Clang needs to be r120563 or later.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/5573002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@68009 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-12-02 15:43:35 +00:00
thakis@chromium.org 6a7604187a Add -Wno-unused-functions to the clang/mac config, to match clang/linux.
BUG=none
TEST=none

Review URL: http://codereview.chromium.org/5216007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66947 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-22 14:31:45 +00:00
hans@chromium.org 386ed89c52 Revert 66265 - Remove -no-integrated-as flag for Clang/Linux builder.
BUG=61931
TEST=still builds

Review URL: http://codereview.chromium.org/4976002

TBR=hans@chromium.org
Review URL: http://codereview.chromium.org/5216006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66932 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-22 10:14:55 +00:00
joth@chromium.org 545e79fd7b Use global source exclude to remove .h files from platforms where they are not relevant
BUG=None
TEST=None

Review URL: http://codereview.chromium.org/5028001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66274 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-16 15:23:30 +00:00
hans@chromium.org 6ef62c9258 Remove -no-integrated-as flag for Clang/Linux builder.
BUG=61931
TEST=still builds

Review URL: http://codereview.chromium.org/4976002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66265 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-16 14:00:39 +00:00
joth@chromium.org a8cf8fe116 Reverted because openssl_helper needs to build even on non-openssl builds
Revert 66120 - Simplify gyp files by adding a global glob for openssl/nss

BUG=None
TEST=Build

Review URL: http://codereview.chromium.org/4799003

TBR=joth@chromium.org
Review URL: http://codereview.chromium.org/5014001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66122 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-15 16:08:10 +00:00
joth@chromium.org 3a0e7a2b88 Simplify gyp files by adding a global glob for openssl/nss
BUG=None
TEST=Build

Review URL: http://codereview.chromium.org/4799003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66120 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-15 14:56:54 +00:00
thomasvl@chromium.org 0c747d797f Fix up the excludes so they properly handle paths where the platform subdir is
the *first* element in the pathname (ie- mac/foo.mm).  But luckily, the
  other rules have caught the places where this bug would have hit, but
  nothing says that will always be true.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4915001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@66118 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-15 14:08:16 +00:00
phajdan.jr@chromium.org 6ba315bfda Make GConf dependency optional.
This is upstreaming a Gentoo Linux patch.

BUG=13322
TEST=none

Review URL: http://codereview.chromium.org/4691001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65507 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-09 07:33:19 +00:00
timurrrr@chromium.org b63f4a882d Add a new GYP_DEFINE to make _HAS_ITERATOR_DEBUGGING disablable on Windows/Debug
Shouldn't affect anyone unless I enable this flag on the TSan bot.
TEST=Tested with a local waterfall
Review URL: http://codereview.chromium.org/4688001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@65377 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-08 16:00:31 +00:00
mirandac@chromium.org c6efa017c0 Commit of http://codereview.chromium.org/4417005/show for thakis.
BUG=61931
TEST=none


git-svn-id: http://src.chromium.org/svn/trunk/src/build@65089 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-04 18:55:33 +00:00
maruel@chromium.org c356a47d7c Touch build/common.gypi to force gyp to run.
NO CODE CHANGE.

TBR=robertshield
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/4334003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@64929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-11-03 17:26:23 +00:00
scottbyer@google.com 69b4b47b6c Revert 64454 - Revert 64441 - Mac cloud print proxy work.
Turn on use_cups for the Mac, add in the required library, and tweak the code
to get it linking.  There is still more work to do; this is just a gyp-oriented
change to get things started.

BUG=none
TEST=All targets still build on all platforms.

Review URL: http://codereview.chromium.org/4167006

TBR=scottbyer@chromium.org
Review URL: http://codereview.chromium.org/4136011

TBR=scottbyer@google.com
Review URL: http://codereview.chromium.org/4137013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@64477 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-29 20:30:38 +00:00
scottbyer@google.com c178614807 Revert 64441 - Mac cloud print proxy work.
Turn on use_cups for the Mac, add in the required library, and tweak the code
to get it linking.  There is still more work to do; this is just a gyp-oriented
change to get things started.

BUG=none
TEST=All targets still build on all platforms.

Review URL: http://codereview.chromium.org/4167006

TBR=scottbyer@chromium.org
Review URL: http://codereview.chromium.org/4136011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@64454 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-29 18:16:44 +00:00
scottbyer@chromium.org 761c6a6bed Mac cloud print proxy work.
Turn on use_cups for the Mac, add in the required library, and tweak the code
to get it linking.  There is still more work to do; this is just a gyp-oriented
change to get things started.

BUG=none
TEST=All targets still build on all platforms.

Review URL: http://codereview.chromium.org/4167006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@64441 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-29 16:47:58 +00:00
vangelis@chromium.org 9d07b3c8e3 Revert 64267 - linux: enable seccomp sandbox by default
(Reason for revert: Widespread failures on Linux bots starting with http://build.chromium.org/p/chromium/builders/Linux%20Tests%20(dbg)(2)/builds/729)

Seeing how the bots feel about this again.

BUG=36133

Review URL: http://codereview.chromium.org/3539015

TBR=evan@chromium.org
Review URL: http://codereview.chromium.org/4200010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@64306 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-28 20:40:34 +00:00
evan@chromium.org 9e983aaaaf linux: enable seccomp sandbox by default
Seeing how the bots feel about this again.

BUG=36133

Review URL: http://codereview.chromium.org/3539015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@64267 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-28 17:29:30 +00:00
thestig@chromium.org 3123eddd47 Move useful printing backend code from chrome/service/cloud_print to printing/backend.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3945003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@63772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-25 20:05:44 +00:00
cbentzel@chromium.org 9881d0d78a Revert 62603 - patch from issue 3527003
TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/3788003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62610 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-14 18:55:42 +00:00
cbentzel@chromium.org 4ea56f192d Revert 62604 - Use the correct flag for virtual destructor.
TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/3807005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-14 18:55:12 +00:00
cbentzel@chromium.org 8222dba6cc Use the correct flag for virtual destructor.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@62604 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-14 18:47:14 +00:00
cbentzel@chromium.org f565eee832 patch from issue 3527003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@62603 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-14 18:46:59 +00:00
nsylvain@google.com a2e633b04f Revert 62529 - Add -Wno-non-virtual-dtor flag on posix targets.
I got my double negatives incorrect, this should have been -Wnon-virtual-dtor.

BUG=45135
TEST=Targets build without error.

Review URL: http://codereview.chromium.org/3527003

TBR=cbentzel@chromium.org
Review URL: http://codereview.chromium.org/3756003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62531 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-14 10:50:02 +00:00
cbentzel@chromium.org 11996046bf Add -Wno-non-virtual-dtor flag on posix targets.
BUG=45135
TEST=Targets build without error.

Review URL: http://codereview.chromium.org/3527003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62529 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-14 10:29:40 +00:00
hans@chromium.org 88e480bf5d Don't use -fno-ident for Clang builds in Release mode on Linux.
It's not supported by Clang and causes a ton of "argument unused
during compilation" warnings.

BUG=none
TEST=everything still builds

Review URL: http://codereview.chromium.org/3614013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-13 09:15:20 +00:00
thakis@chromium.org c428af3a46 Roll gtest 445 -> 446
I want to get to r492 to pick up the fix for http://code.google.com/p/googletest/issues/detail?id=321 , but r446 needs some changes, so I'm doing an extra commit for this revision. See comments at http://code.google.com/p/googletest/source/detail?r=446

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/3705002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@62246 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-12 04:32:05 +00:00
bulach@chromium.org ffdc91564a Decouples certificates viewers from NSS to prepare support for OpenSSL.
This change is a pre-requisite for http://codereview.chromium.org/3529008/show
There are no functional changes, it's only refactoring existing code.

BUG=None
TEST=Go to an https:// page and check the certificate info.

Review URL: http://codereview.chromium.org/3565006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@61944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-08 12:44:40 +00:00
evan@chromium.org ec2a00ec73 Revert "linux: enable seccomp sandbox by default"
This reverts commit r61557, unit_tests fail.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@61563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-05 21:24:53 +00:00
evan@chromium.org 045086d692 linux: enable seccomp sandbox by default
Seeing how the bots feel about this again.

BUG=36133

Review URL: http://codereview.chromium.org/3539015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@61557 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-05 20:52:53 +00:00
evan@chromium.org 396bc33350 linux: Build with -fPIC on all arches but x86 32-bit.
I will watch the bots to see if this affects performance.

BUG=26625
TEST=compiles

Review URL: http://codereview.chromium.org/3501001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@61208 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-10-01 18:56:11 +00:00
joth@chromium.org 76a5758c40 First step at OpenSSL client socket implementation.
This is early in-progress implementation, no cert handling supported. So only available under a build-time flag. (GYP_DEFINES="'use_openssl=1'")

Adds a new build dependency for system OpenSSL libraries, and a new USE_OPENSSL define. Eventually this will disable USE_NSS but for now the two coexist.

BUG=none
TEST=build with use_openssl=1. Goto some https:// pages.

Review URL: http://codereview.chromium.org/3495005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@60936 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-29 12:27:44 +00:00
evan@chromium.org e1f5e0e827 Revert "linux: Build with -fPIC on all arches but x86 32-bit."
This reverts commit r60384, build breakage.

git-svn-id: http://src.chromium.org/svn/trunk/src/build@60386 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-24 00:03:28 +00:00
evan@chromium.org cd80c1308b linux: Build with -fPIC on all arches but x86 32-bit.
I will watch the bots to see if this affects performance.

BUG=26625
TEST=compiles

Review URL: http://codereview.chromium.org/3501001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@60384 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-23 23:52:34 +00:00
thakis@chromium.org 005b63c378 Mac: clang build
Fixes the last few warnings / errors necessary to build chrome/mac with clang.

See http://code.google.com/p/chromium/wiki/Clang

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2762014

git-svn-id: http://src.chromium.org/svn/trunk/src/build@60131 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-22 00:09:28 +00:00
evan@chromium.org 9a999ce633 Support for building Chrome using Clang.
To build, set the clang=1 gyp_define.

This patch is the culmination of many months of effort and many
patches.  It contains the minimal changes to Chrome that
are Clang-specific.

With this, I can build the "chrome" target.  Once this patch
is in, we can incrementally fix bits of Chrome and various
tests and remove the Clang-specific workarounds.

Review URL: http://codereview.chromium.org/522020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@59882 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-18 00:09:15 +00:00
phajdan.jr@chromium.org 936f6da89a Linux: make compile-time dependency on gnome-keyring optional.
This is upstreaming a Gentoo Linux patch.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/3380004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@59587 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-16 00:22:21 +00:00
evan@chromium.org 04996c87b4 linux: Pass -pipe to gcc.
This was marginally faster in my local test on one file.

TEST=compiles

Review URL: http://codereview.chromium.org/3444006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@59583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-15 23:39:35 +00:00
thestig@chromium.org 00468e2a12 Linux Reliability: Strip test binaries and libraries.
BUG=none
TEST=Linux Reliability Builder test directory output is < 100 MB.
Review URL: http://codereview.chromium.org/3398004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@59569 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-15 22:24:49 +00:00
jshin@chromium.org 07479b8e8d Add Farsi support
Add 'fa' entry to all the grd files.
For *locale_settings*, create new xtb files for Farsi (copied from Arabic).

Also, pulls in ICU @r=58904 (with Farsi data).

locale_settings_fa.xtb has a lot of UI dimensions that may not work
well in Farsi. We need LQA to take a look at them.

terms_FOO.html is not yet available for Farsi as well as Amharic and Swahili. Tentatively, use
terms_en.html. 

BUG=45505
TEST='chrome --lang=fa' on Windows should bring up Chrome in Farsi. 'LANGUAGE=fa chrome' should do the same on Linux. (on Ubuntu,  'language-pack-gnome-fa' and 'language-pack-fa' have be installed to get Chrome in Farsi with the UI mirrored).


Review URL: http://codereview.chromium.org/3296013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@58998 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-09 21:06:13 +00:00
gfeher@chromium.org 5db96f21a2 Reland r57812 (Add the new Mac manifest to the application bundle) and remove dummy translations
Add the policy templates generated from chrome/app/policy_templates.json to the Mac application bundle. (The template generator for Mac is implemented in CL 3116027) Also remove the old manifest file and references to translations that are not there yet.

The problem with the previous landing attempt was that in Release mode build, the following script was looking for binary files that were not there: build/mac/strip_from_xcode

BUG=49316
TEST=add Chromium to the managed applications' list in the OSX Workgroup Manager, and see if it shows the manageable preferences with English descriptions

Review URL: http://codereview.chromium.org/3287003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@58366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-02 16:16:58 +00:00
pmehta@chromium.org 11fdb9b10d Removes a preprocessor definition that is no longer required.
Originally added: (http://codereview.chromium.org/3146031) 

BUG=NONE
TEST=NONE
Review URL: http://codereview.chromium.org/3347002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@58223 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-09-01 19:48:43 +00:00
thestig@chromium.org 666fdcf3ec Linux: Enable symbol dumping on 64-bit Breakpad.
BUG=20737
TEST=none
Review URL: http://codereview.chromium.org/3213005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@58050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-31 19:44:08 +00:00
glider@chromium.org 3c1e5b280a This CL introduces the stack shadowing mechanism that should help TCMalloc's
heap leak checker to unwind the memory allocation stacks better.

Currently, if a memory region is allocated from a library built without frame
pointers heapchecker is unable to unwind the stack and records only the top
frame. This is inconvenient, because:
 -- several leaks from different places are treated as leaks from the same
    source
 -- it's hard to suppress such leaks, because a one-line suppression is
    uninformative

linux_shadow_stacks.cc keeps the threads' IP and SP values in thread-local
stacks upon each function entry/exit using gcc function instrumentation
(-finstrument-functions).
The GetStackTrace routine from stacktrace_shadow-inl.h unwinds the stack as
usual (using frame pointers), but then updates the result with the shadow stack
frames which SP values are below the bottom frame of the unwind result.

Note that -finstrument-functions affects only Chromium code, not the libraries.
This means that we cannot get more than one library function frame at the top
of the stack.
For example, consider a libfoo library that has a public foo_do_something()
routine which allocates memory via foo_alloc(). If Chromium calls
foo_do_something() from ChromeCallFoo(), then the following call chain
effectively happens:
  main -> ChromeCallFoo -> foo_do_something -> foo_alloc

If libfoo is built with -fomit-frame-pointers, heapcheck can unwind only the
last stack frame:
  foo_alloc

On the other hand, the shadow stack at the allocation site contains everything
below the libfoo calls:
  main -> ChromeCallFoo

As a result the following allocation stack is recorded:
  main -> ChromeCallFoo -> foo_alloc

This is enough to distinguish between e.g. ChromeCallFoo1 and ChromeCallFoo2

Review URL: http://codereview.chromium.org/3120017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@57658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-27 10:13:21 +00:00
thestig@chromium.org 963821c5b7 Linux: Remove obsolete linux_chromium_* variables.
BUG=52924
TEST=none
Review URL: http://codereview.chromium.org/3208002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@57570 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-26 19:58:10 +00:00
phajdan.jr@chromium.org 63563f1ad4 GTTF: Make our handling of Windows pre-processor symbols more consistent.
For example, there are differences between unit_tests and browser_tests,
which cause ridiculous problems when moving a test between those.

We're using the symbols anyway, so let's centralize it for maintainability.

TEST=compile
BUG=none

Review URL: http://codereview.chromium.org/3173044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@57555 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-26 18:34:38 +00:00
thestig@chromium.org f08236ee0a Linux: Switch to DWARF for official builds. Good riddence.
BUG=20737
TEST=none
Review URL: http://codereview.chromium.org/2892001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@57553 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-26 18:28:17 +00:00
thestig@chromium.org b120a65f94 Linux: Fix Breakpad variables in build/common.gypi.
BUG=52924
TEST=none
Review URL: http://codereview.chromium.org/3174026

git-svn-id: http://src.chromium.org/svn/trunk/src/build@57263 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-25 00:22:01 +00:00
pmehta@chromium.org e99b08e997 Define V8_REPORT_EXECUTABLE_MEMORY_USAGE on all platforms for all builds.
Review URL: http://codereview.chromium.org/3146031

git-svn-id: http://src.chromium.org/svn/trunk/src/build@56960 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-21 01:22:24 +00:00
ajwong@chromium.org 98803ef1b1 Remove -rdynamic from the linux debug build.
Having -rdynamic breaks some plugins since it exports more symbols into
the dynamic symbol table than wanted. In particular, this breaks users of
ppapi's C++ wrappers. It was added to make StaceTraces resolve to symbols
on linux. But now we use the symbolize library from glog so it isn't needed
anymore.

BUG=52105
TEST=Compiles and StackTrace.* test in base_unittests will work.

Review URL: http://codereview.chromium.org/3119033

git-svn-id: http://src.chromium.org/svn/trunk/src/build@56924 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-20 22:55:34 +00:00
mirandac@chromium.org 4983cdb198 Revert 55766 - Enable -fPIC by default on x64
Get rid of linux_fpic gyp variable.

BUG=26625
TEST=all linux builds should compile

Review URL: http://codereview.chromium.org/3135001

TBR=nirnimesh@chromium.org
Review URL: http://codereview.chromium.org/3150006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@55836 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-12 02:11:08 +00:00
nirnimesh@chromium.org 265b6d8737 Enable -fPIC by default on x64
Get rid of linux_fpic gyp variable.

BUG=26625
TEST=all linux builds should compile

Review URL: http://codereview.chromium.org/3135001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@55766 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-11 19:14:50 +00:00
sky@chromium.org 19660a9638 Lands http://codereview.chromium.org/3166002 for bryeung:
Chain toolkit_views to touchui.

All touchui work is based on toolkit_views.

TEST=manually via gclient runhooks
BUG=none

Review URL: http://codereview.chromium.org/3173001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@55613 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-10 20:10:49 +00:00
evan@chromium.org 5b6a3422e2 linux: pass --as-needed to linker
Gentoo has some nice docs on it here:
  http://www.gentoo.org/proj/en/qa/asneeded.xml
on my Maverick box I couldn't see a difference in the ldd output,
but I suppose it can't hurt on older systems.

BUG=11595

Review URL: http://codereview.chromium.org/3050043

git-svn-id: http://src.chromium.org/svn/trunk/src/build@55302 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-06 22:55:22 +00:00
evan@chromium.org c1f2e95f3a linux: pass -Wl,-O1 to the linker
This produced a ~7% startup performance gain in my local tests,
with no extra binary size cost(!?).
I'll watch the perf bots after commit to verify.

Review URL: http://codereview.chromium.org/3093009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@55271 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-08-06 20:04:18 +00:00
zelidrag@chromium.org 31dfaebca5 Checking in CL http://www.codereview.chromium.org/2836058 on behalf of zbehan@:
chrome: create an option for using libcros provided by the system; fix all
includes referring to libcros to not include third_party/

* Headers fix is needed to support using system libcros (installed to /usr/include)

* All includes are "", and therefore a local variant in third_party/cros/ is
always preferred, but system will also get picked up as a secondary target

* Fixed chrome/browser/chromeos/cros/synaptics_library.h comments to better
reflect the header placement

* Added a variable system_libcros defaulting to 0
* Gotten rid of duplicate cros_api.gyp
* Changed both places to either link against cros_api or libcrosapi

TEST=build in the following scenarios:
1) libcros not installed, libcros sources in third_party/, !defined system_libcros
- sucess
2) installed libcros, put #error into /usr/include/cros/chromeos_cros_api.h, repeat 1)
- success
3) BUILD_DEFINES+=system_libcros=1, removed libcros from third_party, repeat 2)
- fail (on #error in chromeos_cros_api.h)
4) Installed clean libcros, repeat 3)
- success

Review URL: http://codereview.chromium.org/3043010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@53288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-07-22 01:00:21 +00:00
sky@chromium.org 8c9148ccb3 Lands http://codereview.chromium.org/2944021 for rjkroege:
Defined TOUCH_UI flag to wrap touch-related code

Added a gyp flag touchui that enables a TOUCH_UI cpp define to wrap
forthcoming touch-related code.

BUG=NONE
TEST=Compiled with and without touchui set via include.gypi

Review URL: http://codereview.chromium.org/3026001

git-svn-id: http://src.chromium.org/svn/trunk/src/build@52551 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-07-15 21:51:43 +00:00
scottbyer@chromium.org 94bf01c739 install-build-deps.sh fixes for Lucid and Chromium OS.
Add in two extra libraries needed for building Chromium-for-Chromium OS on a fresh install Ubuntu Lucid 64-bit.  Also, start checking for header differences between the 32-bit and 64-bit packages, adding those headers into the 32-bit cons'ed up package install (on Lucid Lynx, the current libcurl4-gnutls-dev package needs this).  Clean up any leftover symbolic links that point nowhere.  Also take any declared package conflicts and remove them from the Provides line to allow the cons'ed up package to always install (the package derived from libcurl4-gnutls-dev).

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/2865032

git-svn-id: http://src.chromium.org/svn/trunk/src/build@51863 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-07-08 17:51:33 +00:00
thestig@chromium.org 87af459be0 Mac: Enable fastbuild.
BUG=none
TEST=xcode passes -g1 to g++.
TBR=mark
Review URL: http://codereview.chromium.org/2853028

git-svn-id: http://src.chromium.org/svn/trunk/src/build@51597 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-07-03 08:49:24 +00:00
kbr@google.com 505b2f369b Added support to GLEW for dynamically looking up the core WGL entry
points to avoid the need to link against opengl32.lib. Added
_ATL_NO_OPENGL #define in build/common.gypi to prevent link directive
from forcibly pulling in opengl32.lib for any Chrome code using ATL.

Once upstream code in WebKit is changed to use the new wglew entry
points and remove opengl32.lib from the link line, chrome.dll will no
longer depend on opengl32.dll.

BUG=45586
TEST=ran WebGL with --in-process-webgl

Review URL: http://codereview.chromium.org/2856022

git-svn-id: http://src.chromium.org/svn/trunk/src/build@51277 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2010-06-30 18:52:27 +00:00