Archive

Archive for January, 2016

Chromium Bluetooth Error

January 28th, 2016 No comments

FAILED: ninja -t msvc -e environment.x86 — “C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\amd64_x86\cl.exe” /nologo /showIncludes /FC @obj\device\ bluetooth\device_bluetooth.bluetooth_init_win.obj.rsp /c ..\..\device\bluetooth\bluetooth_init_win.cc /Foobj\device\bluetooth\device_bluetooth.bluetooth_init_win.obj /Fdobj\device\bluetooth\device_bluetooth.cc.pdb
c:\chrome\src\device\bluetooth\bluetooth_init_win.cc(34) : error C3861: ‘__HrLoadAllImportsForDll’: identifier not found

If you get the following error do this:

bool HasBluetoothStack() {
static enum {
HBS_UNKNOWN,
HBS_YES,
HBS_NO,
} has_bluetooth_stack = HBS_UNKNOWN;
/*
if (has_bluetooth_stack == HBS_UNKNOWN) {
base::ThreadRestrictions::AssertIOAllowed();
HRESULT hr = E_FAIL;
__try {
hr = __HrLoadAllImportsForDll("bthprops.cpl");
} __except(FilterVisualCPPExceptions(::GetExceptionCode())) {
hr = E_FAIL;
}
has_bluetooth_stack = SUCCEEDED(hr) ? HBS_YES : HBS_NO;
}*/
has_bluetooth_stack = HBS_NO;

return has_bluetooth_stack == HBS_YES;
}

} // namespace bluetooth_init_win
} // namespace device

Categories: Uncategorized Tags:

Chromium Compiler Errors

January 27th, 2016 No comments

If you are compiling with VS2013 you might run into this error:

FAILED: C:\…\python.exe gyp-win-tool action-wrapper environment.x86 copy_compiler_dll_target_copy_dll_a30e198148542d4bce19a5c818c6884f..rsp ..\..\third_party\angle\src

To fix this copy

Copy: C:\Program Files (x86)\Windows Kits\8.1\Redist\D3D
to
C:\Program Files (x86)\Windows Kits\10\redist

Categories: Uncategorized Tags:

How to add search engines to chromium code

January 10th, 2016 No comments

modify

./components/search_engines/prepopulated_engines.json

add the engine you want

This file is used to generate a struct.

modify this to include it as a default for a specific country.
./components/search_engines/template_url_prepopulate_data.cc

Categories: Uncategorized Tags: