Skip to content

Commit 58d6df9

Browse files
committed
Init from upstream 78751ab2bd2918cdbe4d849412463351088d2e90
0 parents  commit 58d6df9

File tree

2,750 files changed

+653953
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,750 files changed

+653953
-0
lines changed

.gitignore

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# This is a standard .gitignore file, used to exclude certain files
2+
# from a 'git status' command and other similar commands.
3+
# Please keep each section in alphabetical order.
4+
5+
# Ignore these filename patterns
6+
*~
7+
*.pyc
8+
*.pyo
9+
*.swp
10+
testserver.log
11+
12+
# Ignore these directories wherever they appear
13+
.cproject/
14+
.project/
15+
.pydevproject/
16+
.settings/
17+
18+
# toolchain_build/toolchain_build.py creates these.
19+
/cmake-*
20+
/cmake343/
21+
/toolchain_build/cache/
22+
/toolchain_build/git_cache/
23+
/toolchain_build/out/
24+
/toolchain_build/src/
25+
26+
# Ignore these absolute directories (relative to native_client directory)
27+
/build/Debug/
28+
/build/Release/
29+
/chromebinaries/
30+
/scons-out/
31+
/toolchain/
32+
/tools/BUILD/
33+
/tools/out/
34+
/tools/perf_expectations/
35+
/tools/SRC/
36+
/tools/gn/bin/linux
37+
/tools/gn/bin/mac
38+
/tools/gn/bin/win
39+
40+
# These directories only show up if you have supplement.DEPS in your .gclient
41+
/private_tests/
42+
/private_tools/
43+
/supplement/
44+
45+
# These directories are created by running tests/spec2k/run_all.sh
46+
/tests/spec2k/bin/
47+
/tests/spec2k/[0-9][0-9][0-9].*/
48+
49+
# These directories are created by pnacl/build.sh
50+
/pnacl/build/
51+
52+
# Ignore the hermetic cygwin used on windows toolchain builds.
53+
/cygwin/

.gn

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright (c) 2014 The Native Client Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# This file is used by the experimental meta-buildsystem in native_client to
6+
# find the root of the source tree and to set startup options.
7+
8+
# The location of the top of the build (BUILD.gn).
9+
root = "//native_client"
10+
11+
# The location of the build configuration file.
12+
buildconfig = "//build/config/BUILDCONFIG.gn"
13+
14+
# The python interpreter to use by default. On Windows, this will look
15+
# for python3.exe and python3.bat.
16+
script_executable = "python3"
17+
18+
# The secondary source root is a parallel directory tree where
19+
# GN build files are placed when they can not be placed directly
20+
# in the source tree, e.g. for third party source trees.
21+
secondary_source = "//build/secondary/"
22+
23+
default_args = {
24+
use_custom_libcxx = false
25+
}

.vpython

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# This is a vpython "spec" file.
2+
#
3+
# It describes patterns for python wheel dependencies of the python scripts in
4+
# the chromium repo, particularly for dependencies that have compiled components
5+
# (since pure-python dependencies can be easily vendored into third_party).
6+
#
7+
# When vpython is invoked, it finds this file and builds a python VirtualEnv,
8+
# containing all of the dependencies described in this file, fetching them from
9+
# CIPD (the "Chrome Infrastructure Package Deployer" service). Unlike `pip`,
10+
# this never requires the end-user machine to have a working python extension
11+
# compilation environment. All of these packages are built using:
12+
# https://chromium.googlesource.com/infra/infra/+/master/infra/tools/dockerbuild/
13+
#
14+
# All python scripts in the repo share this same spec, to avoid dependency
15+
# fragmentation.
16+
#
17+
# If you have depot_tools installed in your $PATH, you can invoke python scripts
18+
# in this repo by running them as you normally would run them, except
19+
# substituting `vpython` instead of `python` on the command line, e.g.:
20+
# vpython path/to/script.py some --arguments
21+
#
22+
# Read more about `vpython` and how to modify this file here:
23+
# https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md
24+
25+
python_version: "3.8"
26+
27+
28+
# Used by results_dashboard.py
29+
wheel: <
30+
name: "infra/python/wheels/httplib2-py2_py3"
31+
version: "version:0.10.3"
32+
>
33+
34+
# Used by Scons
35+
wheel: <
36+
name: "infra/python/wheels/pywin32/${vpython_platform}"
37+
version: "version:300"
38+
match_tag: <
39+
platform: "win32"
40+
>
41+
match_tag: <
42+
platform: "win_amd64"
43+
>
44+
>
45+
46+
# Used by validator proofs
47+
wheel: <
48+
name: "infra/python/wheels/lxml/${vpython_platform}"
49+
version: "version:4.6.3"
50+
>

