Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
abarth committed Aug 9, 2016
0 parents commit af5d72a
Show file tree
Hide file tree
Showing 3,629 changed files with 1,164,150 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 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
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## This page intentionally left blank. ##
#
# Workaround for VS2013 automatically creating .gitattributes files with
# default settings that we don't want.
# See also:
# http://connect.microsoft.com/VisualStudio/feedback/details/804948/inappropriately-creates-gitattributes-file
# http://crbug.com/342064
74 changes: 74 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# commonly generated files
*.pyc
*~
.*.sw?
.DS_Store
.classpath
.cproject
.gdb_history
.checkstyle
.gdbinit
.landmines
.packages
.project
.pub
.pydevproject
cscope.*
Session.vim
tags
Thumbs.db
/build/util/LASTCHANGE*
.idea

# directories pulled in via deps or hooks
/base/
/build/linux/bin/eu-strip
/buildtools/
/dart/
/lib/
/mojo/devtools/
/mojo/public/
/native_client/
/out/
/out_*/
/sdch/open-vcdiff/
/testing/gmock/
/testing/gtest/
/third_party/android_tools/
/third_party/angle/
/third_party/appurify-python/
/third_party/boringssl/src/
/third_party/colorama/src/
/third_party/dart-sdk/
/third_party/dejavu-fonts-ttf-2.34/ttf/*.ttf
/third_party/freetype-android/src
/third_party/go/tool/
/third_party/gtest/
/third_party/icu/
/third_party/jsr-305/src/
/third_party/libc++/trunk/
/third_party/libc++abi/trunk/
/third_party/libjpeg_turbo/
/third_party/llvm/
/third_party/llvm-build/
/third_party/junit/src/
/third_party/mockito/src/
/third_party/pdfium/
/third_party/pywebsocket/src/
/third_party/requests/src/
/third_party/robolectric/lib/
/third_party/skia/
/third_party/yasm/binaries/
/third_party/yasm/source/patched-yasm/
/tools/grit/

# dart packages directories and related.
/examples/**/packages
/examples/**/pubspec.lock
/mojo/common/dart/packages
/sky/packages/**/packages
/sky/packages/sky_services/lib/
/sky/tools/pubspec_maintenance/packages/
/sky/tools/pubspec_maintenance/pubspec.lock
/mojo/dart/packages/**/packages/
/mojo/dart/packages/**/pubspec.lock
22 changes: 22 additions & 0 deletions .gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is used by the experimental meta-buildsystem in src/tools/gn to
# find the root of the source tree and to set startup options.

# The location of the build configuration file.
buildconfig = "//build/config/BUILDCONFIG.gn"

# The secondary source root is a parallel directory tree where
# GN build files are placed when they can not be placed directly
# in the source tree, e.g. for third party source trees.
secondary_source = "//build/secondary/"

# The set of targets known to pass 'gn check'. When all targets pass, remove
# this.
check_targets = [
"//dart/*",
"//flow/*",
"//flutter/*",
"//glue/*",
"//mojo/*",
"//skia/*",
"//sky/*",
]
7 changes: 7 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Below is a list of people and organizations that have contributed
# to the Sky project. Names should be added to the list like so:
#
# Name/Organization <email address>

Google Inc.
Jim Simon <jim.j.simon@gmail.com>
26 changes: 26 additions & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# This target will be built if no target is specified when invoking ninja.
group("default") {
testonly = true
deps = [
"//sky",
]

if (is_ios) {
deps += [
"//sky/services/dynamic:sdk_lib_archive",
"//sky/shell:flutter_framework",
]
}
}

group("dist") {
testonly = true

deps = [
"//sky/dist",
]
}
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Copyright 2014 The Chromium Authors. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5 changes: 5 additions & 0 deletions build/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cjhopman@chromium.org
dpranke@chromium.org
jochen@chromium.org
scottmg@chromium.org
thakis@chromium.org
16 changes: 16 additions & 0 deletions build/PRESUBMIT.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.


def _RunTests(input_api, output_api):
return (input_api.canned_checks.RunUnitTestsInDirectory(
input_api, output_api, '.', whitelist=[r'.+_test.py$']))


def CheckChangeOnUpload(input_api, output_api):
return _RunTests(input_api, output_api)


def CheckChangeOnCommit(input_api, output_api):
return _RunTests(input_api, output_api)
15 changes: 15 additions & 0 deletions build/README.chromium
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
List of property sheets to be included by projects:
common.vsprops
Not used anymore. No-op. Kept for compatibility with current projects.

debug.vsprops
Enables debug settings. Must be included directly in Debug configuration. Includes internal\essential.vsprops.

external_code.vsprops
Contains settings made to simplify usage of external (non-Google) code. It relaxes the warning levels. Should be included after debug.vsprops or release.vsprops to override their settings.

output_dll_copy.rules
Run to enable automatic copy of DLL when they are as an input file in a vcproj project.

release.vsprops
Enables release settings. Must be included directly in Release configuration. Includes internal\essential.vsprops. Also includes "internal\release_impl$(CHROME_BUILD_TYPE).vsprops". So the behavior is dependant on the CHROME_BUILD_TYPE environment variable.
Loading

0 comments on commit af5d72a

Please sign in to comment.