Skip to content

Commit

Permalink
chore: update file header
Browse files Browse the repository at this point in the history
  • Loading branch information
halajohn committed Sep 17, 2024
1 parent 8ba6356 commit 25bdae8
Show file tree
Hide file tree
Showing 41 changed files with 164 additions and 123 deletions.
7 changes: 4 additions & 3 deletions .gnfiles/.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
buildconfig = "//.gnfiles/build/BUILDCONFIG.gn"
secondary_source = "//.gnfiles"
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/BUILDCONFIG.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
if (target_os == "") {
target_os = host_os
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/feature/apple.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
xcode_target_sdk = ""
xcode_target_platform = ""
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/feature/base_options.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
if (is_mac) {
import("//.gnfiles/build/feature/apple.gni")
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/feature/cpp/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
config("cxx_11_hack") {
include_dirs = [ "." ]
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/feature/cpp/memory
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//
// This file is part of the TEN Framework project.
// See https://github.com/TEN-framework/ten_framework/LICENSE for license
// information.
// Copyright © 2024 Agora
// This file is part of TEN Framework, an open source project.
// Licensed under the Apache License, Version 2.0, with certain conditions.
// Refer to the "LICENSE" file in the root directory for more information.
//
#pragma once // NOLINT(build/header_guard)

Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/feature/glob.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
all_native_files = [
"*.c",
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/feature/ten_package.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import("//.gnfiles/build/feature/base_options.gni")

Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/linux/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import("//.gnfiles/build/toolchain/gcc/gcc.gni")
import("feature.gni")
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/linux/feature.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
declare_args() {
linux_clang_stdlib = "c++"
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/mac/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import("//.gnfiles/build/feature/apple.gni")
import("//.gnfiles/build/toolchain/gcc/gcc.gni")
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/mac/base_rules.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
template("compile_plist") {
assert(defined(invoker.plist_templates),
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/mac/package_framework.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import argparse
import errno
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/mac/plist_util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import argparse
import plistlib
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/mac/prepare_framework_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import os
import shutil
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/mac/rules.gni
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import("//.gnfiles/build/platform/mac/base_rules.gni")

Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/platform/win/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import("//.gnfiles/build/toolchain/msvc/msvc.gni")

Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/cmd_exec.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import sys
import os
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/combine.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import os
import sys
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/copy_fs_entry.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import os
import argparse
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/fs_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import sys
import stat
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/get_cpu_count.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import multiprocessing
import sys
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/get_gcc_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import sys
import subprocess
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/get_ninja_path.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import os
import sys
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/get_src_and_dest_file.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import argparse
import json
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/get_used_ten_pkgs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import argparse
import json
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/glob_file.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import argparse
import os
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/log.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import logging

Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/setup_vs.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import os
import sys
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/thin_framework.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import sys
from build.scripts import cmd_exec
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/timestamp_proxy.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import os
from build.scripts import touch
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/touch.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import sys
import os
Expand Down
7 changes: 4 additions & 3 deletions .gnfiles/build/scripts/write_depfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# This file is part of the TEN Framework project.
# See https://github.com/TEN-framework/ten_framework/LICENSE for license
# information.
# Copyright © 2024 Agora
# This file is part of TEN Framework, an open source project.
# Licensed under the Apache License, Version 2.0, with certain conditions.
# Refer to the "LICENSE" file in the root directory for more information.
#
import argparse
import os
Expand Down
Loading

0 comments on commit 25bdae8

Please sign in to comment.