Skip to content

Commit

Permalink
Add build directory to source control.
Browse files Browse the repository at this point in the history
  • Loading branch information
pandaninjas committed Sep 26, 2023
1 parent 54b890e commit df927d3
Show file tree
Hide file tree
Showing 8 changed files with 893 additions and 3 deletions.
1 change: 1 addition & 0 deletions chromium_bindings/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.gradle
build/
!chromium/build
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
Expand Down
5 changes: 2 additions & 3 deletions chromium_bindings/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.apache.tools.ant.taskdefs.condition.Os
import org.jetbrains.kotlin.gradle.plugin.mpp.pm20.util.archivesName
import java.util.*

plugins {
`cpp-library`
Expand Down Expand Up @@ -31,11 +30,11 @@ project.afterEvaluate {
compilerArgs.add("-I")
compilerArgs.add(includeDir.get().resolve("win32").absolutePath)
compilerArgs.add("-I")
compilerArgs.add(project.projectDir.resolve("chromium").absolutePath)
compilerArgs.add(project.projectDir.resolve("chromium/").absolutePath)
compilerArgs.add("-I")
compilerArgs.add(project.projectDir.resolve("chromium/third_party/abseil-cpp/").absolutePath)
compilerArgs.add("-I")
compilerArgs.add(project.projectDir.resolve("chromium/third_party/googletest/src/googletest/include").absolutePath)
compilerArgs.add(project.projectDir.resolve("chromium/third_party/googletest/src/googletest/include/").absolutePath)
compilerArgs.add("-std=c++20")
compilerArgs.add("-fsanitize=address,undefined") // i do not trust my c++ skills
}
Expand Down
11 changes: 11 additions & 0 deletions chromium_bindings/chromium/build/blink_buildflags.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Generated by build/write_buildflag_header.py
// From "//build:blink_buildflags"

#ifndef BUILD_BLINK_BUILDFLAGS_H_
#define BUILD_BLINK_BUILDFLAGS_H_

#include "build/buildflag.h" // IWYU pragma: export

#define BUILDFLAG_INTERNAL_USE_BLINK() (1)

#endif // BUILD_BLINK_BUILDFLAGS_H_
Loading

0 comments on commit df927d3

Please sign in to comment.