Skip to content

Commit d9946cd

Browse files
authored
Fix copyright notices in all files. (#506)
Uses the base git log year for the copyright year.
1 parent 5f5b9f0 commit d9946cd

File tree

270 files changed

+540
-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.

270 files changed

+540
-0
lines changed

build_scripts/android/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2020 Google LLC
4+
35
buildpath=$1
46
sourcepath=$2
57
stl=$3

build_scripts/android/install_prereqs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2020 Google LLC
4+
35
if [[ $(uname) == "Darwin" ]]; then
46
platform=darwin
57
if [[ ! -z "${GHA_INSTALL_CCACHE}" ]]; then

build_scripts/android/package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2020 Google LLC
4+
35
readonly -a allowed_stl_variants=("c++" "gnustl")
46
builtpath=$1
57
packagepath=$2

build_scripts/desktop/finish_darwin.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
3+
# Copyright 2020 Google LLC
24
#
35
# Script to finish packaging individual iOS/Mac libraries into
46
# universal libraries, and then into frameworks.

build_scripts/desktop/get_variant.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
3+
# Copyright 2020 Google LLC
24
set -e
35

46
# Given a filename on the command-line, figure out what variant it should be packaged into.

build_scripts/desktop/package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
3+
# Copyright 2020 Google LLC
24
#
35
# Script to package desktop SDK
46
set -e

build_scripts/ios/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash -e
2+
3+
# Copyright 2020 Google LLC
24
#
35
# Script to build iOS XCFrameworks
46
# If built for all architectures (arm64 armv7 x86_64 i386),

build_scripts/ios/install_prereqs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2020 Google LLC
4+
35
if [[ $(uname) != "Darwin" ]]; then
46
echo "Unsupported platform, iOS can only be build on a MacOS machine."
57
exit 1

build_scripts/ios/package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2020 Google LLC
4+
35
builtpath=$1
46
packagepath=$2
57

build_scripts/other/package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2020 Google LLC
4+
35
sdkpath=$1
46
packagepath=$2
57

build_scripts/tvos/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash -e
2+
3+
# Copyright 2021 Google LLC
24
#
35
# Script to build iOS XCFrameworks
46
# If built for all architectures (arm64 x86_64),

build_scripts/tvos/install_prereqs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash -e
22

3+
# Copyright 2021 Google LLC
4+
35
if [[ $(uname) != "Darwin" ]]; then
46
echo "Unsupported platform, tvOS can only be build on a MacOS machine."
57
exit 1

build_scripts/tvos/package.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash -e
2+
3+
# Copyright 2021 Google LLC
24
#
35
# Script to package tvOS SDK.
46
#

firestore/generate_android_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/grte/v4/bin/python2.7
2+
3+
# Copyright 2020 Google LLC
24
"""Generate JUnit4 tests from gtest files.
35
46
This script reads a template and fills in test-specific information such as .so

firestore/integration_test_emulator.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
# Copyright 2020 Google LLC
4+
35
source googletest.sh || exit 1
46

57
# Copied from `googletest.sh`. The only difference is the original uses an

firestore/integration_test_internal/src/android/cancellation_token_source.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "android/cancellation_token_source.h"
24

35
#include "firestore/src/jni/env.h"

firestore/integration_test_internal/src/android/cancellation_token_source.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#ifndef FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_ANDROID_CANCELLATION_TOKEN_SOURCE_H_
24
#define FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_ANDROID_CANCELLATION_TOKEN_SOURCE_H_
35

firestore/integration_test_internal/src/android/field_path_portable_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/field_path_portable.h"
24

35
#include "firestore/src/common/macros.h"

firestore/integration_test_internal/src/android/firestore_integration_test_android.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "android/firestore_integration_test_android.h"
24

35
#include "android/cancellation_token_source.h"

firestore/integration_test_internal/src/android/firestore_integration_test_android.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#ifndef FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_ANDROID_FIRESTORE_INTEGRATION_TEST_ANDROID_H_
24
#define FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_ANDROID_FIRESTORE_INTEGRATION_TEST_ANDROID_H_
35

firestore/integration_test_internal/src/android/firestore_integration_test_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "android/firestore_integration_test_android.h"
24

35
#include <string>

firestore/integration_test_internal/src/android/geo_point_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/geo_point_android.h"
24

35
#include "firebase/firestore/geo_point.h"

firestore/integration_test_internal/src/android/jni_runnable_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/jni_runnable_android.h"
24

35
#include "android/firestore_integration_test_android.h"

firestore/integration_test_internal/src/android/promise_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/promise_android.h"
24

35
#include <string>

firestore/integration_test_internal/src/android/settings_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/settings_android.h"
24

35
#include "firestore/src/include/firebase/firestore/settings.h"

firestore/integration_test_internal/src/android/snapshot_metadata_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/snapshot_metadata_android.h"
24

35
#include "android/firestore_integration_test_android.h"

firestore/integration_test_internal/src/android/task_completion_source.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "android/task_completion_source.h"
24

35
#include "firestore/src/jni/env.h"

firestore/integration_test_internal/src/android/task_completion_source.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#ifndef FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_ANDROID_TASK_COMPLETION_SOURCE_H_
24
#define FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_ANDROID_TASK_COMPLETION_SOURCE_H_
35

firestore/integration_test_internal/src/android/timestamp_android_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/android/timestamp_android.h"
24

35
#include "firebase/firestore/timestamp.h"

firestore/integration_test_internal/src/array_transform_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24
#include <vector>
35

firestore/integration_test_internal/src/bundle_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <future>
24
#include <string>
35
#include <vector>

firestore/integration_test_internal/src/cleanup_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "app/src/include/firebase/internal/common.h"
24
#include "firebase/firestore.h"
35
#include "firestore/src/common/futures.h"

firestore/integration_test_internal/src/collection_reference_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/cursor_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <string>
24
#include <vector>
35

firestore/integration_test_internal/src/document_change_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#if defined(__ANDROID__)
24
#include "firestore/src/android/document_change_android.h"
35
#endif // defined(__ANDROID__)

firestore/integration_test_internal/src/document_reference_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/document_snapshot_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/field_value_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/fields_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <cstdio>
24
#include <map>
35
#include <string>

firestore/integration_test_internal/src/firestore_integration_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore_integration_test.h"
24

35
#include <cstdlib>

firestore/integration_test_internal/src/firestore_integration_test.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#ifndef FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_FIRESTORE_INTEGRATION_TEST_H_
24
#define FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_FIRESTORE_INTEGRATION_TEST_H_
35

firestore/integration_test_internal/src/firestore_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firebase/firestore.h"
24

35
#include <algorithm>

firestore/integration_test_internal/src/includes_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <string>
24

35
#include "app_framework.h"

firestore/integration_test_internal/src/jni/declaration_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/jni/declaration.h"
24

35
#include "app/memory/unique_ptr.h"

firestore/integration_test_internal/src/jni/env_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/jni/env.h"
24

35
#include "Firestore/core/src/util/firestore_exceptions.h"

firestore/integration_test_internal/src/jni/object_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/jni/object.h"
24

35
#include <jni.h>

firestore/integration_test_internal/src/jni/ownership_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/jni/ownership.h"
24

35
#include <jni.h>

firestore/integration_test_internal/src/jni/task_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/jni/task.h"
24

35
#include "android/cancellation_token_source.h"

firestore/integration_test_internal/src/jni/traits_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firestore/src/jni/traits.h"
24

35
#include <jni.h>

firestore/integration_test_internal/src/listener_registration_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/numeric_transforms_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <string>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/query_network_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <cmath>
24
#include <utility>
35

firestore/integration_test_internal/src/query_snapshot_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/query_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <algorithm>
24
#include <cmath>
35
#include <stdexcept>

firestore/integration_test_internal/src/sanity_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
// This is a sanity test using gtest. The goal of this test is to make sure the
24
// way we setup Android C++ test harness actually works. We write test in a
35
// cross-platform way with gtest and run test with Android JUnit4 test runner

firestore/integration_test_internal/src/server_timestamp_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <cstdlib>
24
#include <string>
35
#include <vector>

firestore/integration_test_internal/src/smoke_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <map>
24

35
#include "firebase/firestore.h"

firestore/integration_test_internal/src/source_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <future>
24
#include <map>
35
#include <string>

firestore/integration_test_internal/src/transaction_extra_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "app/src/time.h"
24
#include "firebase/firestore.h"
35
#include "firebase/firestore/firestore_errors.h"

firestore/integration_test_internal/src/transaction_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include <utility>
24
#include <vector>
35

firestore/integration_test_internal/src/type_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#include "firebase/firestore.h"
24
#include "firestore_integration_test.h"
35

firestore/integration_test_internal/src/util/event_accumulator.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright 2021 Google LLC
2+
13
#ifndef FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_UTIL_EVENT_ACCUMULATOR_H_
24
#define FIREBASE_FIRESTORE_CLIENT_CPP_SRC_TESTS_UTIL_EVENT_ACCUMULATOR_H_
35

0 commit comments

Comments
 (0)