build: update license headers to reference Google LLC (#37205)
Update the license headers throughout the repository to reference Google LLC rather than Google Inc, for the required license headers. PR Close #37205
This commit is contained in:

committed by
Matias Niemelä

parent
5aeb9a4124
commit
d1ea1f4c7f
@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
@ -197,24 +197,24 @@ describe('compiler (unbundled Angular)', () => {
|
||||
app: {
|
||||
'app.ts': `
|
||||
import {Injectable, NgModule} from '@angular/core';
|
||||
|
||||
|
||||
// This injectable is not provided. It is used as a base class for another
|
||||
// service but is not directly provided. It's allowed for such classes to
|
||||
// have a decorator applied as they use Angular features.
|
||||
@Injectable()
|
||||
export class ServiceBase {
|
||||
constructor(a: boolean) {}
|
||||
|
||||
|
||||
ngOnDestroy() {}
|
||||
}
|
||||
|
||||
|
||||
@Injectable()
|
||||
export class MyService extends ServiceBase {
|
||||
constructor() {
|
||||
super(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@NgModule({providers: [MyService]})
|
||||
export class AppModule {}
|
||||
`
|
||||
@ -238,7 +238,7 @@ describe('compiler (unbundled Angular)', () => {
|
||||
export class MyService {
|
||||
constructor(a: boolean) {}
|
||||
}
|
||||
|
||||
|
||||
@NgModule({
|
||||
providers: [MyService],
|
||||
})
|
||||
@ -539,7 +539,7 @@ describe('compiler (unbundled Angular)', () => {
|
||||
'base.ts': `
|
||||
export class AValue {}
|
||||
export type AType = {};
|
||||
|
||||
|
||||
export class AClass {
|
||||
constructor(a: AType, b: AValue) {}
|
||||
}
|
||||
@ -572,23 +572,23 @@ describe('compiler (unbundled Angular)', () => {
|
||||
'base.ts': `
|
||||
export class AClass {
|
||||
constructor(arg: any) {}
|
||||
|
||||
|
||||
static create(arg: any = null): AClass { return new AClass(arg); }
|
||||
|
||||
|
||||
call(arg: any) {}
|
||||
}
|
||||
|
||||
|
||||
export function simple(arg: any) { return [arg]; }
|
||||
|
||||
|
||||
export const ctor_arg = {};
|
||||
export const ctor_call = new AClass(ctor_arg);
|
||||
|
||||
|
||||
export const static_arg = {};
|
||||
export const static_call = AClass.create(static_arg);
|
||||
|
||||
|
||||
export const complex_arg = {};
|
||||
export const complex_call = AClass.create().call(complex_arg);
|
||||
|
||||
|
||||
export const simple_arg = {};
|
||||
export const simple_call = simple(simple_arg);
|
||||
`
|
||||
@ -598,7 +598,7 @@ describe('compiler (unbundled Angular)', () => {
|
||||
'app': {
|
||||
'main.ts': `
|
||||
import {ctor_call, static_call, complex_call, simple_call} from '../lib/base';
|
||||
|
||||
|
||||
export const calls = [ctor_call, static_call, complex_call, simple_call];
|
||||
`,
|
||||
}
|
||||
|
Reference in New Issue
Block a user