Skip to content

Commit

Permalink
BUILD.gn: fix build error on is_component_build=true (google#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kangz authored and fjhenigman committed Jan 22, 2019
1 parent 2dc76ac commit cabee68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BUILD.gn
Expand Up @@ -59,7 +59,7 @@ source_set("shaderc_util_sources") {
config("shaderc_public") {
include_dirs = [ "libshaderc/include" ]
if (is_component_build) {
defines += [ "SHADERC_SHAREDLIB" ]
defines = [ "SHADERC_SHAREDLIB" ]
}
}

Expand Down Expand Up @@ -92,7 +92,7 @@ component("libshaderc") {
config("shaderc_spvc_public") {
include_dirs = [ "libshaderc_spvc/include" ]
if (is_component_build) {
defines += [ "SHADERC_SHAREDLIB" ]
defines = [ "SHADERC_SHAREDLIB" ]
}
}

Expand Down

0 comments on commit cabee68

Please sign in to comment.