Skip to content

Commit a689711

Browse files
yungstersfacebook-github-bot
authored andcommitted
RN: Missing Copyright Headers
Summary: Adds copyright headers to all files that are missing them. Reviewed By: hramos Differential Revision: D12837494 fbshipit-source-id: 6330a18919676dec9ff2c03b7c9329ed9127d930
1 parent 5803772 commit a689711

File tree

101 files changed

+628
-71
lines changed

Some content is hidden

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

101 files changed

+628
-71
lines changed

ContainerShip/Dockerfile.android

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
# React Native Android Unit Tests
27
#
38
# This image builds upon the React Native Base Android Development Environment

ContainerShip/Dockerfile.android-base

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
# React Native Base Android Development Environment
27
#
38
# This image provides a base Android development environment for React Native,

ContainerShip/Dockerfile.javascript

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
FROM library/node:6.9.2
27

38
ENV YARN_VERSION=0.27.5

ContainerShip/scripts/run-android-docker-instrumentation-tests.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright (c) Facebook, Inc. and its affiliates.
4+
#
5+
# This source code is licensed under the MIT license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
#
28

39
# for buck gen
410
mount -o remount,exec /dev/shm

ContainerShip/scripts/run-android-docker-unit-tests.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright (c) Facebook, Inc. and its affiliates.
4+
#
5+
# This source code is licensed under the MIT license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
#
28

39
# set default environment variables
410
UNIT_TESTS_BUILD_THREADS="${UNIT_TESTS_BUILD_THREADS:-1}"

ContainerShip/scripts/run-ci-e2e-tests.sh

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
#!/bin/bash
2+
#
3+
# Copyright (c) Facebook, Inc. and its affiliates.
4+
#
5+
# This source code is licensed under the MIT license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
#
28

39
set -ex
410

ContainerShip/scripts/run-instrumentation-tests-via-adb-shell.sh

+7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
#!/bin/bash
2+
#
3+
# Copyright (c) Facebook, Inc. and its affiliates.
4+
#
5+
# This source code is licensed under the MIT license found in the
6+
# LICENSE file in the root directory of this source tree.
7+
#
8+
29
# shellcheck disable=SC1117
310
# Python script to run instrumentation tests, copied from https://github.com/circleci/circle-dummy-android
411
# Example: ./scripts/run-android-instrumentation-tests.sh com.facebook.react.tests com.facebook.react.tests.ReactPickerTestCase

