Git Product home page Git Product logo

pombreda / chromeer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eth-sri/chromeer

0.0 2.0 0.0 2.48 GB

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.03% Python 2.60% C++ 74.29% C 1.36% Java 2.52% HTML 9.32% JavaScript 6.22% Shell 0.16% Objective-C++ 2.50% nesC 0.01% Objective-C 0.40% Protocol Buffer 0.14% CSS 0.31% AppleScript 0.01% PHP 0.03% Perl 0.02% PLpgSQL 0.08% Arduino 0.01% Standard ML 0.01% XSLT 0.01%

chromeer's Introduction

Getting the source and building Chromium/ER

  1. Install depot_tools as described here:

    http://dev.chromium.org/developers/how-tos/install-depot-tools

  2. Create a Chromium working directory, e.g.

    mkdir ~/chromium

  3. Clone this GitHub repository with the following command:

    cd ~/chromium; git clone https://github.com/eth-srl/ChromeER.git src

    Note that the repository is cloned in the src subdirectory. By default this command will checkout the srl branch.

  4. Create a file named .gclient in the chromium directory (above src), with the following content:
    solutions = [{
    u'managed': False,
    u'name': u'src',
    u'url': u'https://github.com/eth-srl/ChromeER.git',
    u'custom_deps': {},
    u'deps_file': u'.DEPS.git',
    }]
    target_os = ['all']

  5. (GNU/Linux only) From the src directory run:

    build/install-build-deps.sh

    If the above does not work directly (sometimes it asks to install mingw packages on Linux), then an alternative command is:

    build/install-build-deps.sh --no-nacl

  6. From the src directory run:

    gclient sync

  7. Checkout the srl branch for V8 and BlinkER to get the latest changes

    cd ~/chromium/src/v8; git checkout srl

    cd ~/chromium/src/third_party/WebKit; git checkout srl

  8. Build Chromium with:

    cd ~/chromium/src/out/Debug; ninja chrome

  9. To run without sandbox on, type:

    ./chrome --no-sandbox

    Otherwise, to build with sandbox, follow:

    https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment

  10. For more information, consult the developer pages at http://chromium.org

Some notes about debugging on GNU/Linux

  1. On some systems (e.g. Ubuntu) it may be necessary to give the user the necessaty prtace permissions. Do this with the command:

    echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

  2. On the srl branch, the build is modified not to tell gold to create .gdb_index section. Instead use build/gdb-add-index. Thus we ensure the gdb can understand and use the .gdb_index section format.

Misc notes

  1. The SRL modifications are based on the lkgr branch, which is occasionally merged into the srl branch. The tag srl-base is updated to point to the last merged revision on the lkgr branch, thus git diff srl-base srl will show the EventRacer related changes to the original sources.

chromeer's People

Contributors

zetafunction avatar leizleiz avatar tfarina avatar danbeam avatar jmuk avatar mitoshima avatar sgraham avatar hirono-chromium avatar pkotwicz avatar rdcronin avatar danakj avatar

Watchers

James Cloos avatar Philippe Ombredanne avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.