This repository has been archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update oss loom to better reflect fbsource
Reviewed By: BurntBrunch Differential Revision: D7212531 fbshipit-source-id: a6355ddb9246fd4efa57e2f8eaab530fa6ce4cd8
- Loading branch information
1 parent
3f41c6f
commit c096a71
Showing
41 changed files
with
595 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_android_library") | ||
|
||
if not THIS_IS_FBANDROID: | ||
android_library( | ||
name = "os", | ||
srcs = [ | ||
"ReflectionHelper.java", | ||
"android/os/SystemPropertiesInternal.java", | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
deps = [ | ||
"//deps/jsr-305:jsr-305", | ||
], | ||
) | ||
profilo_oss_android_library( | ||
name = "os", | ||
srcs = [ | ||
"ReflectionHelper.java", | ||
"android/os/SystemPropertiesInternal.java", | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
deps = [ | ||
"//deps/jsr-305:jsr-305", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_cxx_library") | ||
|
||
if not THIS_IS_FBANDROID: | ||
cxx_library( | ||
name = "atomic", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) | ||
profilo_oss_cxx_library( | ||
name = "atomic", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
load("//build_defs:fb_java_library.bzl", "fb_java_library") | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_java_library") | ||
|
||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
|
||
if not THIS_IS_FBANDROID: | ||
fb_java_library( | ||
name = "buildconstants", | ||
srcs = [ | ||
"BuildConstants.java", | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) | ||
profilo_oss_java_library( | ||
name = "buildconstants", | ||
srcs = [ | ||
"BuildConstants.java", | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_cxx_library") | ||
|
||
if not THIS_IS_FBANDROID: | ||
cxx_library( | ||
name = "cjni", | ||
header_namespace = "cjni", | ||
exported_headers = glob(["*.h"]), | ||
srcs = glob(["*.c"]), | ||
preferred_linkage = "static", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) | ||
profilo_oss_cxx_library( | ||
name = "cjni", | ||
srcs = glob(["*.c"]), | ||
header_namespace = "cjni", | ||
exported_headers = glob(["*.h"]), | ||
preferred_linkage = "static", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
load("//buck_imports:profilo_path.bzl", "profilo_path") | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_cxx_library") | ||
|
||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
|
||
if not THIS_IS_FBANDROID: | ||
cxx_library( | ||
name = "cppdistract", | ||
srcs = [ | ||
"dso.cpp", | ||
], | ||
exported_headers = [ | ||
"dso.h", | ||
], | ||
header_namespace = "cppdistract", | ||
preferred_linkage = "static", | ||
visibility = [ | ||
profilo_path("..."), | ||
], | ||
) | ||
profilo_oss_cxx_library( | ||
name = "cppdistract", | ||
srcs = [ | ||
"dso.cpp", | ||
], | ||
header_namespace = "cppdistract", | ||
exported_headers = [ | ||
"dso.h", | ||
], | ||
preferred_linkage = "static", | ||
visibility = [ | ||
profilo_path("..."), | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_cxx_library") | ||
|
||
if not THIS_IS_FBANDROID: | ||
cxx_library( | ||
name = "dalvik-subset", | ||
header_namespace = "dalvik-subset", | ||
exported_headers = [ | ||
"internals.h", | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) | ||
profilo_oss_cxx_library( | ||
name = "dalvik-subset", | ||
header_namespace = "dalvik-subset", | ||
exported_headers = [ | ||
"internals.h", | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
load("//buck_imports:profilo_path.bzl", "profilo_path") | ||
load("//build_defs:profilo_oss_defs.bzl", "profilo_oss_cxx_library") | ||
|
||
include_defs("//build_defs/fb_xplat_cxx.bzl") # THIS_IS_FBANDROID | ||
|
||
if not THIS_IS_FBANDROID: | ||
cxx_library( | ||
name = "fb", | ||
exported_headers = glob([ | ||
"**/*.h", | ||
]), | ||
header_namespace = "fb", | ||
compiler_flags = [ | ||
"-fexceptions", | ||
], | ||
linker_flags = [ | ||
"-llog", | ||
], | ||
preprocessor_flags = [ | ||
"-DDISABLE_CPUCAP", | ||
"-DDISABLE_XPLAT", | ||
], | ||
srcs = glob([ | ||
profilo_oss_cxx_library( | ||
name = "fb", | ||
srcs = glob( | ||
[ | ||
"**/*.cpp", | ||
], | ||
excludes = [ | ||
"jni/android/*.cpp", | ||
]), | ||
soname = "libfb.$(ext)", | ||
deps = [ | ||
profilo_path("deps/fbjni:fbjni"), | ||
], | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
) | ||
), | ||
header_namespace = "fb", | ||
exported_headers = glob([ | ||
"**/*.h", | ||
]), | ||
compiler_flags = [ | ||
"-fexceptions", | ||
], | ||
linker_flags = [ | ||
"-llog", | ||
], | ||
preprocessor_flags = [ | ||
"-DDISABLE_CPUCAP", | ||
"-DDISABLE_XPLAT", | ||
], | ||
soname = "libfb.$(ext)", | ||
visibility = [ | ||
"PUBLIC", | ||
], | ||
deps = [ | ||
profilo_path("deps/fbjni:fbjni"), | ||
], | ||
) |
Oops, something went wrong.