Skip to content

build: simplify jnilib copy#2214

Merged
snowp merged 2 commits intomainfrom
better-copy
Apr 26, 2022
Merged

build: simplify jnilib copy#2214
snowp merged 2 commits intomainfrom
better-copy

Conversation

@snowp
Copy link
Contributor

@snowp snowp commented Apr 26, 2022

The genrule doesn't work well with sandboxing on Linux since we're modifying files we're not supposed to touch:

chmod: changing permissions of 'bazel-out/aarch64-dbg/bin/loop/test/kt/io/envoyproxy/loop/logging/libloop_test_lib.so': Read-only file system

This simplifies the rule to just copy the .so into a .jnilib.

Signed-off-by: Snow Pettersen snowp@lyft.com

Risk Level: Low, build only
Testing: Existing tests
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Snow Pettersen <snowp@lyft.com>
@keith
Copy link
Member

keith commented Apr 26, 2022

i don't understand what this was trying to do before, but maybe we can use copy_file from skylib to simplify?

Signed-off-by: Snow Pettersen <snowp@lyft.com>
@snowp snowp merged commit 8f229d5 into main Apr 26, 2022
@snowp snowp deleted the better-copy branch April 26, 2022 21:17
jpsim added a commit that referenced this pull request Apr 26, 2022
* main:
  Add new version history section (#2209)
  build: simplify jnilib copy (#2214)

Signed-off-by: JP Simard <jp@jpsim.com>
jpsim added a commit that referenced this pull request May 3, 2022
…rtion

* origin/main: (57 commits)
  network: add enableDrainPostDnsRefresh to iOS (#2242)
  envoy: update to em-cherry (#2241)
  network: support draining connections after triggered DNS refresh (#2225)
  Bump rules_apple to 0.34.2 (#2236)
  Bump Lyft Support Rotation (#2232)
  ci: add support for `/retest` command (#2219)
  format: add SwiftLint to check-format script (#2230)
  use 64 bit emulators for test (#2228)
  envoy: update to `d0befbb` & add `h2ExtendKeepaliveTimeout` (#2229)
  Add Ryan Hamilton to OWNERS.md (#2224)
  Android cert verifier: first import from chromium/net (#2222)
  Cleanup: remove the unused stats sink metrics_service (#2220)
  bazel: move back to symbol mapping table files (#2218)
  Add new version history section (#2209)
  build: simplify jnilib copy (#2214)
  ci: Update macOS version to macOS 12 (#2208)
  Update releasing.rst (#2200)
  support: Post Lyft support rotation changes to Slack (#2207)
  Don't run bump_support_rotation GitHub Action on forks (#2204)
  Release 0.4.6 (#2201)
  ...

Signed-off-by: JP Simard <jp@jpsim.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants