1 /* 2 * Copyright 2019 Google LLC 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #include "modules/particles/include/SkParticleDrawable.h" 9 #include "modules/particles/include/SkParticleEffect.h" 10 #include "modules/particles/include/SkParticleSerialization.h" 11 #include "modules/particles/include/SkReflected.h" 12 13 // Doesn't do anything important; just exists to show we can use modules/particles without the GPU 14 // backend being available. main(int argc,char ** argv)15int main(int argc, char** argv) { 16 // Register types for serialization 17 REGISTER_REFLECTED(SkReflected); 18 SkParticleBinding::RegisterBindingTypes(); 19 SkParticleDrawable::RegisterDrawableTypes(); 20 return 0; 21 } 22