Libraries/Animated/examples/style.css

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
html, h1, h2 {
29
font-family: 'Roboto', sans-serif;
310
font-weight: 300;

Libraries/Animated/src/__tests__/bezier-test.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
27
* BezierEasing - use bezier curve for transition easing function
38
* https://github.com/gre/bezier-easing
49
*

Libraries/Animated/src/bezier.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
27
* BezierEasing - use bezier curve for transition easing function
38
* https://github.com/gre/bezier-easing
49
*

Libraries/RCTTest/FBSnapshotTestCase/UIImage+Compare.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
//
27
// Created by Gabriel Handford on 3/1/09.
38
// Copyright 2009-2013. All rights reserved.

Libraries/RCTTest/FBSnapshotTestCase/UIImage+Compare.m

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
//
27
// Created by Gabriel Handford on 3/1/09.
38
// Copyright 2009-2013. All rights reserved.

Libraries/RCTTest/FBSnapshotTestCase/UIImage+Diff.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
//
27
// Created by Gabriel Handford on 3/1/09.
38
// Copyright 2009-2013. All rights reserved.

Libraries/RCTTest/FBSnapshotTestCase/UIImage+Diff.m

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
//
27
// Created by Gabriel Handford on 3/1/09.
38
// Copyright 2009-2013. All rights reserved.

Libraries/Sample/Sample.h

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
#import <React/RCTBridgeModule.h>
27

38
@interface Sample : NSObject <RCTBridgeModule>

Libraries/Sample/Sample.m

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
#import "Sample.h"
27

38
@implementation Sample

Libraries/vendor/core/merge.js

+3-26
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
11
/**
2-
* @generated SignedSource<<148d1974f94f5c9597e86f946bdf0d4e>>
3-
*
4-
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
* !! This file is a check-in of a static_upstream project! !!
6-
* !! !!
7-
* !! You should not modify this file directly. Instead: !!
8-
* !! 1) Use `fjs use-upstream` to temporarily replace this with !!
9-
* !! the latest version from upstream. !!
10-
* !! 2) Make your changes, test them, etc. !!
11-
* !! 3) Use `fjs push-upstream` to copy your changes back to !!
12-
* !! static_upstream. !!
13-
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14-
*
15-
* Copyright 2013-2014 Facebook, Inc.
16-
*
17-
* Licensed under the Apache License, Version 2.0 (the "License");
18-
* you may not use this file except in compliance with the License.
19-
* You may obtain a copy of the License at
20-
*
21-
* http://www.apache.org/licenses/LICENSE-2.0
22-
*
23-
* Unless required by applicable law or agreed to in writing, software
24-
* distributed under the License is distributed on an "AS IS" BASIS,
25-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26-
* See the License for the specific language governing permissions and
27-
* limitations under the License.
2+
* Copyright (c) Facebook, Inc. and its affiliates.
283
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
296
*/
307

318
"use strict";

Libraries/vendor/core/mergeInto.js

+3-27
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,8 @@
11
/**
2-
* @generated SignedSource<<f2a1f14b3c1d2b563e2a0619ef427c6d>>
2+
* Copyright (c) Facebook, Inc. and its affiliates.
33
*
4-
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5-
* !! This file is a check-in of a static_upstream project! !!
6-
* !! !!
7-
* !! You should not modify this file directly. Instead: !!
8-
* !! 1) Use `fjs use-upstream` to temporarily replace this with !!
9-
* !! the latest version from upstream. !!
10-
* !! 2) Make your changes, test them, etc. !!
11-
* !! 3) Use `fjs push-upstream` to copy your changes back to !!
12-
* !! static_upstream. !!
13-
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
14-
*
15-
* Copyright 2013-2014 Facebook, Inc.
16-
*
17-
* Licensed under the Apache License, Version 2.0 (the "License");
18-
* you may not use this file except in compliance with the License.
19-
* You may obtain a copy of the License at
20-
*
21-
* http://www.apache.org/licenses/LICENSE-2.0
22-
*
23-
* Unless required by applicable law or agreed to in writing, software
24-
* distributed under the License is distributed on an "AS IS" BASIS,
25-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
26-
* See the License for the specific language governing permissions and
27-
* limitations under the License.
28-
*
29-
* @typechecks static-only
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
306
*/
317

328
"use strict";

RNTester/android/app/build.gradle

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
apply plugin: 'com.android.application'
29

310
import com.android.build.OutputFile

RNTester/android/app/proguard-rules.pro

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
# Add project specific ProGuard rules here.
27
# By default, the flags in this file are appended to flags specified
38
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt

React/DevSupport/RCTInspectorDevServerHelper.mm

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
#import "RCTInspectorDevServerHelper.h"
27

38
#if RCT_DEV

React/Inspector/RCTInspector.mm

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
15

26
#import "RCTInspector.h"
37

React/Inspector/RCTInspectorPackagerConnection.m

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Copyright (c) Facebook, Inc. and its affiliates.
2+
//
3+
// This source code is licensed under the MIT license found in the
4+
// LICENSE file in the root directory of this source tree.
5+
16
#import "RCTInspectorPackagerConnection.h"
27

38
#if RCT_DEV

ReactAndroid/proguard-rules.pro

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
# Add project specific ProGuard rules here.
27
# By default, the flags in this file are appended to flags specified
38
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt

ReactAndroid/src/main/java/com/facebook/jni/fbjni.pro

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
# For common use cases for the hybrid pattern, keep symbols which may
27
# be referenced only from C++.
38

ReactAndroid/src/main/java/com/facebook/proguard/annotations/proguard_annotations.pro

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# This source code is licensed under the MIT license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
# Keep our interfaces so they can be used by other ProGuard rules.
27
# See http://sourceforge.net/p/proguard/bugs/466/
38
-keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip

ReactAndroid/src/main/java/com/facebook/react/ReactPackageHelper.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react;
29

310
import android.support.annotation.NonNull;

ReactAndroid/src/main/java/com/facebook/react/TurboReactPackage.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react;
29

310
import android.support.annotation.NonNull;

ReactAndroid/src/main/java/com/facebook/react/animated/SpringAnimation.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.animated;
29

310
import com.facebook.react.bridge.ReadableMap;

ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModule.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.bridge;
29

310
/**

ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleHolder.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.bridge;
29

310
public class JSIModuleHolder {

ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModulePackage.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.bridge;
29

310
import java.util.List;

ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleProvider.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.bridge;
29

310
public interface JSIModuleProvider<T extends JSIModule> {

ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleRegistry.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.bridge;
29

310
import com.facebook.infer.annotation.Assertions;

ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleSpec.java

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* Copyright (c) Facebook, Inc. and its affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
18
package com.facebook.react.bridge;
29

310
/**

0 commit comments

Comments
 (0)