Skip to content

Commit

Permalink
Uplift of #12418 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-browser-releases committed Feb 28, 2022
1 parent 73a3ac0 commit 8eeb9f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/mac/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ action("sign_app") {
unsigned_app_path,
provisioning_profile,
"$packaging_dir/app-entitlements.plist",
"//brave/script/signing_helper.py",
]

outputs = [ signed_app_path ]
Expand Down
8 changes: 8 additions & 0 deletions script/signing_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ def distributions(self):
""" Brave distribution """
return [model.Distribution(channel=brave_channel)]

@property
def codesign_requirements_outer_app(self):
return 'designated => identifier "' + self.base_bundle_id + '"'

@property
def codesign_requirements_basic(self):
return 'and anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] /* exists / and certificate leaf[field.1.2.840.113635.100.6.1.13] / exists */'

config_class = ConfigNonChromeBranded

if mac_provisioning_profile is not None:
Expand Down

0 comments on commit 8eeb9f3

Please sign in to comment.