summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Use precompiled headers for most large projects where the .gyp filejoi@chromium.org2011-09-073-0/+127
| | | | | | | | | | | | | | is not a third party file. On my machine, this speeds up a full recompile of the 'chrome' target in Debug mode by about 18%. BUG=none TEST=it builds, existing tests pass Review URL: http://codereview.chromium.org/7706011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99949 0039d316-1c4b-4281-b951-d872f2087c98
* clang/make: Set LINK to $(CXX).thakis@chromium.org2011-09-061-1/+1
| | | | | | | | | | | Fixes clients that set CXX to a custom clang, such as ASAN. BUG=none TEST=asan bot goes green again. Review URL: http://codereview.chromium.org/7838013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99868 0039d316-1c4b-4281-b951-d872f2087c98
* Set CC to clang when GYP_DEFINES=clang=1.thakis@chromium.org2011-09-061-0/+20
| | | | | | | | | | | | | | | | | | | | | This makes it a lot easier to build with clang, since setting the GYP_DEFINES is now the only thing one has to do. The rest is set automatically. In preparation of setting clang=1 in build/common.gypi on mac. Depends on http://codereview.chromium.org/7779041/ . Idea and xcode part of the patch by Mark. BUG=none TEST= Set GYP_DEFINES=clang=1, create xcode and make projects 1.) Building with Xcode 3.2 uses clang 2.) Building with Xcode 4 gives functional fixits 3.) Building with make uses clang both for host and target 4.) Building with xcodebuild and goma still works on mac 5.) Building with make and goma still works Review URL: http://codereview.chromium.org/7779039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99835 0039d316-1c4b-4281-b951-d872f2087c98
* Update binutils URL and sha1sum for gold sourcesthestig@chromium.org2011-09-061-1/+1
| | | | | | | | | | | | | The ftp.gnu.org archive got rebuilt and changed some files in place under the same name but with rebuilt contents. The best binutils source archive that is now available there is the 2.21.1a file, which has a verified .sig (GPG signature) file. BUG=none TEST=none Review URL: http://codereview.chromium.org/7841002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99781 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99673 (didn't help) - mac: Use stabs instead of dwarf when fastbuild=1thakis@chromium.org2011-09-061-8/+0
| | | | | | | | | | | | | | | | libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that this CL makes the trybot compile time quite a bit faster. BUG=none TEST=none TBR=mark Review URL: http://codereview.chromium.org/7737027 TBR=thakis@chromium.org Review URL: http://codereview.chromium.org/7834036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99697 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Use stabs instead of dwarf when fastbuild=1thakis@chromium.org2011-09-051-0/+8
| | | | | | | | | | | | | libbase_i18n.a goes from 1MB to 300kB with this. I could imagine that this CL makes the trybot compile time quite a bit faster. BUG=none TEST=none TBR=mark Review URL: http://codereview.chromium.org/7737027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99673 0039d316-1c4b-4281-b951-d872f2087c98
* Smooth scrollingscottbyer@chromium.org2011-09-031-2/+2
| | | | | | | | | | | | Smooth scrolling compiled in behind a flag on Windows. BUG=61140 TEST=build chrome, launch, check about:flags for Smooth Scrolling Review URL: http://codereview.chromium.org/7832013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99525 0039d316-1c4b-4281-b951-d872f2087c98
* If the 'asan' GYP variable is set to 1 on Mac, do not strip the __asan_init ↵glider@chromium.org2011-09-022-0/+19
| | | | | | | | symbol from the binaries. Review URL: http://codereview.chromium.org/7828043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99371 0039d316-1c4b-4281-b951-d872f2087c98
* Enable smooth scrolling on macthakis@chromium.org2011-09-011-2/+2
| | | | | | | | | | | This confuses a few unit tests, so add some machinery to disable the feature in tests and do so in the tests that need it. BUG=61140,575 TEST=Go to en.wikipedia.org, hit space. Scroll should be animated. Review URL: http://codereview.chromium.org/7693019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99186 0039d316-1c4b-4281-b951-d872f2087c98
* Use chain-loading for Linux nacl_helpermcgrathr@chromium.org2011-09-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the nacl_helper_bootstrap program, dynamically-linked against nacl_helper.so, with a standalone, statically-linked nacl_helper_bootstrap program that loads the dynamic linker, instructing it in turn to load the nacl_helper program (now a PIE rather than a DSO). This avoids two problems with the old scheme: 1. The nacl_helper_bootstrap program remained in the dynamic linker's list of loaded objects, as the main executable, even though the memory where its .dynamic section had been was overwritten with the NaCl untrusted address space. Code that traverses the list of all loaded objects could thus attempt to look at pointers into this part of memory, and be led astray. 2. nacl_helper_bootstrap's large (~1G) bss segment could cause the kernel to refuse to load the program because it didn't think there was enough free memory in the system for so large an allocation of anonymous memory. The bootstrap program is kept very small by avoiding all use of libc (except for memset and integer division routines needed on ARM). It has its own custom start-up code hand-written in assembly and its own custom system call stubs done with hand-written GCC inline asm statements. To avoid the second problem, the bootstrap program no longer has a large bss. Instead, it has a special ELF segment (i.e. PT_LOAD header) that specifies no memory access, and a large (~1G) mapping size from the file. This mapping is way off the end of the file, but the kernel doesn't mind that, and since it's all a file mapping, the kernel does not do its normal memory accounting for consuming a large amount of anonymous memory. Unfortunately, it's impossible to get the linker to produce exactly the right PT_LOAD header by itself. Using a custom linker script, we get the layout exactly how we want it and a PT_LOAD header that is almost right. We then use a build-time helper program to munge one field of the PT_LOAD to make it exactly what we need. BUG= http://code.google.com/p/chromium/issues/detail?id=94147 TEST= hand-tested chromium build R=bradchen@google.com Review URL: http://codereview.chromium.org/7776034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99089 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce number of unnamed-type-template-args violations (mostly when passing ↵pkasting@chromium.org2011-09-011-6/+6
| | | | | | | | | | values to DCHECK(), ASSERT_EQ(), etc.), generally by naming previously-anonymous enums. We've decided not to eliminate the warning entirely because doing so is only possible with tons of ugly static_cast<>()s in Mac code. BUG=92247 TEST=Compiles Review URL: http://codereview.chromium.org/7605019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99086 0039d316-1c4b-4281-b951-d872f2087c98
* Add ruby to the list of build dependencies so that WebKit's pretty diff utilityabarth@chromium.org2011-08-311-1/+1
| | | | | | | works on the buildbots. Review URL: http://codereview.chromium.org/7809024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99031 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98885 - Third attempt at the following. Unreviewed, this was ↵rsleevi@chromium.org2011-08-312-57/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | originally reviewed in http://codereview.chromium.org/7550002 . Clean up SSL false start blacklist code. Numerous changes, including: * Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ . Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome. * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*. This also allows doing string operations on them. * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety. * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation). * Avoid #define and "using". * Use standard algorithms for similar reasons as using string ops. * Use file_util functions to significantly abbreviate file reading/writing code. * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue). * Avoid casting where possible. Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate. * Convert non-error uses of stderr to the chrome-standard VLOG(1). * Correctly handle hostnames with trailing dots in the input file. * In general, shorten code where possible. Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly. It would be nice if we could avoid this but I guess gyp would have to be smarter or something. BUG=none TEST=none Review URL: http://codereview.chromium.org/7804001 TBR=pkasting@chromium.org Review URL: http://codereview.chromium.org/7778035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98917 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98909 - Use chain-loading for Linux nacl_helperjar@chromium.org2011-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the nacl_helper_bootstrap program, dynamically-linked against nacl_helper.so, with a standalone, statically-linked nacl_helper_bootstrap program that loads the dynamic linker, instructing it in turn to load the nacl_helper program (now a PIE rather than a DSO). This avoids two problems with the old scheme: 1. The nacl_helper_bootstrap program remained in the dynamic linker's list of loaded objects, as the main executable, even though the memory where its .dynamic section had been was overwritten with the NaCl untrusted address space. Code that traverses the list of all loaded objects could thus attempt to look at pointers into this part of memory, and be led astray. 2. nacl_helper_bootstrap's large (~1G) bss segment could cause the kernel to refuse to load the program because it didn't think there was enough free memory in the system for so large an allocation of anonymous memory. The bootstrap program is kept very small by avoiding all use of libc (except for memset and integer division routines needed on ARM). It has its own custom start-up code hand-written in assembly and its own custom system call stubs done with hand-written GCC inline asm statements. To avoid the second problem, the bootstrap program no longer has a large bss. Instead, it has a special ELF segment (i.e. PT_LOAD header) that specifies no memory access, and a large (~1G) mapping size from the file. This mapping is way off the end of the file, but the kernel doesn't mind that, and since it's all a file mapping, the kernel does not do its normal memory accounting for consuming a large amount of anonymous memory. Unfortunately, it's impossible to get the linker to produce exactly the right PT_LOAD header by itself. Using a custom linker script, we get the layout exactly how we want it and a PT_LOAD header that is almost right. We then use a build-time helper program to munge one field of the PT_LOAD to make it exactly what we need. BUG= http://code.google.com/p/chromium/issues/detail?id=94147 TEST= hand-tested chromium build, invoked with --nacl-linux-helper R=bradchen@google.com,mseaborn@chromium.org Review URL: http://codereview.chromium.org/7795010 TBR=mcgrathr@chromium.org Review URL: http://codereview.chromium.org/7811013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98910 0039d316-1c4b-4281-b951-d872f2087c98
* Use chain-loading for Linux nacl_helpermcgrathr@chromium.org2011-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the nacl_helper_bootstrap program, dynamically-linked against nacl_helper.so, with a standalone, statically-linked nacl_helper_bootstrap program that loads the dynamic linker, instructing it in turn to load the nacl_helper program (now a PIE rather than a DSO). This avoids two problems with the old scheme: 1. The nacl_helper_bootstrap program remained in the dynamic linker's list of loaded objects, as the main executable, even though the memory where its .dynamic section had been was overwritten with the NaCl untrusted address space. Code that traverses the list of all loaded objects could thus attempt to look at pointers into this part of memory, and be led astray. 2. nacl_helper_bootstrap's large (~1G) bss segment could cause the kernel to refuse to load the program because it didn't think there was enough free memory in the system for so large an allocation of anonymous memory. The bootstrap program is kept very small by avoiding all use of libc (except for memset and integer division routines needed on ARM). It has its own custom start-up code hand-written in assembly and its own custom system call stubs done with hand-written GCC inline asm statements. To avoid the second problem, the bootstrap program no longer has a large bss. Instead, it has a special ELF segment (i.e. PT_LOAD header) that specifies no memory access, and a large (~1G) mapping size from the file. This mapping is way off the end of the file, but the kernel doesn't mind that, and since it's all a file mapping, the kernel does not do its normal memory accounting for consuming a large amount of anonymous memory. Unfortunately, it's impossible to get the linker to produce exactly the right PT_LOAD header by itself. Using a custom linker script, we get the layout exactly how we want it and a PT_LOAD header that is almost right. We then use a build-time helper program to munge one field of the PT_LOAD to make it exactly what we need. BUG= http://code.google.com/p/chromium/issues/detail?id=94147 TEST= hand-tested chromium build, invoked with --nacl-linux-helper R=bradchen@google.com,mseaborn@chromium.org Review URL: http://codereview.chromium.org/7795010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98909 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of the compositor_model_bench toolpiman@google.com2011-08-311-0/+1
| | | | | | | | | | | | | | | | | | This tool simulates the GPU demands of Chromium's GPU-accelerated compositor. In the current version, we simulate the performance of the existing forward rendering model; coming changes will prototype a new model. BUG=None TEST=self This is http://codereview.chromium.org/7718020/ with trivial fixes Original change by Joshua Trask <joshtrask@google.com> Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98706 Review URL: http://codereview.chromium.org/7792002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98900 0039d316-1c4b-4281-b951-d872f2087c98
* Third attempt at the following. Unreviewed, this was originally reviewed in ↵pkasting@chromium.org2011-08-302-16/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | http://codereview.chromium.org/7550002 . Clean up SSL false start blacklist code. Numerous changes, including: * Handle trailing dots in LastTwoLabels() as in http://codereview.chromium.org/7518035/ . Rename this function to LastTwoComponents() to match the terminology used in the RegistryControlledDomainService and elsewhere in Chrome. * Since callers are using std::string anyway, make the functions in the header take const std::string& instead of char*. This also allows doing string operations on them. * Use string operations (like find_last_of()) in place of hand-written algorithms, for brevity, clarity, and safety. * Avoid "unsigned", which the style guide forbids, and use allowed types like size_t, uint32, or int (depending on the situation). * Avoid #define and "using". * Use standard algorithms for similar reasons as using string ops. * Use file_util functions to significantly abbreviate file reading/writing code. * Use wmain() (on Windows) in combination with FilePath to avoid issues if the provided pathname has extended characters that don't flatten losslessly to the default codepage (thanks Darin for pointing out this issue). * Avoid casting where possible. Avoid some casts for printf()-style calls by using a string stream, which also allows for slightly less boilerplate. * Convert non-error uses of stderr to the chrome-standard VLOG(1). * Correctly handle hostnames with trailing dots in the input file. * In general, shorten code where possible. Because this adds a dependency on base, and ssl_false_start_blacklist_process has the "#host" specifier in net.gyp, bradnelson tells me that base and its dependencies need an explicit "host, target" toolchain list for the Linux builds to work correctly. It would be nice if we could avoid this but I guess gyp would have to be smarter or something. BUG=none TEST=none Review URL: http://codereview.chromium.org/7804001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98885 0039d316-1c4b-4281-b951-d872f2087c98
* Dummy change to trigger the botsnsylvain@chromium.org2011-08-301-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98871 0039d316-1c4b-4281-b951-d872f2087c98
* Build performance_ui_tests on gpu waterfall.nduca@chromium.org2011-08-301-0/+1
| | | | | | Review URL: http://codereview.chromium.org/7792043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98835 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98706 - Initial checkin of the compositor_model_bench toolpiman@google.com2011-08-291-1/+0
| | | | | | | | | | | | | | | | | | | | This tool simulates the GPU demands of Chromium's GPU-accelerated compositor. In the current version, we simulate the performance of the existing forward rendering model; coming changes will prototype a new model. BUG=None TEST=self This is http://codereview.chromium.org/7718020/ with trivial fixes Original change by Joshua Trask <joshtrask@google.com> Review URL: http://codereview.chromium.org/7792002 Patch from Joshua Trask <joshtrask@google.com>. TBR=piman@google.com Review URL: http://codereview.chromium.org/7792016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98710 0039d316-1c4b-4281-b951-d872f2087c98
* Initial checkin of the compositor_model_bench toolpiman@google.com2011-08-291-0/+1
| | | | | | | | | | | | | | | | | This tool simulates the GPU demands of Chromium's GPU-accelerated compositor. In the current version, we simulate the performance of the existing forward rendering model; coming changes will prototype a new model. BUG=None TEST=self This is http://codereview.chromium.org/7718020/ with trivial fixes Original change by Joshua Trask <joshtrask@google.com> Review URL: http://codereview.chromium.org/7792002 Patch from Joshua Trask <joshtrask@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98706 0039d316-1c4b-4281-b951-d872f2087c98
* Add glib to system.gyp for cros static library (load.cc)stevenjb@google.com2011-08-291-0/+17
| | | | | | | | | | | An upcoming libcros change adds a header dependency on glib, so we need an entry in system.gyp for cros_api.gyp to reference. BUG=chromium-os:19576 TEST=none Review URL: http://codereview.chromium.org/7799001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98668 0039d316-1c4b-4281-b951-d872f2087c98
* Dummy change to trigger the botsnsylvain@chromium.org2011-08-291-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98594 0039d316-1c4b-4281-b951-d872f2087c98
* Whitespace change to trigger a new build using new TSan binariestimurrrr@chromium.org2011-08-281-0/+1
| | | | | | | TBR=glider Review URL: http://codereview.chromium.org/7779003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98589 0039d316-1c4b-4281-b951-d872f2087c98
* cycle botsthakis@chromium.org2011-08-281-2/+2
| | | | | | | | | | BUG=none TEST=none TBR=rsleevi Review URL: http://codereview.chromium.org/7736007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98584 0039d316-1c4b-4281-b951-d872f2087c98
* Make chromeos toolchain download more noisy, so its clear which versionbradnelson@google.com2011-08-261-0/+3
| | | | | | | | | | | we're using. BUG=None TEST=None R=noelallen@google.com Review URL: http://codereview.chromium.org/7771001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98500 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a special toolchain that will work with chromeos.bradnelson@google.com2011-08-261-3/+13
| | | | | | | | | BUG=http://code.google.com/p/chromium-os/issues/detail?id=19719 TEST=None R=noelallen@google.com,zelidrag@google.com Review URL: http://codereview.chromium.org/7761004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98492 0039d316-1c4b-4281-b951-d872f2087c98
* Allow __pnacl__ target to build code included from Chrome.sehr@google.com2011-08-261-0/+2
| | | | | | | | | | Committing for pdox@google.com. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/7744034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98461 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98426 - Revert 98103 - Switch to using .pak files for locale data on ↵battre@chromium.org2011-08-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows. We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7744053 TBR=battre@chromium.org Review URL: http://codereview.chromium.org/7759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98427 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 98103 - Switch to using .pak files for locale data on Windows.battre@chromium.org2011-08-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7744053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98426 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97966 : Revert 97955 - First pass on intents options UI.gbillock@chromium.org2011-08-251-0/+10
| | | | | | | | | | | | | Original review URL: http://codereview.chromium.org/7624012 R=groby@chromium.org,vandebo@chromium.org BUG=none TEST=*Intents* Review URL: http://codereview.chromium.org/7719029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98340 0039d316-1c4b-4281-b951-d872f2087c98
* Add Aura support to views:ben@chromium.org2011-08-251-7/+10
| | | | | | | | | | | | | - change aura GYP_DEFINE to use_aura to be consistent with other switches - add gfx::NativeView/Window typedefs - add NativeWidgetAura/etc. - update some ifdefs and includes to build on windows. http://crbug.com/93944 TEST=none Review URL: http://codereview.chromium.org/7741001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98234 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: allow linking directly with Kerberos instead of using dlopen.phajdan.jr@chromium.org2011-08-241-4/+4
| | | | | | | | | | | dlopen is still the default for Google Chrome. This option is intended for Linux distro packagers. BUG=92689 Review URL: http://codereview.chromium.org/7655046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98116 0039d316-1c4b-4281-b951-d872f2087c98
* Switching NaCl IRT to be built inside the chrome build.bradnelson@google.com2011-08-241-205/+0
| | | | | | | | | | | | | | | | | | | | Fifth attempt to land! Switching IRT to be built inside the chrome build. Dropping the IRT download step from the DEPS. Step3 of a many step plan to switch where ppapi + irt are built. Dropping download_nacl_irt because we no longer rely on a prebuilt copy. Dropping irt download drop source tarball (assume people using it will have to download / build their own nacl toolchain). Old Review URL: http://codereview.chromium.org/7669058 R=noelallen@google.com BUG=http://code.google.com/p/chromium/issues/detail?id=93520 TEST=None Review URL: http://codereview.chromium.org/7693028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98106 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using .pak files for locale data on Windows.tony@chromium.org2011-08-241-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. Fixes from previous patch: - Made dependencies of packed_resources explicit (MSVS can't figure it out from the inputs). - Removed a couple cases where we were looking for dlls on Windows (in l10n_util.cc and l10n_util_unittest.cc). BUG=92724 TBR=cpu Review URL: http://codereview.chromium.org/7714028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98103 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for GYP_DEFINES aura_wm=1 which also defines views_compositor=1.ben@chromium.org2011-08-241-0/+14
| | | | | | | | | | | | This build flag will control which set of native types views builds with on various platforms. Also fixes mouse event handling in the demo app so that the window can be moved. http://crbug.com/84070 TEST=none Review URL: http://codereview.chromium.org/7717015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98086 0039d316-1c4b-4281-b951-d872f2087c98
* linux: clean up include paths for local nss headersevan@chromium.org2011-08-241-9/+5
| | | | | | | | | | The comment stated that gyp include paths come after cflags, but that is not true: include paths come before cflags. Use the gyp prepend operator just to be extra sure. Review URL: http://codereview.chromium.org/7720016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98071 0039d316-1c4b-4281-b951-d872f2087c98
* Turn off PIE when building for Valgrind.mark@chromium.org2011-08-242-0/+15
| | | | | | | | BUG=90221, 93551 TEST=Valgrind Review URL: http://codereview.chromium.org/7724002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98046 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97987 - Switching NaCl IRT to be built inside the chrome build.dpolukhin@chromium.org2011-08-241-0/+205
| | | | | | | | | | | | | | | | | | | Fourth attempt: Switching IRT to be built inside the chrome build. Dropping the IRT download step from the DEPS. Step3 of a many step plan to switch where ppapi + irt are built. Dropping download_nacl_irt because we no longer rely on a prebuilt copy. Dropping irt download drop source tarball (assume people using it will have to download / build their own nacl toolchain). Old Review URL: http://codereview.chromium.org/7669058 Review URL: http://codereview.chromium.org/7701017 TBR=bradnelson@google.com Review URL: http://codereview.chromium.org/7701026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98030 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97925 - Linux: allow linking directly with Kerberos instead of using ↵dpolukhin@chromium.org2011-08-241-4/+4
| | | | | | | | | | | | | | | | dlopen. dlopen is still the default for Google Chrome. This option is intended for Linux distro packagers. BUG=92689 Review URL: http://codereview.chromium.org/7655046 TBR=phajdan.jr@chromium.org Review URL: http://codereview.chromium.org/7719024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98028 0039d316-1c4b-4281-b951-d872f2087c98
* Switching NaCl IRT to be built inside the chrome build.bradnelson@google.com2011-08-241-205/+0
| | | | | | | | | | | | | | | | Fourth attempt: Switching IRT to be built inside the chrome build. Dropping the IRT download step from the DEPS. Step3 of a many step plan to switch where ppapi + irt are built. Dropping download_nacl_irt because we no longer rely on a prebuilt copy. Dropping irt download drop source tarball (assume people using it will have to download / build their own nacl toolchain). Old Review URL: http://codereview.chromium.org/7669058 Review URL: http://codereview.chromium.org/7701017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97987 0039d316-1c4b-4281-b951-d872f2087c98
* Give plug-in processes an executable heap and disable PIE/ASLR for Nativemark@chromium.org2011-08-244-41/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client loader processes. Some plug-ins depend on having an executable heap. They write code to data pages and attempt to execute it without calling mprotect to mark this code as executable. Native Client needs to allocate a contiguous 1GB of address space. ASLR may interfere with there being a "hole" this large in the address space by the time NaCl makes its request. Non-executable heaps are only available in 10.7 and later for 32-bit processes. PIE/ASLR was formerly disabled for all processes other than the browser process. This change reenables it for all processes other than the NaCl loader. PIE/ASLR is available on 10.5 and later, although the implementation is stronger in 10.7 than in earlier releases. This change results in two new helpers in addition to the existing Chromium Helper.app: Chromium Helper EH.app (for executable heaps) and Chromium Helper NP.app (for no PIE). libplugin_carbon_interpose.dylib moves out of the helper .app and directly into the versioned directory. The InfoPlist.strings have been removed from the helper app, but empty .lproj directories remain. BUG=90221, 93551 TEST=everything Review URL: http://codereview.chromium.org/7714018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97984 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Switch to using .pak files for locale data on Windows." (r97941)mattm@chromium.org2011-08-241-0/+2
| | | | | | | | | | | Revert "Fix a bug where windows can't find the locale paks." (r97951) Revert "Fix the windows build." (r97954) TBR=tony@chromium.org Review URL: http://codereview.chromium.org/7717017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97968 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97955 - First pass on intents options UI.mattm@chromium.org2011-08-241-10/+0
| | | | | | | | | | | | | | | | | | | Copies the cookies view handler for intents. Add pass-throughs to grit for flag. Optionalize intents options page JS/CSS. Fix up data model to read title. Working test. R=jhawkins@chromium.org BUG=None TEST=*Intents* Review URL: http://codereview.chromium.org/7624012 TBR=gbillock@chromium.org Review URL: http://codereview.chromium.org/7717016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97966 0039d316-1c4b-4281-b951-d872f2087c98
* First pass on intents options UI.gbillock@chromium.org2011-08-241-0/+10
| | | | | | | | | | | | | | | | Copies the cookies view handler for intents. Add pass-throughs to grit for flag. Optionalize intents options page JS/CSS. Fix up data model to read title. Working test. R=jhawkins@chromium.org BUG=None TEST=*Intents* Review URL: http://codereview.chromium.org/7624012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97955 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97943 - Switching NaCl IRT to be built inside the chrome build.tony@chromium.org2011-08-231-0/+205
| | | | | | | | | | | | | | | | | | | | | | | Third attempt: Switching IRT to be built inside the chrome build. Dropping the IRT download step from the DEPS. Step3 of a many step plan to switch where ppapi + irt are built. Dropping download_nacl_irt because we no longer rely on a prebuilt copy. Dropping irt download drop source tarball (assume people using it will have to download / build their own nacl toolchain). Old Review URL: http://codereview.chromium.org/7669058 R=noelallen@google.com BUG=http://code.google.com/p/chromium/issues/detail?id=93520 TEST=None Review URL: http://codereview.chromium.org/7685042 TBR=bradnelson@google.com Review URL: http://codereview.chromium.org/7718016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97949 0039d316-1c4b-4281-b951-d872f2087c98
* Switching NaCl IRT to be built inside the chrome build.bradnelson@google.com2011-08-231-205/+0
| | | | | | | | | | | | | | | | | | | | Third attempt: Switching IRT to be built inside the chrome build. Dropping the IRT download step from the DEPS. Step3 of a many step plan to switch where ppapi + irt are built. Dropping download_nacl_irt because we no longer rely on a prebuilt copy. Dropping irt download drop source tarball (assume people using it will have to download / build their own nacl toolchain). Old Review URL: http://codereview.chromium.org/7669058 R=noelallen@google.com BUG=http://code.google.com/p/chromium/issues/detail?id=93520 TEST=None Review URL: http://codereview.chromium.org/7685042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97943 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using .pak files for locale data on Windows.tony@chromium.org2011-08-231-2/+0
| | | | | | | | | | | | | | | We were using .dlls, but the .pak files are smaller and this will allow us to share more code across platforms. - Remove app/locales.gyp (used on win to generate the locale dlls) and references to it in other gyp(i) files. - Update various packaging scripts. - Move functions from resource_bundle_posix.cc to resource_bundle.cc (LoadResourcesDataPak, UnloadLocaleResources, GetLocalizedString, LoadLocaleResources) and delete the corresponding functions from resource_bundle_win.cc. BUG=92724 Review URL: http://codereview.chromium.org/7677004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97941 0039d316-1c4b-4281-b951-d872f2087c98
* Added flash plugin.bevc@google.com2011-08-231-1/+4
| | | | | | Review URL: http://codereview.chromium.org/7720013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97938 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: allow linking directly with Kerberos instead of using dlopen.phajdan.jr@chromium.org2011-08-231-4/+4
| | | | | | | | | | | dlopen is still the default for Google Chrome. This option is intended for Linux distro packagers. BUG=92689 Review URL: http://codereview.chromium.org/7655046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97925 0039d316-1c4b-4281-b951-d872f2087c98