.vpython3

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# This is a vpython3 "spec" file.
2+
#
3+
# It describes patterns for python wheel dependencies of the python scripts in
4+
# the chromium repo, particularly for dependencies that have compiled components
5+
# (since pure-python dependencies can be easily vendored into third_party).
6+
#
7+
# When vpython3 is invoked, it finds this file and builds a python VirtualEnv,
8+
# containing all of the dependencies described in this file, fetching them from
9+
# CIPD (the "Chrome Infrastructure Package Deployer" service). Unlike `pip`,
10+
# this never requires the end-user machine to have a working python extension
11+
# compilation environment. All of these packages are built using:
12+
# https://chromium.googlesource.com/infra/infra/+/master/infra/tools/dockerbuild/
13+
#
14+
# All python scripts in the repo share this same spec, to avoid dependency
15+
# fragmentation.
16+
#
17+
# If you have depot_tools installed in your $PATH, you can invoke python scripts
18+
# in this repo by running them as you normally would run them, except
19+
# substituting `vpython3` instead of `python` on the command line, e.g.:
20+
# vpython3 path/to/script.py some --arguments
21+
#
22+
# Read more about `vpython3` and how to modify this file here:
23+
# https://chromium.googlesource.com/infra/infra/+/master/doc/users/vpython.md
24+
25+
python_version: "3.8"
26+
27+
28+
# Used by results_dashboard.py
29+
wheel: <
30+
name: "infra/python/wheels/httplib2-py2_py3"
31+
version: "version:0.10.3"
32+
>
33+
34+
# Used by Scons
35+
wheel: <
36+
name: "infra/python/wheels/pywin32/${vpython_platform}"
37+
version: "version:300"
38+
match_tag: <
39+
platform: "win32"
40+
>
41+
match_tag: <
42+
platform: "win_amd64"
43+
>
44+
>
45+
46+
# Used by validator proofs
47+
wheel: <
48+
name: "infra/python/wheels/lxml/${vpython_platform}"
49+
version: "version:4.6.3"
50+
>

AUTHORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Below is a list of people and organizations that have contributed source
2+
# code to the Native Client project. Names should be added to the list
3+
# like this:
4+
#
5+
# Name/Organization <email address>
6+
7+
Google Inc.
8+
9+
Mark Seaborn <[email protected]>
10+
Martijn Croonen <[email protected]>

BUILD.gn

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright (c) 2014 The Native Client Authors. All rights reserved.
2+
# Use of this source code is governed by a BSD-style license that can be
3+
# found in the LICENSE file.
4+
5+
# This is the root build file for GN. GN will start processing by loading this
6+
# file, and recursively load all dependencies until all dependencies are either
7+
# resolved or known not to exist (which will cause the build to fail). So if
8+
# you add a new build file, there must be some path of dependencies from this
9+
# file to your new one or GN won't know about it.
10+
#
11+
# All targets in this file file are built by default.
12+
#
13+
# Here we declare the meta targets which pull in the various architecture
14+
# combinations of the real targets.
15+
#
16+
17+
import("config.gni")
18+
19+
group("trusted") {
20+
deps = [
21+
"//native_client/src:trusted_targets",
22+
]
23+
}
24+
25+
#
26+
# This is the root untrusted target which will build all trusted components
27+
#
28+
group("untrusted") {
29+
deps = [
30+
"//native_client/src/:irt_targets($toolchain_irt)",
31+
"//native_client/src/:untrusted_targets($toolchain_untrusted)",
32+
]
33+
}

COPYING

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Copyright 2008, Google Inc.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions are
6+
met:
7+
8+
* Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
* Redistributions in binary form must reproduce the above
11+
copyright notice, this list of conditions and the following disclaimer
12+
in the documentation and/or other materials provided with the
13+
distribution.
14+
* Neither the name of Google Inc. nor the names of its
15+
contributors may be used to endorse or promote products derived from
16+
this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)