Skip to content

Add BUILD.gn rules.#485

Merged
antiagainst merged 2 commits intogoogle:masterfrom
dj2:gn_build
Sep 26, 2018
Merged

Add BUILD.gn rules.#485
antiagainst merged 2 commits intogoogle:masterfrom
dj2:gn_build

Conversation

@dj2
Copy link
Copy Markdown
Contributor

@dj2 dj2 commented Sep 24, 2018

This CL adds the necessary build configuration to allow building
shaderc within a Chromium checkout.

This CL adds the necessary build configuration to allow building
shaderc within a Chromium checkout.
@dj2 dj2 requested a review from antiagainst September 24, 2018 20:38
@dj2
Copy link
Copy Markdown
Contributor Author

dj2 commented Sep 24, 2018

@Kangz to verify by BUILD.gn is right-ish. I was able to successfully do a build of libshaderc from within the Chromium tree with this and the glslang BUILD.gn file.

BUILD.gn Outdated
}
}

shared_library("libshaderc") {
Copy link
Copy Markdown
Collaborator

@Kangz Kangz Sep 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that for Chrome we would like to have a dual source_set and shared_library model. See libdawn_native here: https://dawn.googlesource.com/dawn/+/master/BUILD.gn#313

This would help put shaderc in a component in Chrome. It would require splitting shaderc_public in two.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Kangz
Copy link
Copy Markdown
Collaborator

Kangz commented Sep 25, 2018

Still LGTM!

@dj2
Copy link
Copy Markdown
Contributor Author

dj2 commented Sep 25, 2018

@antiagainst ping, are you the right person to review this?

@dj2 dj2 requested a review from dneto0 September 25, 2018 21:19
@antiagainst antiagainst merged commit 0165db5 into google:master Sep 26, 2018
@dj2 dj2 deleted the gn_build branch October 24, 2018 17:38
stenzek added a commit to stenzek/shaderc that referenced this pull request Apr 6, 2025
…7798

0e71067798 Fix json capabilities for RayTracingOpacityMicromapEXT (google#498)
eceb46dad7 fixes for SPV_INTEL_arbitrary_precision_floating_point (google#495)
0fcd749320 Add grammar entries for SPV_INTEL_task_sequence (google#494)
06633cfeec Add headers for SPV_INTEL_tensor_float32_conversion extension (google#501)
d5ee9ed2bb Add SPV_KHR_bfloat16 (google#502)
ddd2c099be Update Slang tool entry. (google#496)
bf08186d8b ClspvReflection non-sematic: Add WorkgroupVariableSize (google#493)
4793aeec29 remove extra arbitrary precision fixed point instructions operands (google#491)
54a521dd13 Register tool ID 47 for a new ARM SPIR-V generator. (google#486)
6be51b8f7d updates AtomicStorageOps to depend on the AtomicStorage capability (google#479)
09913f088a Remove extra space causing rendering issue (google#485)

git-subtree-dir: third_party/spirv-headers
git-subtree-split: 0e710677989b4326ac974fd80c5308191ed80965
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants