depot_tools | Clone of chromium depot_tools
kandi X-RAY | depot_tools Summary
kandi X-RAY | depot_tools Summary
This package contains tools for working with Chromium development.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of depot_tools
depot_tools Key Features
depot_tools Examples and Code Snippets
Community Discussions
Trending Discussions on depot_tools
QUESTION
I am running archlinux(arcolinux distro to be specific) everything is fine but one little tiny problem which annoys me the problem is every time i open a terminal this pops us at the top of the terminal
"Linux pengu 5.15.25-1-lts x86_64 unknown"
I know this is a uname command with custom flags however I don't have that in my config.fish(I use fish shell(I run fish with bash i), I am aware that every time I open a my fish shell the stuff in my config.fish run, is there anything I am missing or what? here is my config.fish:
{
...ANSWER
Answered 2022-Mar-01 at 19:17strace
can attach to a process using -p
:
QUESTION
I've been trying to use -v8_monolith in my make files but so far it's not working.
I gotten v8 code from google's depot-tools, then followed every tutorial on the web to try to compile the shared libs for v8. I'm assuming that the ninja compiler automatically puts the libs in to the arch lib folder, since no tutorial says to do anything with the files. As of rn, I get no errors from the ninja compiler.
Maybe I got to change something in the args.gn to push in to my libs folder. Possably it's trying to push to the wrong location. this is what it looks like:
...ANSWER
Answered 2022-Feb-22 at 12:50compile the shared libs for v8
In that case, you need is_component_build = true
. And then you'll have to drop v8_monolithic
, because that forces a static (i.e. non-shared) library. I don't think v8_static_library
matters, at least I've never used that.
For the record, we (V8 team) tend to recommend static linking, mostly because of the rate of change to V8's API: any time you update the shared library, you'll have to recompile all programs using it anyway, so there's not a lot of benefit to be had from it being a shared library (but some room for accidental breakage, which a statically linked build avoids).
puts the libs in to the arch lib folder
I don't know what you mean by "the arch lib folder"; libv8.so
will be in out.gn/x64.release/
(or whatever directory you pass to ninja -C
make install
-like target).
trying to use -v8_monolith in my make files
Once everything else is correct, that'll be -lv8 -lv8_libbase -lv8_libplatform
, and the corresponding library files will be called libv8.so
, libv8_libbase.so
, and libv8_libplatform.so
.
QUESTION
I'm trying to build v8 from source using a Dockerfile
:
ANSWER
Answered 2021-Dec-23 at 11:23The shell which is used by RUN is /bin/sh. /bin/sh
does not provide the source
command.
Try the .
-command instead of source
.
QUESTION
i try build v8 in the following steps:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
set PATH=C:\v8\depot_tools;%PATH%
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_MSVS_VERSION=2017
fetch v8 6 .cd v8
python tools\dev\v8gen.py x64.release
ninja -C out.gn\x64.release
my computer enviroment:
- Visual Studio 2017,community
- Windows SDK (15063)
- python 2.7
error:
...ANSWER
Answered 2021-Dec-07 at 12:25From the verbose output, you can see that the command C:/Users/moush/AppData/Local/Microsoft/WindowsApps/python3.exe E:/work_space/Technology_related/V88888/v8/build/vs_toolchain.py get_toolchain_dir
failed. You can try running that on its own to see if it reports any additional details, which might help you figure out what's wrong and how to fix it.
From the fact that "it failed" alone, I would guess that it somehow didn't detect your Visual Studio and/or Windows SDK installation. FWIW, the official instructions how to install VS are here (linked from the V8 docs). It looks like your SDK might simply be too old.
You can also try the convenience workflow based on tools/dev/gm.py
to see if that avoids this issue, but I'd guess that it will probably run into the same problem.
QUESTION
I would like to be able to create C++ classes and expose them into the V8 JavaScript engine. I'm using the v8pp library to do this, and by following their examples as well as the Google V8 Hello World Script, I have come to this code
main.cpp
fileTestClass1.h
- whose class I'd like to expose to JavaScriptCMakeList.txt
file - so you can see how I've linked V8 if this is important):
ANSWER
Answered 2021-Jun-25 at 11:31I found the issue: firstly, I had to move the line of code
QUESTION
I have almost finished building chromium from my windows desktop but I am stuck at the last step, running gn gen out/Default. I have checked my visual studio installer and Windows 10 SDK version 10.0.19041.0 has been already installed. I do not know what to do. The whole output is like the following:
...ANSWER
Answered 2021-Mar-22 at 23:55From the chromium docs:
The SDK Debugging Tools must also be installed. If the Windows 10 SDK was installed via the Visual Studio installer, then they can be installed by going to: Control Panel → Programs → Programs and Features → Select the “Windows Software Development Kit” → Change → Change → Check “Debugging Tools For Windows” → Change. Or, you can download the standalone SDK installer and use it to install the Debugging Tools.
QUESTION
i try to downwload chromium code . i'm currently at the command $ gn gen out/Default but its show me this error :
...ANSWER
Answered 2020-Oct-05 at 14:52You have not installed the debugging tools for Windows. It's quiet clear from this message
QUESTION
I've built the Chromium browser on my Windows from its source code (Github) by following this documentation. After doing this successfully, I've a chrome.exe file which is able to launch the browser (see screenshot).
The next thing I want to implement is to change the logo and name of Chromium (say, MyBrowser) everywhere on the browser. I'm stuck at this step. Is there any way to achieve this by modifying the code or replacing the icon?
...ANSWER
Answered 2020-Oct-03 at 06:32You will have to make lots of changes. Before replacing these files, please make sure the files that you are replacing with matches the resolution and format too.
If you want to change the logo of Chromium then replace these files with yours
QUESTION
I am trying to build WebRTC for Android on Ubuntu 16.04. I have followed the steps mentioned at: https://medium.com/@abdularis/how-to-compile-native-webrtc-from-source-for-android-d0bac8e4c933 ( I found similar steps in the other links also)
I checked out the version: branch-heads/m79
I am getting the following error while building the code with the command:
python tools_webrtc/android/build_aar.py
ANSWER
Answered 2020-Mar-11 at 12:33It can take a few attempts but running gclient sync
a few times worked for me.
It can take a very long time to get all of the files and if it is interrupted it won't retrieve them.
QUESTION
I'm using this link as reference (https://medium.com/angular-in-depth/how-to-build-v8-on-windows-and-not-go-mad-6347c69aacd4) to build v8 but i think its out of date or i'm doing something wrong. I can't run this (ninja -C out.gn/x64.release) command because its showing this error constantly
...ANSWER
Answered 2020-Mar-23 at 13:11if you are looking for the solution then follow this link (https://github.com/pmed/v8-nuget) for visual studio users, its working really well without all the hassle.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install depot_tools
You can use depot_tools like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page