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

1822 Коммитов

Автор SHA1 Сообщение Дата
ben@chromium.org 4381f95b49 Add Aura support to views:
- 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: http://src.chromium.org/svn/trunk/src/build@98234 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-25 15:39:58 +00:00
phajdan.jr@chromium.org 10058d5d91 Linux: allow linking directly with Kerberos instead of using 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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98116 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 21:19:20 +00:00
bradnelson@google.com b7a3cd24e1 Switching NaCl IRT to be built inside the chrome build.
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: http://src.chromium.org/svn/trunk/src/build@98106 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 20:41:16 +00:00
tony@chromium.org df1a9b513f Switch to using .pak files for locale data on 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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98103 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 20:22:46 +00:00
ben@chromium.org 7d47acb8ff Add support for GYP_DEFINES aura_wm=1 which also defines views_compositor=1.
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: http://src.chromium.org/svn/trunk/src/build@98086 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 19:03:35 +00:00
evan@chromium.org 4740dfb7ff linux: clean up include paths for local nss headers
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: http://src.chromium.org/svn/trunk/src/build@98071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 17:53:58 +00:00
mark@chromium.org 94f879ec90 Turn off PIE when building for Valgrind.
BUG=90221, 93551
TEST=Valgrind
Review URL: http://codereview.chromium.org/7724002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@98046 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 14:59:13 +00:00
dpolukhin@chromium.org c268c97483 Revert 97987 - Switching NaCl IRT to be built inside the chrome build.
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: http://src.chromium.org/svn/trunk/src/build@98030 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 13:03:43 +00:00
dpolukhin@chromium.org 7690518977 Revert 97925 - Linux: allow linking directly with Kerberos instead of using 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: http://src.chromium.org/svn/trunk/src/build@98028 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 12:38:19 +00:00
bradnelson@google.com 74a5316a25 Switching NaCl IRT to be built inside the chrome build.
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: http://src.chromium.org/svn/trunk/src/build@97987 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 04:03:49 +00:00
mark@chromium.org 33b38ff9ef Give plug-in processes an executable heap and disable PIE/ASLR for Native
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: http://src.chromium.org/svn/trunk/src/build@97984 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 03:33:36 +00:00
mattm@chromium.org 17caa18f1b Revert "Switch to using .pak files for locale data on Windows." (r97941)
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: http://src.chromium.org/svn/trunk/src/build@97968 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 01:36:40 +00:00
mattm@chromium.org 3860ca64c4 Revert 97955 - First pass on intents options UI.
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: http://src.chromium.org/svn/trunk/src/build@97966 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 01:11:41 +00:00
gbillock@chromium.org 77262bdbcd First pass on intents options UI.
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: http://src.chromium.org/svn/trunk/src/build@97955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-24 00:32:29 +00:00
tony@chromium.org 5547bbfa49 Revert 97943 - Switching NaCl IRT to be built inside the chrome build.
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: http://src.chromium.org/svn/trunk/src/build@97949 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-23 23:51:25 +00:00
bradnelson@google.com d3aef83f85 Switching NaCl IRT to be built inside the chrome build.
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: http://src.chromium.org/svn/trunk/src/build@97943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-23 22:36:30 +00:00
tony@chromium.org 4153d887b8 Switch to using .pak files for locale data on 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.

BUG=92724

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97941 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-23 22:31:37 +00:00
bevc@google.com 33f9fa46e9 Added flash plugin.
Review URL: http://codereview.chromium.org/7720013

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97938 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-23 22:27:35 +00:00
phajdan.jr@chromium.org 7fb7ab4781 Linux: allow linking directly with Kerberos instead of using 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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97925 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-23 21:46:30 +00:00
fta@sofaraway.org ed83affff3 Update translations using strings from launchpad.net r311
This includes a new lang: ms (Malay)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97771 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-22 23:27:16 +00:00
kerz@chromium.org aaf29e2504 Re-enable clang for official builders.
Revert 96424 - mac: Use gcc for official builds again until breakpad is sorted out.

BUG=91371
TEST=none

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97670 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-22 17:15:48 +00:00
evan@chromium.org 08d8809f1f Update sync protos to use the new shared protoc gyp rules
Just a refactoring.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97484 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-19 18:19:52 +00:00
evan@chromium.org 9ecc04a746 Unify gyp rules for running protoc.
- Add a protoc.gypi that can be gyp-included into any gyp file that
  wants to build .proto files.
- Convert two remoting gyp files to use this new protoc.gypi.

(Also fixes a bug in one of those remoting gyp files; a mistaken path
was causing it to always rebuild under Xcode.)

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97366 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 21:52:15 +00:00
scottmg@chromium.org 6c4c949804 restore OutputFile for chrome.exe, do moving hardlink on dll instead
Hardlink from different dir for chrome.exe caused annoyance when running from
Visual Studio because $(TargetPath) the default in the .user file is not the
correct path. So, instead do the hardlink on the dll. To avoid the possible
expense on non-NTFS, and to enable a trybot in the future, do this hardlink
based on a gyp define.

BUG=92528, 92685
TEST=No link problems


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97341 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 18:30:06 +00:00
bradnelson@google.com 2e8d790f0d Adding native client toolchain download to all chrome checkouts with nacl.
This will eventually allow ppapi_proxy + irt to be built along with chrome,
allow repository migration.

Step2 of ppapi repo migration.

BUG=None
TEST=None
R=noelallen@google.com,brettw@chromium.org

Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97242
Review URL: http://codereview.chromium.org/7670019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97260 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 01:27:41 +00:00
bradnelson@google.com 75bf109be6 Adding native client toolchain download to all chrome checkouts with nacl.
This will eventually allow ppapi_proxy + irt to be built along with chrome,
allow repository migration.

Step2 of ppapi repo migration.

BUG=None
TEST=None
R=noelallen@google.com,brettw@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97242 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-18 00:03:17 +00:00
flackr@chromium.org 1f30e34ba7 Use bookmark manager to add/edit bookmark pages with webui_dialogs=1.
This is the first phase towards being able to replace Bookmark Editor with the WebUI Bookmark Manager as part of the GTK removal effort on ChromeOS. It does not yet have a means of selecting a folder to bookmark all of your tabs in and as such can't yet replace all calls to BookmarkEditor::Show.

BUG=None
TEST=Tested editing bookmarks from the popup bubble and bookmark bar in Linux and TouchUI builds.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97186 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-17 19:51:35 +00:00
jeanluc@chromium.org 129599a43b Remove Purify and Quantify.Doing so will reduce substantially the size of the project files.
BUG=92102
Review URL: http://codereview.chromium.org/7528010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97156 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-17 17:41:02 +00:00
tony@chromium.org 4576b99919 Enable the packed_resources target on Windows.
This target generates the locale .pak files on Windows.  Since nothing
depends on this target, it doesn't build by default (they're not used
yet).

Specific changes:
- Have locale_settings_win.grd generate .pak files.
- Use pymod_do_main to avoid some shell escaping problems (and it's a bit
  faster).
- Rewrite repack_locales.py to work with pymod_do_main.

BUG=92724


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97012 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-16 20:43:27 +00:00
tzik@chromium.org 7129f96260 Add _GLIBCXX_DEBUG compilation mode.
BUG=86880
TEST=None


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@97001 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-16 19:06:22 +00:00
abeera@google.com 5c0ae2c2fa Virtual Cloud Print Driver for Mac.
Includes code for the driver itself. Also modifies the browser process as well as service process to register Apple Event handlers. Also changes the service process to allow registration of driver.

BUG=
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96825 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-15 20:56:17 +00:00
glotov@google.com 308be779d5 Adding GYP_DEFINES=ASAN to enable ASAN build
BUG=chromium-os:16717
TEST=manual yet

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-15 14:33:06 +00:00
nsylvain@chromium.org f72f972615 Add dbus_unittests to chromeos_builder
BUG=91871
Review URL: http://codereview.chromium.org/7649008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96732 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-14 18:36:55 +00:00
thakis@chromium.org c0433486ba cycle
BUG=none
TEST=none
TBR=rsleevi

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96708 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 21:21:28 +00:00
rsleevi@chromium.org 20a5a00fe1 Whitespace to force Mac Clobber
BUG=none
TEST=none
TBR=thakis

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96705 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 19:40:53 +00:00
jschuh@chromium.org 651dcd7c49 Revert 96592 - Add scroll and gesture message filters for UIPI Flash.
Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. 

