Skip to content

Commit

Permalink
Delete cwrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
kaidokert committed Sep 17, 2024
1 parent 6438fd0 commit 454b0eb
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 239 deletions.
1 change: 0 additions & 1 deletion cobalt/build/cobalt_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def GetTestTargets(self):
'csp_test',
'cssom_test',
'css_parser_test',
'cwrappers_test',
'dom_parser_test',
'dom_test',
# TODO(b/292127297): This target is not built for all platforms.
Expand Down
1 change: 0 additions & 1 deletion cobalt/css_parser/scanner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include "cobalt/cssom/media_type_names.h"
#include "cobalt/cssom/pseudo_class_names.h"
#include "cobalt/cssom/pseudo_element_names.h"
#include "starboard/client_porting/cwrappers/pow_wrapper.h"
#include "third_party/icu/source/common/unicode/unistr.h"

namespace cobalt {
Expand Down
2 changes: 0 additions & 2 deletions starboard/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ group("gn_all") {

deps = [
":default",
"//starboard/client_porting/cwrappers:cwrappers_test",
"//starboard/client_porting/eztime:eztime_test",
"//starboard/client_porting/icu_init",
"//starboard/examples/glclear:starboard_glclear_example",
Expand Down Expand Up @@ -108,7 +107,6 @@ group("starboard_group") {
deps = []
public_deps = [
":starboard_headers_only",
"//starboard/client_porting/cwrappers",
"//starboard/client_porting/eztime",
]

Expand Down
1 change: 0 additions & 1 deletion starboard/build/config/starboard_target_type.gni
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ template("starboard_platform_target") {
}
}
public_deps = [
"//starboard/client_porting/cwrappers",
"//starboard/common",
"//starboard/egl_and_gles",
]
Expand Down
1 change: 0 additions & 1 deletion starboard/build/platform_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def GetTestTargets(self):
# TODO(b/292007482): Replace static list with gn query.
return [
'common_test',
'cwrappers_test',
'eztime_test',
'nplb',
# TODO(b/292138589): Fails on various linux configs.
Expand Down
32 changes: 0 additions & 32 deletions starboard/client_porting/cwrappers/BUILD.gn

This file was deleted.

44 changes: 0 additions & 44 deletions starboard/client_porting/cwrappers/pow_wrapper.cc

This file was deleted.

36 changes: 0 additions & 36 deletions starboard/client_porting/cwrappers/pow_wrapper.h

This file was deleted.

46 changes: 0 additions & 46 deletions starboard/client_porting/cwrappers/pow_wrapper_test.cc

This file was deleted.

45 changes: 0 additions & 45 deletions starboard/extension/cwrappers.h

This file was deleted.

21 changes: 0 additions & 21 deletions starboard/extension/extension_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "starboard/extension/accessibility.h"
#include "starboard/extension/configuration.h"
#include "starboard/extension/crash_handler.h"
#include "starboard/extension/cwrappers.h"
#include "starboard/extension/enhanced_audio.h"
#include "starboard/extension/font.h"
#include "starboard/extension/free_space.h"
Expand Down Expand Up @@ -249,26 +248,6 @@ TEST(ExtensionTest, CrashHandler) {
<< "Extension struct should be a singleton";
}

TEST(ExtensionTest, CWrappers) {
typedef CobaltExtensionCWrappersApi ExtensionApi;
const char* kExtensionName = kCobaltExtensionCWrappersName;

const ExtensionApi* extension_api =
static_cast<const ExtensionApi*>(SbSystemGetExtension(kExtensionName));
if (!extension_api) {
return;
}

EXPECT_STREQ(extension_api->name, kExtensionName);
EXPECT_EQ(extension_api->version, 1u);
EXPECT_NE(extension_api->PowWrapper, nullptr);

const ExtensionApi* second_extension_api =
static_cast<const ExtensionApi*>(SbSystemGetExtension(kExtensionName));
EXPECT_EQ(second_extension_api, extension_api)
<< "Extension struct should be a singleton";
}

TEST(ExtensionTest, Font) {
typedef CobaltExtensionFontApi ExtensionApi;
const char* kExtensionName = kCobaltExtensionFontName;
Expand Down
3 changes: 0 additions & 3 deletions third_party/icu/source/i18n/plurrule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
* File plurrule.cpp
*/

#if defined(STARBOARD)
#include "starboard/client_porting/cwrappers/pow_wrapper.h"
#endif // defined(STARBOARD)
#include <math.h>
#include <stdio.h>

Expand Down
2 changes: 0 additions & 2 deletions third_party/libwebp/src/enc/picture_csp_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
//
// Author: Skal ([email protected])

#include "starboard/client_porting/cwrappers/pow_wrapper.h"

#include <assert.h>
#include <stdlib.h>
#include <math.h>
Expand Down
2 changes: 0 additions & 2 deletions third_party/libwebp/src/enc/quant_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
//
// Author: Skal ([email protected])

#include "starboard/client_porting/cwrappers/pow_wrapper.h"

#include <assert.h>
#include <math.h>
#include <stdlib.h> // for abs()
Expand Down
2 changes: 0 additions & 2 deletions third_party/libxml/src/xpath.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@

#include "buf.h"

#include "starboard/client_porting/cwrappers/pow_wrapper.h"

#ifdef LIBXML_PATTERN_ENABLED
#define XPATH_STREAMING
#endif
Expand Down

0 comments on commit 454b0eb

Please sign in to comment.