Remove unused files

This commit is contained in:
Kevin Sawicki 2017-05-09 12:57:02 -07:00
parent 572244272c
commit dde21e7657
7 changed files with 0 additions and 163 deletions

View file

@ -1,8 +0,0 @@
# Defines the Chromium style for automatic reformatting.
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
BasedOnStyle: Chromium
# This defaults to 'Auto'. Explicitly set it for a while, so that
# 'vector<vector<int> >' in existing files gets formatted to
# 'vector<vector<int>>'. ('Auto' means that clang-format will only use
# 'int>>' if the file already contains at least one such instance.)
Standard: Cpp11

View file

@ -1,18 +0,0 @@
notifications:
email: false
language: node_js
node_js:
- "6"
os:
- linux
- osx
env:
- TARGET_ARCH=x64
osx_image: xcode7.3
script: './script/cibuild'
branches:
only:
- master

View file

@ -1 +0,0 @@
filter=-build/header_guard,-build/include_what_you_use,-legal/copyright,-runtime/references

View file

@ -1,42 +0,0 @@
# Brightray
Brightray is a static library that makes
[libchromiumcontent](https://github.com/electron/libchromiumcontent) easier to
use in applications.
## Using it in your app
See [electron](https://github.com/electron/electron) for example of an
application written using Brightray.
## Development
### Prerequisites
* Python 2.7
* Linux:
* Clang 3.0
* Mac:
* Xcode
* Windows:
* Visual Studio 2010 SP1
### One-time setup
You must previously have built and uploaded libchromiumcontent using its
`script/upload` script.
$ script/bootstrap http://base.url.com/used/by/script/upload
### Building
$ script/build
Building Brightray on its own isnt all that interesting, since its just a
static library. Building it into an application is the only way to test it.
## License
In general, everything is covered by the [`LICENSE`](LICENSE) file. Some files
specify at the top that they are covered by the
[`LICENSE-CHROMIUM`](LICENSE-CHROMIUM) file instead.

View file

@ -1,25 +0,0 @@
version: "{build}"
clone_depth: 10
os: Visual Studio 2015
init:
- git config --global core.autocrlf input
platform:
- x64
install:
- cmd: SET PATH=C:\Program Files (x86)\MSBuild\14.0\bin\;%PATH%
- cmd: SET PATH=C:\python27;%PATH%
- cmd: git submodule update --init --recursive
- cmd: bash script/cibuild
branches:
only:
- master
# disable build and test phases
build: off
test: off

View file

@ -1,29 +0,0 @@
#!/usr/bin/env bash
set -ex
script/cpplint
# Make cloned repository complete
git fetch --unshallow origin HEAD
# Clone Electron
git clone https://github.com/electron/electron --depth 1 --recursive
# Checkout current brightray commit into Electron
cd electron/vendor/brightray
git fetch ../../..
git reset --hard FETCH_HEAD
# Commit change
cd ../..
git add vendor/brightray
git config --local user.email "test@github.com"
git config --local user.name "Test"
git commit --message 'Upgrading brightray'
# Bootstrap Electron
npm run bootstrap -- --dev
# Build Electron with brightray commit
npm run build

View file

@ -1,40 +0,0 @@
#!/usr/bin/env python
import fnmatch
import os
import subprocess
import sys
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
CPPLINT = os.path.join(SOURCE_ROOT, 'vendor', 'libchromiumcontent', 'vendor', 'depot_tools', 'cpplint.py')
IGNORED_FILES = [
os.path.join('browser', 'mac', 'bry_inspectable_web_contents_view.h'),
os.path.join('browser', 'mac', 'event_dispatching_window.h'),
os.path.join('browser', 'mac', 'notification_center_delegate.h'),
]
def main():
os.chdir(SOURCE_ROOT)
files = list_files(['browser', 'common'],
['*.cc', '*.h'])
return cpplint(set(files) - set(IGNORED_FILES))
def list_files(directories, filters):
matches = []
for directory in directories:
for root, _, filenames, in os.walk(directory):
for f in filters:
for filename in fnmatch.filter(filenames, f):
matches.append(os.path.join(root, filename))
return matches
def cpplint(files):
return subprocess.call([sys.executable, CPPLINT] + list(files))
if __name__ == '__main__':
sys.exit(main())