Skip to content

Commit

Permalink
[Windows] Remove header guard from generated key map (flutter#140082)
Browse files Browse the repository at this point in the history
The generated file is a `.cc` file that does not need header guards. This change updates the template that's used to generate that `.cc` file.

No tests as this is a refactoring with no semantic changes.

The generated `.cc` file in the engine will be updated by flutter/engine#48993
  • Loading branch information
loic-sharma authored Dec 13, 2023
1 parent 3c80cc7 commit 51e6070
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dev/tools/gen_keycodes/data/windows_flutter_key_map_cc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_KEY_MAP_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_KEY_MAP_H_

#include "flutter/shell/platform/windows/keyboard_key_embedder_handler.h"

#include <map>
Expand Down Expand Up @@ -40,5 +37,3 @@ std::map<uint64_t, uint64_t> KeyboardKeyEmbedderHandler::scanCodeToLogicalMap_ =
@@@MASK_CONSTANTS@@@

} // namespace flutter

#endif

0 comments on commit 51e6070

Please sign in to comment.