Skip to content

Commit

Permalink
Merge branch 'main' into h5vcc_system_review
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Liang committed Jan 28, 2025
2 parents 3e7108b + f892997 commit 520fa61
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/config/ozone_extra.gni
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ozone_external_platform_ui_test_support_deps = []
# interactive_ui_tests.
ozone_external_interactive_ui_tests_deps = []

if (defined(is_starboard) && is_starboard) {
if (is_starboard) {
ozone_external_platforms += ["starboard"]
ozone_external_platform_deps += ["platform/starboard"]
ozone_external_platform_test_deps += ["platform/starboard:starboard_unittests"]
Expand Down
4 changes: 4 additions & 0 deletions cobalt/build/configs/cobalt.gni
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ declare_args() {
is_cobalt = false
cobalt_is_release_build = false
}

declare_args() {
is_starboard = is_cobalt && target_os != "android"
}
2 changes: 0 additions & 2 deletions cobalt/build/configs/initialize_variables.gni
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ declare_args() {

build_type = "devel"

is_starboard = target_os != "android"

# Used to guard any customizations to Chromium or third-party code for builds
# where the Starboard porting layer is not used.
is_native_target_build = false
Expand Down
2 changes: 1 addition & 1 deletion mojo/core/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ source_set("run_all_unittests") {
"//testing/gtest",
]

if (defined(is_starboard) && is_starboard) {
if (is_starboard) {
# Replace the standard runner with the starboard test runner.
sources -= [ "run_all_unittests.cc" ]
sources += [ "//starboard/testing/run_all_unittests_starboard.cc" ]
Expand Down
1 change: 0 additions & 1 deletion starboard/android/arm/toolchain/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ gcc_toolchain("native_target") {
nm = "nm"

toolchain_args = {
is_starboard = false
is_native_target_build = true
is_clang = true
}
Expand Down
1 change: 0 additions & 1 deletion starboard/android/arm64/toolchain/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ gcc_toolchain("native_target") {
nm = "nm"

toolchain_args = {
is_starboard = false
is_native_target_build = true
is_clang = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ INSTANTIATE_TEST_SUITE_P(
ImplementationTypes,
SurfaceFactoryStarboardSupportTest,
testing::Values(std::make_tuple(gl::kGLImplementationNone, false),
std::make_tuple(gl::kGLImplementationEGLGLES2, true),
std::make_tuple(gl::kGLImplementationEGLGLES2, false),
std::make_tuple(gl::kGLImplementationMockGL, false),
std::make_tuple(gl::kGLImplementationStubGL, false),
std::make_tuple(gl::kGLImplementationDisabled, false),
std::make_tuple(gl::kGLImplementationEGLANGLE, false)),
std::make_tuple(gl::kGLImplementationEGLANGLE, true)),
[](const testing::TestParamInfo<
SurfaceFactoryStarboardSupportTest::ParamType>& info) {
return kGLImplementationToString.at(testing::get<0>(info.param));
Expand Down

0 comments on commit 520fa61

Please sign in to comment.