One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). 

BUG=86810
TEST=None.
Review URL: http://codereview.chromium.org/7617019

TBR=jschuh@chromium.org
Review URL: http://codereview.chromium.org/7648011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96661 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 02:19:25 +00:00
georgey@chromium.org f44688a801 Force bots to re-run
TEST=none
BUG=none

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96660 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 02:11:58 +00:00
pkasting@chromium.org c2babc27d3 Lower PSAPI_VERSION to 1 to try to get Chrome launching again on < Windows 7 after r96592.
BUG=none
TEST=Launches on XP/Vista
TBR=georgey
Review URL: http://codereview.chromium.org/7633044

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96657 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-13 00:52:28 +00:00
jschuh@chromium.org 256c45adc7 Add scroll and gesture message filters for UIPI Flash.
Flash forwards some window messages when it has no handler set. The only ones I've observed are WM_MOUSEWHEEL and WM_GESTURE (gestures are supported only on Win7). So, we need to allow these messages through the UIPI boundary. 

One important note is that I use per-process message filters on Vista, but per-window filters on Win7 or later (because they're supported). 

BUG=86810
TEST=None.
Review URL: http://codereview.chromium.org/7617019

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96592 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-12 19:12:44 +00:00
mseaborn@chromium.org 0a470a76cb Breakpad: Ensure crash_service64.exe gets built on Buildbot
Add crash_service64.exe in places where crash_service.exe is depended
upon, otherwise it doesn't get built on Buildbot.

Declaring run-time dependencies via Gyp dependencies is a hack:
creating test_support_ui.a doesn't depend on crash_service.exe being
present.  But it seems to be the usual practice to sprinkle run-time
dependencies in Gyp dependencies until the desired effect is achieved.

BUG=89730
TEST=trybots

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96479 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 22:54:41 +00:00
dnicoara@chromium.org 2ca356e3af Adding Wayland message loop and gyp build deps
This CL depends on http://codereview.chromium.org/7457023

BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 18:20:22 +00:00
thakis@chromium.org 7e43328ae7 mac: Use gcc for official builds again until breakpad is sorted out.
BUG=91371
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96424 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 18:10:05 +00:00
mnissler@chromium.org afe0f1f3a2 Revert 95907 - 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/7550002

TBR=pkasting@chromium.org
Review URL: http://codereview.chromium.org/7623015

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96391 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 14:53:53 +00:00
jochen@chromium.org e4a599d898 Make the "All" target depend on content
BUG=90443
TEST=none

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96354 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 10:14:48 +00:00
jochen@chromium.org 8add92975e Whitespace change to trigger build
git-svn-id: http://src.chromium.org/svn/trunk/src/build@96338 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 08:03:00 +00:00
mark@chromium.org f4baa7662f Disable data page (heap) execution when running on Mac OS X 10.7 ("Lion").
BUG=91990
TEST=otool -h Whatever.app/Contents/MacOS/Whatever should show the 0x1000000
     bit set in the |flags| column
Review URL: http://codereview.chromium.org/7608027

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96288 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 01:12:10 +00:00
thakis@chromium.org 744f380c93 Don't make clang plugins stuff dependent on _toolset=target either.
Follow-up to http://codereview.chromium.org/7606012

BUG=none
TEST=nothing changes


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96272 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 00:16:26 +00:00
jochen@chromium.org eedec67964 Add content_unittests to builders in all.gyp
BUG=90443
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96263 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-11 00:04:11 +00:00
maruel@chromium.org 071a9b6931 Sort dependencies.
No functional change.

R=cmp@chromium.org
BUG=
TEST=


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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@96254 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-10 23:33:42 +00:00
cmp@chromium.org cfda338c48 Whitespace change.
git-svn-id: http://src.chromium.org/svn/trunk/src/build@96222 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2011-08-10 21:55:49 +00:00