summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
Commit message (Collapse)AuthorAgeFilesLines
* linux: pass --as-needed to linkerevan@chromium.org2010-08-061-0/+1
| | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@55302 0039d316-1c4b-4281-b951-d872f2087c98
* linux: pass -Wl,-O1 to the linkerevan@chromium.org2010-08-061-0/+5
| | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@55271 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in CL http://www.codereview.chromium.org/2836058 on behalf of zbehan@:zelidrag@chromium.org2010-07-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@53288 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/2944021 for rjkroege:sky@chromium.org2010-07-151-0/+6
| | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@52551 0039d316-1c4b-4281-b951-d872f2087c98
* install-build-deps.sh fixes for Lucid and Chromium OS.scottbyer@chromium.org2010-07-081-0/+10
| | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@51863 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Enable fastbuild.thestig@chromium.org2010-07-031-3/+5
| | | | | | | | | BUG=none TEST=xcode passes -g1 to g++. TBR=mark Review URL: http://codereview.chromium.org/2853028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51597 0039d316-1c4b-4281-b951-d872f2087c98
* Added support to GLEW for dynamically looking up the core WGL entrykbr@google.com2010-06-301-0/+1
| | | | | | | | | | | | | | | | | 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: svn://svn.chromium.org/chrome/trunk/src@51277 0039d316-1c4b-4281-b951-d872f2087c98
* Canvas refactoring part 2.ben@chromium.org2010-06-231-5/+0
| | | | | | | | | | | | - Rename Canvas to CanvasSkia. - Create a subclass Canvas that inherits from CanvasSkia for compatibility. BUG=none TEST=none Review URL: http://codereview.chromium.org/2862025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50664 0039d316-1c4b-4281-b951-d872f2087c98
* Enable gpu on all targetspiman@chromium.org2010-06-221-9/+4
| | | | | | Review URL: http://codereview.chromium.org/2853011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50519 0039d316-1c4b-4281-b951-d872f2087c98
* Make right-clicking the omnibox with nothing selected select all (just like ↵pkasting@chromium.org2010-06-221-1/+1
| | | | | | | | | | | | | left-clicking). Eat middle-mouse clicks on the omnibox to avoid tripping a CRichEditCtrl bug. Original patch by Jared Wein (see http://codereview.chromium.org/2241003 ), r=me. BUG=6873, 30134 TEST=Middle-click the omnibox, then try to click it (or any other UI element), and make sure the click has an effect. Select a portion of the URL and right-click on the omnibox. Notice that the selection does not change. Clear the selection and right-click on the omnibox and notice that the URL is automatically selected. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50420 0039d316-1c4b-4281-b951-d872f2087c98
* -. Add new variables for multi dll build:victorw@chromium.org2010-06-211-21/+50
| | | | | | | | | | | | | | | | | | 1. multi_dll_build: whether or not to build multi dll version. 2. component: used for library that can be built as DLL. component is set to shared_library if multi_dll_build==1, in other cases, it is set to "<(library)". -. Fix win_use_allocator_shim comments and some MSVCRT related settings. Note: this patch just adds new variables. They are not ready to use yet. R=darin BUG=46311 TEST=none Review URL: http://codereview.chromium.org/2836013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50362 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] force -Wextra on for all chromium code. Not bothering with a local ↵thomasvl@chromium.org2010-06-211-15/+10
| | | | | | | | | | switch since there shouldn't be a reason to allow overrides of this. BUG=34160 TEST=none Review URL: http://codereview.chromium.org/2854013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50355 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49982 - patchthakis@chromium.org2010-06-161-10/+2
| | | | | | | TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/2825006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50002 0039d316-1c4b-4281-b951-d872f2087c98
* patchthakis@chromium.org2010-06-161-2/+10
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49982 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for turning on -Wextra on the mac. Doesn't compile that way, ↵thomasvl@chromium.org2010-06-151-1/+15
| | | | | | | | | | but makes it easier to enable it in a build to start working toward it. BUG=34160 TEST=none Review URL: http://codereview.chromium.org/2822004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49785 0039d316-1c4b-4281-b951-d872f2087c98
* Enable remoting unittests to run on build botshclam@chromium.org2010-06-111-5/+5
| | | | | | | | | | Renamed chromoting.gyp to remoting.gyp. Also enabled remoting_unittests to be executed on the build bots. Review URL: http://codereview.chromium.org/2720007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49609 0039d316-1c4b-4281-b951-d872f2087c98
* Second try of building a version of base with -fPIC for internal plugin. ↵jam@chromium.org2010-06-111-0/+2
| | | | | | | | Credit to bradnelson. Review URL: http://codereview.chromium.org/2767010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49597 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 49503 - Fix build failure from previous change.jam@chromium.org2010-06-111-2/+0
| | | | | | | | | Review URL: http://codereview.chromium.org/2796004 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/2790010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49504 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build failure from previous change.jam@chromium.org2010-06-111-0/+2
| | | | | | Review URL: http://codereview.chromium.org/2796004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49503 0039d316-1c4b-4281-b951-d872f2087c98
* Enable chromoting in the build by defaulthclam@chromium.org2010-06-111-2/+5
| | | | | | | | | | Set chromoting to be built by default. Also defines a ENABLE_CHROMOTING flag if chromoting is enabled in the build system so we can exclude chromoting if we don't want chromoting code to be linked in. Review URL: http://codereview.chromium.org/2788003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49482 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r49135: Linux: enable compiling GNOME Keyring and KWallet ↵mdm@chromium.org2010-06-101-0/+3
| | | | | | | | | | | integration. It's still unused. BUG=12351,25404 TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies Review URL: http://codereview.chromium.org/2774002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49370 0039d316-1c4b-4281-b951-d872f2087c98
* Added EGL based GLContext.apatrick@chromium.org2010-06-091-8/+0
| | | | | | | | | | | | | | Python script to generate code to dynamically bind to GL functions (native GL, OSMesa, EGL or mock GL for unit tests). This replaces GLEW because GLEW doesn't bind to the GLES dialect of GL. Moved the mock GL code into app/gfx/gl. Updated the GPU code and AcceleratedSurface to use the new GL bindings. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/2134006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49332 0039d316-1c4b-4281-b951-d872f2087c98
* Added ANGLE to Windows build.apatrick@chromium.org2010-06-091-4/+9
| | | | | | | | | | | Also added paths to DirectX SDK to common.gypi because ANGLE requires headers and libraries not part of the Windows Platform SDK. TEST=trybots BUG=none Review URL: http://codereview.chromium.org/2685002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49323 0039d316-1c4b-4281-b951-d872f2087c98
* Add chromoting option for gyp.sergeyu@chromium.org2010-06-081-0/+4
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/2745004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49201 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r49135: Linux: enable compiling GNOME Keyring and KWallet ↵mdm@chromium.org2010-06-081-3/+0
| | | | | | | | | | | integration. Some of the bots (memory, ARM) didn't get the new package installed yet. BUG=none TEST=none Review URL: http://codereview.chromium.org/2763001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49149 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: enable compiling GNOME Keyring and KWallet integration. It's still ↵mdm@chromium.org2010-06-081-0/+3
| | | | | | | | | | | unused. BUG=12351,25404 TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies Review URL: http://codereview.chromium.org/2718001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49135 0039d316-1c4b-4281-b951-d872f2087c98
* Generate .dSYM bundles for loadable_modules as well.jam@chromium.org2010-06-011-4/+4
| | | | | | Review URL: http://codereview.chromium.org/2468002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48642 0039d316-1c4b-4281-b951-d872f2087c98
* Enable warning 4389 as an error on windows builds. This will make mbelshe@chromium.org2010-05-271-0/+6
| | | | | | | | | | | | windows builds more similar to linux/mac, which already treat signed/ unsigned equality comparisons as warnings (and hence errors). BUG=44471 TEST=none Review URL: http://codereview.chromium.org/2222002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48395 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Another dependency the bbot missed!!!"rafaelw@chromium.org2010-05-261-6/+0
| | | | | | | | | | | | | | | | | | This reverts commit 161f7fd3bdd425167af9fe26fdc5373a2ff44c98. Revert "Missed a file as part of checkin for r48186" This reverts commit cff86beba5938209393a6c3bccced62a7f3ff36b. Revert "Enable warning 4389 as an error on windows builds. This will make" This reverts commit c78936bcfc65b98edf288191d927a495b0364621. TBR=mbelshe Review URL: http://codereview.chromium.org/2253001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48238 0039d316-1c4b-4281-b951-d872f2087c98
* Enable warning 4389 as an error on windows builds. This will makembelshe@chromium.org2010-05-251-0/+6
| | | | | | | | | | | | windows builds more similar to linux/mac, which already treat signed/ unsigned equality comparisons as warnings (and hence errors). BUG=44471 TEST=none Review URL: http://codereview.chromium.org/2081007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48186 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bad_alloc linkage error on chromeos valgrind bots. part 1.oshima@chromium.org2010-05-151-3/+14
| | | | | | | | | | | | Seems like some of test binaries are now big enough that gold cannot link with gc-sectinos. This CL add gyp variable to turn it off. I'll add this flag to master.cfg in separate CL. BUG=44241 TEST=chromeos valgrind bot should be able to link test binaries. Review URL: http://codereview.chromium.org/2112004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47351 0039d316-1c4b-4281-b951-d872f2087c98
* Update dynamic annotations and move them to base/third_partytimurrrr@chromium.org2010-05-141-1/+4
| | | | | | Review URL: http://codereview.chromium.org/1992005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47252 0039d316-1c4b-4281-b951-d872f2087c98
* Added #ifdef to allow Chromium to enable proprietary codecs.scherkus@chromium.org2010-05-101-0/+7
| | | | | | | | | | | | | | We need to enable MP4 and MP3 support on tegra2 boards. This change will let us enable this support via a flag in make.conf. Patch by jneddo@nvidia.com: http://codereview.chromium.org/1942003/show BUG=none TEST=none Review URL: http://codereview.chromium.org/2001004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46824 0039d316-1c4b-4281-b951-d872f2087c98
* Committing for jeffbailey.mad@google.com2010-05-071-1/+4
| | | | | | | | | | | | | | | | | Excerpt from: http://codereview.chromium.org/1991004/show ---------------- Put version information into header file for easy consumption by RC files. RC files can use an #include to pull in this header, rather than being each dynamically generated. BUG=none TEST=none ---------------- Review URL: http://codereview.chromium.org/2020003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46736 0039d316-1c4b-4281-b951-d872f2087c98
* Quick fix: explicitly specify /Ob0 to avoid inlining if ↵timurrrr@chromium.org2010-05-071-4/+26
| | | | | | | | | | | InlineFunctionExpansion==0; add 'default' value This is a follow-up for http://codereview.chromium.org/1995004 Looks like InlineFunctionExpansion=0 means "default", not /Ob0 for MSVS... TEST=trybots, tried locally with "vim base/base.vcproj" Review URL: http://codereview.chromium.org/2041002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46682 0039d316-1c4b-4281-b951-d872f2087c98
* Make RuntimeLibrary adjustable for Win/Debug buildtimurrrr@chromium.org2010-05-071-1/+8
| | | | | | | TEST=trybot Review URL: http://codereview.chromium.org/1995004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46664 0039d316-1c4b-4281-b951-d872f2087c98
* remove the logic to compute enable_gles since it's broken;piman@chromium.org2010-04-291-9/+11
| | | | | | | | add enable_eglimage Review URL: http://codereview.chromium.org/1747019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45889 0039d316-1c4b-4281-b951-d872f2087c98
* Add a gyp flag for disabling sse2. This makes it easier fortony@chromium.org2010-04-281-2/+6
| | | | | | | | distros to disable sse2. Review URL: http://codereview.chromium.org/1702009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45777 0039d316-1c4b-4281-b951-d872f2087c98
* gyp: unify toolkit_views usageevan@chromium.org2010-04-271-4/+4
| | | | | | | | | | | Now that we can rely on toolkit_views to be set when appropriate, we can simplify a bunch of logic in gyp. TEST=compiles Review URL: http://codereview.chromium.org/1741010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45727 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the toolkit_views gyp variable define mania.evan@chromium.org2010-04-261-7/+19
| | | | | | | | | | | | | | | | This makes it so toolkit_views==1 is always true for views builds, either on Windows or ChromeOS. Three levels of nesting are needed for this chained conditional: 1) Set the default value of ChromeOS. 2) Depending on ChromeOS value, set the default value of toolkit_views. 3) Depending on toolkit_views value, set the rest of the build variables. This should have no affect on the build, but will allow subsequent cleanup. Review URL: http://codereview.chromium.org/1799002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45639 0039d316-1c4b-4281-b951-d872f2087c98
* add ENABLE_GLES flag for conditional complilation of GLESpiman@chromium.org2010-04-261-0/+14
| | | | | | | | | related code Review URL: http://codereview.chromium.org/1708006 Patch from Wei Jia <wjia@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45635 0039d316-1c4b-4281-b951-d872f2087c98
* bsd: refactor XDG bits of linux_util into a shared file.evan@chromium.org2010-04-221-1/+1
| | | | | | | | | This allows the shared code to build on the BSDs without them needing to build _linux files. Review URL: http://codereview.chromium.org/1701005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45380 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable TCMalloc on Linux.willchan@chromium.org2010-04-211-1/+1
| | | | | | | | BUG=36687 Review URL: http://codereview.chromium.org/1760002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45219 0039d316-1c4b-4281-b951-d872f2087c98
* New experimental Pepper device API.apatrick@chromium.org2010-04-161-0/+10
| | | | | | | | | | | | | | | - makes device contexts opaque to the plugin - can get / set multiple attributes and flush with a single call (and underlying IPC message exchange) - currently works in parallel with old API - adapted pepper test plugin to use new API if use_new_npdevice_api=1 TEST=trybots, visual confirmation that pepper test plugin works with new API BUG=none Review URL: http://codereview.chromium.org/1529005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44840 0039d316-1c4b-4281-b951-d872f2087c98
* Add the linux_use_debugallocation flag.glider@chromium.org2010-04-161-0/+3
| | | | | | | | | | | Setting this flag to 1 shall force the use of debugallocation.cc instead of tcmalloc.cc The flag is off by default because it still needs testing. BUG=30715 Review URL: http://codereview.chromium.org/1513043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44759 0039d316-1c4b-4281-b951-d872f2087c98
* Enable SSE2 compilation for ChromeOS.fbarchard@chromium.org2010-04-161-0/+9
| | | | | | | | | | In practice the <video> tag needs this for faster YUV conversion/filtering. BUG=19113 TEST=Test youtube html5 with chromeos (not chromiumos). It should not crash, and it should be faster. Review URL: http://codereview.chromium.org/1553035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44740 0039d316-1c4b-4281-b951-d872f2087c98
* POSIX: Implement the fastbuild option.thestig@chromium.org2010-04-141-1/+3
| | | | | | | | BUG=none TEST=Enabling fastbuild -> faster debug build. Review URL: http://codereview.chromium.org/1558043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44543 0039d316-1c4b-4281-b951-d872f2087c98
* Enable MMX for Chromefbarchard@chromium.org2010-04-131-1/+4
| | | | | | | | | BUG=41259,19113 TEST=build code that uses mmx intrinsics. Review URL: http://codereview.chromium.org/1604030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44325 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off TCMalloc for Linux to fix plugin crashes.willchan@chromium.org2010-04-091-1/+1
| | | | | | | | BUG=38692 Review URL: http://codereview.chromium.org/1617014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44105 0039d316-1c4b-4281-b951-d872f2087c98
* Solaris: various edits towards compiling Chromium on Solaris. Changed ↵evan@chromium.org2010-04-011-3/+6
| | | | | | | | | | | | __Solaris__ to __sun. Defined NAME_MAX as MAXNAMLEN for systems where it is undefined. BUG=30101 TEST=compiles Patch by James Choi <jchoi42 at pha.jhu.edu> Review URL: http://codereview.chromium.org/652166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43297 0039d316-1c4b-4281-b951-d872f2087c98